|
|
|
@ -932,6 +932,9 @@ void loop() |
|
|
|
|
******************************************************************************/ |
|
|
|
|
void handleNoteOn(byte inChannel, byte inNumber, byte inVelocity) |
|
|
|
|
{ |
|
|
|
|
//
|
|
|
|
|
// Drum Sampler
|
|
|
|
|
//
|
|
|
|
|
#if NUM_DRUMS > 0 |
|
|
|
|
if (activesample < 6 && seq.seq_running == false && LCDML.FUNC_getID() == LCDML.OTHER_getIDFromFunction(UI_func_seq_pattern_editor) ) // live play pitched sample
|
|
|
|
|
{ |
|
|
|
@ -1054,12 +1057,15 @@ void handleNoteOn(byte inChannel, byte inNumber, byte inVelocity) |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// E-Piano
|
|
|
|
|
//
|
|
|
|
|
#if defined(USE_EPIANO) |
|
|
|
|
if (configuration.epiano.midi_channel == MIDI_CHANNEL_OMNI || configuration.epiano.midi_channel == inChannel) |
|
|
|
|
{ |
|
|
|
|
if (inNumber >= configuration.epiano.lowest_note && inNumber <= configuration.epiano.highest_note) |
|
|
|
|
{ |
|
|
|
|
ep.noteOn(inNumber + configuration.epiano.transpose - 12, inVelocity); |
|
|
|
|
ep.noteOn(inNumber + configuration.epiano.transpose, inVelocity); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
char note_name[4]; |
|
|
|
|
getNoteName(note_name, inNumber); |
|
|
|
|