From 1f6a9f84fbe06965c588944d1e1de17544c2f923 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 18 Dec 2016 11:28:17 +0100 Subject: [PATCH] src/notes/notes.c: fix get_minioi_ms --- src/notes/notes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notes/notes.c b/src/notes/notes.c index 488abba1..f6b7d567 100644 --- a/src/notes/notes.c +++ b/src/notes/notes.c @@ -136,7 +136,7 @@ uint_t aubio_notes_set_minioi_ms (aubio_notes_t *o, smpl_t minioi_ms) smpl_t aubio_notes_get_minioi_ms(const aubio_notes_t *o) { - return aubio_pitch_get_silence(o->pitch); + return aubio_onset_get_minioi_ms(o->onset); } /** append new note candidate to the note_buffer and return filtered value. we -- 2.11.0