diff --git a/MicroDexed.ino b/MicroDexed.ino index 64d633c..1803432 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -163,11 +163,16 @@ void setup() sgtl5000_1.unmuteHeadphone(); sgtl5000_1.unmuteLineout(); sgtl5000_1.autoVolumeDisable(); // turn off AGC - sgtl5000_1.volume(1.0, 1.0); - sgtl5000_1.lineOutLevel(31); + sgtl5000_1.volume(0.5,0.5); // Headphone volume + sgtl5000_1.lineOutLevel(SGTL5000_LINEOUT_LEVEL); sgtl5000_1.audioPostProcessorEnable(); sgtl5000_1.autoVolumeControl(1, 1, 1, 0.9, 0.01, 0.05); sgtl5000_1.autoVolumeEnable(); + //sgtl5000_1.surroundSoundEnable(); + //sgtl5000_1.surroundSound(width, select); + //sgtl5000_1.enhanceBassEnable(); + //sgtl5000_1.enhanceBass(lr_lev, bass_lev, hpf_bypass, cutoff); + //sgtl5000_1.eqBands(bass, mid_bass, midrange, mid_treble, treble); Serial.println(F("Teensy-Audio-Board enabled.")); #elif defined(TGA_AUDIO_BOARD) wm8731_1.enable(); diff --git a/config.h b/config.h index 0fd77d3..f271e29 100644 --- a/config.h +++ b/config.h @@ -113,6 +113,7 @@ //#define SDCARD_CS_PIN 10 //#define SDCARD_MOSI_PIN 7 //#define SDCARD_SCK_PIN 14 +#define SGTL5000_LINEOUT_LEVEL 29 // Teensy 3.5 & 3.6 SD card #define SDCARD_CS_PIN BUILTIN_SDCARD #define SDCARD_MOSI_PIN 11 // not actually used