Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubionotes.c

    rce6186a rc34336e  
    5252
    5353  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);
    5555  if(median){
    5656    note_append(note_buffer, new_pitch);
     
    5959  /* curlevel is negatif or 1 if silence */
    6060  smpl_t curlevel = aubio_level_detection(ibuf, silence_threshold);
    61   if (fvec_read_sample(onset, 0)) {
     61  if (fvec_get_sample(onset, 0)) {
    6262    /* test for silence */
    6363    if (curlevel == 1.) {
Note: See TracChangeset for help on using the changeset viewer.