diff --git a/MicroMDAEPiano.ino b/MicroMDAEPiano.ino index 14844f4..23c9be8 100644 --- a/MicroMDAEPiano.ino +++ b/MicroMDAEPiano.ino @@ -130,6 +130,7 @@ config_t configuration = { ENC_REVERB_LEVEL_DEFAULT, // reverb_level ENC_CHORUS_FREQUENCY_DEFAULT, // chorus_frequency ENC_CHORUS_DELAY_DEFAULT, // chorus_delay + ENC_CHORUS_INTENSITY_DEFAULT, // chorus_intensity ENC_CHORUS_LEVEL_DEFAULT, // chorus_level ENC_BASS_LR_LEVEL_DEFAULT, // bass_lr_level ENC_BASS_MONO_LEVEL_DEFAULT, // bass_mono_level @@ -723,6 +724,8 @@ void show_sound(void) Serial.println(configuration.chorus_frequency, DEC); Serial.print(F("Chorus Delay: ")); Serial.println(configuration.chorus_delay, DEC); + Serial.print(F("Chorus Intensity: ")); + Serial.println(configuration.chorus_intensity, DEC); Serial.print(F("Chorus Level: ")); Serial.println(configuration.chorus_level, DEC); Serial.print(F("Bass L/R Level: ")); diff --git a/config.h b/config.h index 8a4c9d8..a3c53da 100644 --- a/config.h +++ b/config.h @@ -97,7 +97,7 @@ 30: 1.22 Volts p-p 31: 1.16 Volts p-p */ -#define SGTL5000_LINEOUT_LEVEL 22 +#define SGTL5000_LINEOUT_LEVEL 29 //#define SDCARD_CS_PIN 10 //#define SDCARD_MOSI_PIN 7 //#define SDCARD_SCK_PIN 14 diff --git a/mdaEPiano.cpp b/mdaEPiano.cpp index bf000f3..8d34fa4 100644 --- a/mdaEPiano.cpp +++ b/mdaEPiano.cpp @@ -253,7 +253,7 @@ void mdaEPiano::setOverdrive(float value) void mdaEPiano::setLoudness(float value) { //volume = value * 0.32258; // 0.00002 * 127^2 - volume = value * 0.2; // 0.00002 * 127^2 + volume = 0.2f; } void mdaEPiano::setParameter(int32_t index, float value)