From: Paul Brossier Date: Sun, 18 Dec 2016 10:28:17 +0000 (+0100) Subject: src/notes/notes.c: fix get_minioi_ms X-Git-Tag: 0.4.4~30 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=1f6a9f84fbe06965c588944d1e1de17544c2f923;p=aubio.git src/notes/notes.c: fix get_minioi_ms --- 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