Added version string.

Changed default loudness to 99.
Changed SGTL5000 output level to 28 (1.37 Volts p-p)
master
Holger Wirtz 6 years ago
parent 8ee201f948
commit cbf64fa039
  1. 2
      UI.hpp
  2. 8
      config.h

@ -712,7 +712,7 @@ LiquidMenu max_poly_menu(lcd);
******************************************/ ******************************************/
#define NUM_INFO_MENUS 1 #define NUM_INFO_MENUS 1
const char info_text1[] PROGMEM = "MicroMDAEPiano"; 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_line1(0, 0, info_text1);
LiquidLine info_line2(0, 1, info_text2); LiquidLine info_line2(0, 1, info_text2);
LiquidScreen info_screen; LiquidScreen info_screen;

@ -66,7 +66,7 @@
//* DEBUG OUTPUT SETTINGS //* DEBUG OUTPUT SETTINGS
//************************************************************************************************* //*************************************************************************************************
#define DEBUG 1 //#define DEBUG 1
#define SERIAL_SPEED 38400 #define SERIAL_SPEED 38400
#define SHOW_XRUN 1 #define SHOW_XRUN 1
#define SHOW_CPU_LOAD_MSEC 5000 #define SHOW_CPU_LOAD_MSEC 5000
@ -97,7 +97,7 @@
30: 1.22 Volts p-p 30: 1.22 Volts p-p
31: 1.16 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_CS_PIN 10
//#define SDCARD_MOSI_PIN 7 //#define SDCARD_MOSI_PIN 7
//#define SDCARD_SCK_PIN 14 //#define SDCARD_SCK_PIN 14
@ -135,6 +135,8 @@
//* DO NO CHANGE ANYTHING BEYOND IF YOU DON'T KNOW WHAT YOU ARE DOING !!! //* 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 MAX_SOUNDS min(99,int((4096-EEPROM_CONFIGURATIONS)/sizeof(config_t)))
#define CONTROL_RATE_MS 100 #define CONTROL_RATE_MS 100
@ -256,7 +258,7 @@
// //
#define ENC_LOUDNESS_MIN 0 #define ENC_LOUDNESS_MIN 0
#define ENC_LOUDNESS_MAX 99 #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_MIN 0
#define ENC_MIDI_CHANNEL_MAX 16 #define ENC_MIDI_CHANNEL_MAX 16

Loading…
Cancel
Save