Changeset 5a2a6c6 for src/pitch


Ignore:
Timestamp:
Aug 24, 2014, 1:52:23 PM (10 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:
28c066e
Parents:
69bc171
Message:

src/pitch/pitch.c: add Hertz as valid unit string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitch/pitch.c

    r69bc171 r5a2a6c6  
    239239  else if (strcmp (pitch_unit, "hertz") == 0)
    240240    pitch_mode = aubio_pitchm_freq;
     241  else if (strcmp (pitch_unit, "Hertz") == 0)
     242    pitch_mode = aubio_pitchm_freq;
    241243  else if (strcmp (pitch_unit, "Hz") == 0)
    242244    pitch_mode = aubio_pitchm_freq;
Note: See TracChangeset for help on using the changeset viewer.