Midi: added MidiDefaultVelocity to be used for test notes etc.

This commit is contained in:
Tobias Doerffel
2014-03-08 13:22:51 +01:00
parent b01f093e37
commit 56ee27ed9b
6 changed files with 10 additions and 9 deletions

View File

@@ -1103,7 +1103,7 @@ void sfxrInstrumentView::previewSound()
sfxrInstrument* s = castModel<sfxrInstrument>();
InstrumentTrack* it = s->instrumentTrack();
it->silenceAllNotes();
it->processInEvent( MidiEvent( MidiNoteOn, 0, it->baseNoteModel()->value(), MidiMaxVelocity ) );
it->processInEvent( MidiEvent( MidiNoteOn, 0, it->baseNoteModel()->value(), MidiDefaultVelocity ) );
}