Enabled checking of note boundaries for noteOn events.

pull/32/head
Holger Wirtz 5 years ago
parent 0e03e41f2a
commit 6e2c62bbfd
  1. 1
      MicroDexed.ino

@ -650,6 +650,7 @@ void handleNoteOn(byte inChannel, byte inNumber, byte inVelocity)
{ {
if (checkMidiChannel(inChannel, instance_id)) if (checkMidiChannel(inChannel, instance_id))
{ {
if (inNumber >= configuration.dexed[instance_id].note_start && inNumber <= configuration.dexed[instance_id].note_end)
MicroDexed[instance_id]->keydown(inNumber, inVelocity); MicroDexed[instance_id]->keydown(inNumber, inVelocity);
} }
} }

Loading…
Cancel
Save