ref: 5a2a6c66beda0cf64fb687834118e78ed268c1b6
parent: 69bc17142fe12970db05d79150206e227325558f
author: Paul Brossier <piem@piem.org>
date: Sun Aug 24 02:52:23 EDT 2014
src/pitch/pitch.c: add Hertz as valid unit string
--- a/src/pitch/pitch.c
+++ b/src/pitch/pitch.c
@@ -238,6 +238,8 @@
pitch_mode = aubio_pitchm_freq;
else if (strcmp (pitch_unit, "hertz") == 0)
pitch_mode = aubio_pitchm_freq;
+ else if (strcmp (pitch_unit, "Hertz") == 0)
+ pitch_mode = aubio_pitchm_freq;
else if (strcmp (pitch_unit, "Hz") == 0)
pitch_mode = aubio_pitchm_freq;
else if (strcmp (pitch_unit, "f0") == 0)