Mercurial > hg > vamp-aubio-plugins
diff plugins/Notes.cpp @ 35:bcb23bb4b7aa
Get the rest to build
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 10 Jul 2012 17:20:10 +0100 |
parents | 0f40399ca1ff |
children | 5c5deb8393b9 |
line wrap: on
line diff
--- a/plugins/Notes.cpp Tue Jul 10 15:21:35 2012 +0100 +++ b/plugins/Notes.cpp Tue Jul 10 17:20:10 2012 +0100 @@ -121,7 +121,7 @@ stepSize, lrintf(m_inputSampleRate)); - aubio_pitch_set_unit(m_pitchdet, "freq"); + aubio_pitch_set_unit(m_pitchdet, const_cast<char *>("freq")); m_count = 0; m_delay = Vamp::RealTime::frame2RealTime((4 + m_median) * m_stepSize, @@ -193,7 +193,7 @@ desc.name = "Minimum Pitch"; desc.minValue = 0; desc.maxValue = 127; - desc.defaultValue = 32; + desc.defaultValue = 27; desc.unit = "MIDI units"; desc.isQuantized = true; desc.quantizeStep = 1;