Changeset 61316a6 for examples/utils.c


Ignore:
Timestamp:
Oct 8, 2009, 8:54:49 PM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
3027c6e
Parents:
05773a2c
Message:

examples plugins: update to latest pitch prototypes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    r05773a2c r61316a6  
    6262fvec_t *ibuf;
    6363fvec_t *obuf;
     64fvec_t *pitch_obuf;
    6465cvec_t *fftgrain;
    6566fvec_t *woodblock;
     
    319320    pitchdet = new_aubio_pitchdetection (buffer_size * 4,
    320321        overlap_size, channels, samplerate, type_pitch, mode_pitch);
    321     aubio_pitchdetection_set_yinthresh (pitchdet, 0.7);
     322    aubio_pitchdetection_set_tolerance (pitchdet, 0.7);
     323    pitch_obuf = new_fvec (1, channels);
    322324
    323325    if (median) {
     
    350352      del_fvec (note_buffer2);
    351353    }
     354    del_fvec (pitch_obuf);
    352355  }
    353356  if (usedoubled) {
Note: See TracChangeset for help on using the changeset viewer.