InstrumentTrack: fixed range for pitch model

This commit is contained in:
Tobias Doerffel
2014-01-26 14:22:41 +01:00
parent a5588d2f75
commit 20700b1c71

View File

@@ -543,7 +543,7 @@ void InstrumentTrack::updatePitch()
void InstrumentTrack::updatePitchRange()
{
const int r = m_pitchRangeModel.value();
m_pitchModel.setRange( -MinPitchDefault * r, MaxPitchDefault * r );
m_pitchModel.setRange( MinPitchDefault * r, MaxPitchDefault * r );
processOutEvent( MidiEvent( MidiControlChange, midiPort()->realOutputChannel(),
MidiControllerRegisteredParameterNumberLSB, MidiPitchBendSensitivityRPN & 0x7F ) );