|
|
|
@ -196,8 +196,8 @@ void setup() |
|
|
|
|
// create EPiano object
|
|
|
|
|
ep = new mdaEPiano(); |
|
|
|
|
|
|
|
|
|
// set initial init configuration
|
|
|
|
|
set_complete_configuration(); |
|
|
|
|
initial_values_from_eeprom(); |
|
|
|
|
|
|
|
|
|
setup_midi_devices(); |
|
|
|
|
|
|
|
|
@ -244,7 +244,7 @@ void setup() |
|
|
|
|
// chorus modulation fixed
|
|
|
|
|
modulator.begin(WAVEFORM_MOD); |
|
|
|
|
modulator.phase(0); |
|
|
|
|
modulator.amplitude(1.0); |
|
|
|
|
modulator.amplitude(0.0); |
|
|
|
|
modulator.offset(0.0); |
|
|
|
|
modchorus_r.offset(15.0); |
|
|
|
|
modchorus_l.offset(15.0); |
|
|
|
@ -274,7 +274,7 @@ void setup() |
|
|
|
|
mixer_l.gain(VOL_CHORUS, 0.2); |
|
|
|
|
|
|
|
|
|
// Stereo/Mono initial setup
|
|
|
|
|
if (configuration.mono == false) |
|
|
|
|
if (configuration.mono == 0) |
|
|
|
|
{ |
|
|
|
|
inverter.gain(-1.0); // change phase for second modulated delay (faked stereo mode)
|
|
|
|
|
} |
|
|
|
@ -287,6 +287,9 @@ void setup() |
|
|
|
|
// set master volume
|
|
|
|
|
set_master_volume(master_volume); |
|
|
|
|
|
|
|
|
|
// load last configuration used
|
|
|
|
|
initial_values_from_eeprom(); |
|
|
|
|
|
|
|
|
|
// init random generator
|
|
|
|
|
srand(analogRead(A0)); |
|
|
|
|
|
|
|
|
@ -778,6 +781,8 @@ void show_sound(void) |
|
|
|
|
Serial.println(configuration.midi_soft_thru, DEC); |
|
|
|
|
Serial.print(F("Maximum Polyphony: ")); |
|
|
|
|
Serial.println(configuration.max_poly, DEC); |
|
|
|
|
Serial.print(F("Audio-Mono: ")); |
|
|
|
|
Serial.println(configuration.mono, DEC); |
|
|
|
|
Serial.print(F("Panorama: ")); |
|
|
|
|
Serial.println(configuration.pan, DEC); |
|
|
|
|
Serial.println(F("======END=SOUND=CONFIGURATION=======")); |
|
|
|
|