[][src]Function aubio_sys::aubio_notes_do

pub unsafe extern "C" fn aubio_notes_do(
    o: *mut aubio_notes_t,
    input: *const fvec_t,
    output: *mut fvec_t
)

execute note detection on an input signal frame

\param o note detection object as returned by new_aubio_notes() \param input input signal of size [hop_size] \param output output notes, fvec of length 3

The notes output is a vector of length 3 containing:

    1. the midi note value, or 0 if no note was found
    1. the note velocity
    1. the midi note to turn off