mirror of
https://github.com/thestk/stk
synced 2026-01-15 22:11:52 +00:00
Version 4.4.4
This commit is contained in:
committed by
Stephen Sinclair
parent
0aec39260a
commit
fc877b87bf
@@ -80,11 +80,11 @@ void processMessage( TickData* data )
|
||||
return;
|
||||
|
||||
case __SK_NoteOn_:
|
||||
if ( value2 == 0.0 ) // velocity is zero ... really a NoteOff
|
||||
data->voicer->noteOff( value1, 64.0 );
|
||||
else // a NoteOn
|
||||
if ( value2 > 0.0 ) { // velocity > 0
|
||||
data->voicer->noteOn( value1, value2 );
|
||||
break;
|
||||
break;
|
||||
}
|
||||
// else a note off, so continue to next case
|
||||
|
||||
case __SK_NoteOff_:
|
||||
data->voicer->noteOff( value1, value2 );
|
||||
|
||||
Reference in New Issue
Block a user