uint_t isready;
};
-aubio_notes_t * new_aubio_notes (const char_t * notes_method,
+aubio_notes_t * new_aubio_notes (const char_t * method,
uint_t buf_size, uint_t hop_size, uint_t samplerate) {
aubio_notes_t *o = AUBIO_NEW(aubio_notes_t);
if (o->pitch_tolerance != 0.) aubio_pitch_set_tolerance (o->pitch, o->pitch_tolerance);
o->pitch_output = new_fvec (1);
- if (strcmp(notes_method, "default") != 0) {
+ if (strcmp(method, "default") != 0) {
AUBIO_ERR("unknown notes detection method %s, using default.\n",
- notes_method);
+ method);
goto fail;
}
o->note_buffer = new_fvec(o->median);
\return newly created ::aubio_notes_t
*/
-aubio_notes_t * new_aubio_notes (const char_t * notes_method,
+aubio_notes_t * new_aubio_notes (const char_t * method,
uint_t buf_size, uint_t hop_size, uint_t samplerate);
/** delete notes detection object
\param out output notes of size [3] ? FIXME
*/
-void aubio_notes_do (aubio_notes_t *o, const fvec_t *input, fvec_t *output);
+void aubio_notes_do (aubio_notes_t *o, const fvec_t * input, fvec_t * output);
#ifdef __cplusplus
}