Enabled checking of note boundaries for noteOn events.

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

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

Loading…
Cancel
Save