Changes in examples/aubionotes.c [ce6186a:c34336e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubionotes.c
rce6186a rc34336e 52 52 53 53 aubio_pitch_do (pitch, ibuf, pitch_obuf); 54 smpl_t new_pitch = fvec_ read_sample(pitch_obuf, 0);54 smpl_t new_pitch = fvec_get_sample(pitch_obuf, 0); 55 55 if(median){ 56 56 note_append(note_buffer, new_pitch); … … 59 59 /* curlevel is negatif or 1 if silence */ 60 60 smpl_t curlevel = aubio_level_detection(ibuf, silence_threshold); 61 if (fvec_ read_sample(onset, 0)) {61 if (fvec_get_sample(onset, 0)) { 62 62 /* test for silence */ 63 63 if (curlevel == 1.) {
Note: See TracChangeset
for help on using the changeset viewer.