Changeset 134cd3a for examples


Ignore:
Timestamp:
Dec 7, 2013, 5:27:45 PM (11 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:
912f343
Parents:
8a22fc4
Message:

examples/aubiopitch.c: add pitch_unit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubiopitch.c

    r8a22fc4 r134cd3a  
    5555  verbmsg ("using source: %s at %dHz\n", source_uri, samplerate);
    5656  verbmsg ("pitch method: %s, ", pitch_method);
     57  verbmsg ("pitch unit: %s, ", pitch_unit);
    5758  verbmsg ("buffer_size: %d, ", buffer_size);
    5859  verbmsg ("hop_size: %d, ", hop_size);
     
    6162  o = new_aubio_pitch (pitch_method, buffer_size, hop_size, samplerate);
    6263  if (pitch_tolerance != 0.) aubio_pitch_set_tolerance (o, pitch_tolerance);
     64  if (pitch_unit != NULL) aubio_pitch_set_unit (o, pitch_unit);
    6365  pitch = new_fvec (1);
    6466
Note: See TracChangeset for help on using the changeset viewer.