comparison 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
comparison
equal deleted inserted replaced
34:0f40399ca1ff 35:bcb23bb4b7aa
119 (const_cast<char *>(getAubioNameForPitchType(m_pitchtype)), 119 (const_cast<char *>(getAubioNameForPitchType(m_pitchtype)),
120 blockSize, 120 blockSize,
121 stepSize, 121 stepSize,
122 lrintf(m_inputSampleRate)); 122 lrintf(m_inputSampleRate));
123 123
124 aubio_pitch_set_unit(m_pitchdet, "freq"); 124 aubio_pitch_set_unit(m_pitchdet, const_cast<char *>("freq"));
125 125
126 m_count = 0; 126 m_count = 0;
127 m_delay = Vamp::RealTime::frame2RealTime((4 + m_median) * m_stepSize, 127 m_delay = Vamp::RealTime::frame2RealTime((4 + m_median) * m_stepSize,
128 lrintf(m_inputSampleRate)); 128 lrintf(m_inputSampleRate));
129 m_currentOnset = Vamp::RealTime::zeroTime; 129 m_currentOnset = Vamp::RealTime::zeroTime;
191 desc = ParameterDescriptor(); 191 desc = ParameterDescriptor();
192 desc.identifier = "minpitch"; 192 desc.identifier = "minpitch";
193 desc.name = "Minimum Pitch"; 193 desc.name = "Minimum Pitch";
194 desc.minValue = 0; 194 desc.minValue = 0;
195 desc.maxValue = 127; 195 desc.maxValue = 127;
196 desc.defaultValue = 32; 196 desc.defaultValue = 27;
197 desc.unit = "MIDI units"; 197 desc.unit = "MIDI units";
198 desc.isQuantized = true; 198 desc.isQuantized = true;
199 desc.quantizeStep = 1; 199 desc.quantizeStep = 1;
200 list.push_back(desc); 200 list.push_back(desc);
201 201