From cbf64fa0397ab39eb8cac4e754e42b14fa1a1be9 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Mon, 27 May 2019 07:40:24 +0200 Subject: [PATCH] Added version string. Changed default loudness to 99. Changed SGTL5000 output level to 28 (1.37 Volts p-p) --- UI.hpp | 2 +- config.h | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/UI.hpp b/UI.hpp index 7c31563..7e33576 100644 --- a/UI.hpp +++ b/UI.hpp @@ -712,7 +712,7 @@ LiquidMenu max_poly_menu(lcd); ******************************************/ #define NUM_INFO_MENUS 1 const char info_text1[] PROGMEM = "MicroMDAEPiano"; -const char info_text2[] PROGMEM = "Version 0.0"; +const char info_text2[] PROGMEM = MICRO_MDAEPIANO_VERSION; LiquidLine info_line1(0, 0, info_text1); LiquidLine info_line2(0, 1, info_text2); LiquidScreen info_screen; diff --git a/config.h b/config.h index 43bfaa5..40b284d 100644 --- a/config.h +++ b/config.h @@ -66,7 +66,7 @@ //* DEBUG OUTPUT SETTINGS //************************************************************************************************* -#define DEBUG 1 +//#define DEBUG 1 #define SERIAL_SPEED 38400 #define SHOW_XRUN 1 #define SHOW_CPU_LOAD_MSEC 5000 @@ -97,7 +97,7 @@ 30: 1.22 Volts p-p 31: 1.16 Volts p-p */ -#define SGTL5000_LINEOUT_LEVEL 30 +#define SGTL5000_LINEOUT_LEVEL 28 //#define SDCARD_CS_PIN 10 //#define SDCARD_MOSI_PIN 7 //#define SDCARD_SCK_PIN 14 @@ -135,6 +135,8 @@ //* DO NO CHANGE ANYTHING BEYOND IF YOU DON'T KNOW WHAT YOU ARE DOING !!! //************************************************************************************************* +#define MICRO_MDAEPIANO_VERSION "0.9.0" + #define MAX_SOUNDS min(99,int((4096-EEPROM_CONFIGURATIONS)/sizeof(config_t))) #define CONTROL_RATE_MS 100 @@ -256,7 +258,7 @@ // #define ENC_LOUDNESS_MIN 0 #define ENC_LOUDNESS_MAX 99 -#define ENC_LOUDNESS_DEFAULT 80 +#define ENC_LOUDNESS_DEFAULT 99 // #define ENC_MIDI_CHANNEL_MIN 0 #define ENC_MIDI_CHANNEL_MAX 16