Changeset edca23f for examples


Ignore:
Timestamp:
May 22, 2005, 12:40:37 PM (19 years ago)
Author:
Paul Brossier <piem@altern.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:
9cf2833
Parents:
0b530cb
Message:

add aubio_ to pitch detection modes
add aubio_ to pitch detection modes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    r0b530cb redca23f  
    5959smpl_t pitch               = 0.;
    6060aubio_pitchdetection_t * pitchdet;
    61 aubio_pitchdetection_type mode = yin; // mcomb
     61aubio_pitchdetection_type mode = aubio_yin; // aubio_mcomb
    6262uint_t median         = 6;
    6363
     
    218218
    219219  if (usepitch) {
    220     pitchdet = new_aubio_pitchdetection(buffer_size*4, overlap_size, channels, samplerate, mode, freq);
     220    pitchdet = new_aubio_pitchdetection(buffer_size*4,
     221                    overlap_size, channels, samplerate, mode, aubio_freq);
    221222 
    222223  if (median) {
Note: See TracChangeset for help on using the changeset viewer.