|
|
|
@ -249,19 +249,13 @@ AudioConnection patchCord[] = { |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if defined(USE_EPIANO) |
|
|
|
|
//{ep, 0, ep_stereo_panorama , 0},
|
|
|
|
|
//{ep, 1, ep_stereo_panorama , 1},
|
|
|
|
|
{ep, 0, ep_stereo_panorama , 0}, |
|
|
|
|
{ep, 1, ep_stereo_panorama , 1}, |
|
|
|
|
#if defined(USE_FX) |
|
|
|
|
//{ep_stereo_panorama, 0, ep_chorus_mixer_r, 0},
|
|
|
|
|
//{ep_stereo_panorama, 1, ep_chorus_mixer_l, 0},
|
|
|
|
|
//{ep_stereo_panorama, 0, ep_modchorus_r, 0},
|
|
|
|
|
//{ep_stereo_panorama, 1, ep_modchorus_l, 0},
|
|
|
|
|
{ep, 0, ep_chorus_mixer_r, 0}, |
|
|
|
|
{ep, 1, ep_chorus_mixer_l, 0}, |
|
|
|
|
{ep, 0, ep_modchorus_r, 0}, |
|
|
|
|
{ep, 1, ep_modchorus_l, 0}, |
|
|
|
|
{ep_stereo_panorama, 0, ep_chorus_mixer_r, 0}, |
|
|
|
|
{ep_stereo_panorama, 1, ep_chorus_mixer_l, 0}, |
|
|
|
|
{ep_stereo_panorama, 0, ep_modchorus_r, 0}, |
|
|
|
|
{ep_stereo_panorama, 1, ep_modchorus_l, 0}, |
|
|
|
|
#if MOD_FILTER_OUTPUT != MOD_NO_FILTER_OUTPUT |
|
|
|
|
{ep_chorus_modulator, 0, ep_modchorus_filter, 0}, |
|
|
|
|
{ep_modchorus_filter, 0, ep_modchorus_r, 1}, |
|
|
|
@ -1065,7 +1059,7 @@ void handleNoteOn(byte inChannel, byte inNumber, byte inVelocity) |
|
|
|
|
{ |
|
|
|
|
if (inNumber >= configuration.epiano.lowest_note && inNumber <= configuration.epiano.highest_note) |
|
|
|
|
{ |
|
|
|
|
ep.noteOn(inNumber + configuration.epiano.transpose, inVelocity); |
|
|
|
|
ep.noteOn(inNumber + configuration.epiano.transpose - 12, inVelocity); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
char note_name[4]; |
|
|
|
|
getNoteName(note_name, inNumber); |
|
|
|
@ -2346,6 +2340,7 @@ void init_configuration(void) |
|
|
|
|
MicroDexed[instance_id]->ControllersRefresh(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#if defined(USE_EPIANO) |
|
|
|
|
configuration.epiano.decay = EP_DECAY_DEFAULT; |
|
|
|
|
configuration.epiano.release = EP_RELEASE_DEFAULT; |
|
|
|
|
configuration.epiano.hardness = EP_HARDNESS_DEFAULT; |
|
|
|
@ -2365,6 +2360,7 @@ void init_configuration(void) |
|
|
|
|
configuration.epiano.pan = EP_PANORAMA_DEFAULT; |
|
|
|
|
configuration.epiano.velocity_sense = EP_VELOCITY_SENSE_DEFAULT; |
|
|
|
|
configuration.epiano.midi_channel = EP_MIDI_CHANNEL_DEFAULT; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
eeprom_update(); |
|
|
|
|
} |
|
|
|
|