|
|
|
@ -768,6 +768,9 @@ void loop() |
|
|
|
|
******************************************************************************/ |
|
|
|
|
void handleNoteOn(byte inChannel, byte inNumber, byte inVelocity) |
|
|
|
|
{ |
|
|
|
|
//Ignore the note when playing & recording the same note into the sequencer
|
|
|
|
|
if (seq_recording == false || (seq_recording && inNumber != seq_note_in )) |
|
|
|
|
{ |
|
|
|
|
// Check for MicroDexed
|
|
|
|
|
for (uint8_t instance_id = 0; instance_id < NUM_DEXED; instance_id++) |
|
|
|
|
{ |
|
|
|
@ -817,7 +820,6 @@ void handleNoteOn(byte inChannel, byte inNumber, byte inVelocity) |
|
|
|
|
Serial.print(F("]: ")); |
|
|
|
|
Serial.println(note_name); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
for (uint8_t d = 0; d < NUM_DRUMSET_CONFIG; d++) |
|
|
|
|
{ |
|
|
|
|
if (inNumber == drum_config[d].midinote) |
|
|
|
@ -854,6 +856,7 @@ void handleNoteOn(byte inChannel, byte inNumber, byte inVelocity) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#if NUM_DRUMS > 0 |
|
|
|
|