MIDI - Don't apply base velocity to all controller values. (#3678)

This commit is contained in:
Oskar Wallgren
2017-07-07 00:15:59 +02:00
committed by GitHub
parent c6c67b3c75
commit d65e1a361a

View File

@@ -129,11 +129,11 @@ void MidiPort::processInEvent( const MidiEvent& event, const MidiTime& time )
{
return;
}
}
if( fixedInputVelocity() >= 0 && inEvent.velocity() > 0 )
{
inEvent.setVelocity( fixedInputVelocity() );
if( fixedInputVelocity() >= 0 && inEvent.velocity() > 0 )
{
inEvent.setVelocity( fixedInputVelocity() );
}
}
m_midiEventProcessor->processInEvent( inEvent, time );