Fixed loud headphone output.

Fixed quiet line output.
pull/4/head
Holger Wirtz 6 years ago
parent c4006a8b1e
commit 6d9847e714
  1. 9
      MicroDexed.ino
  2. 1
      config.h

@ -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();

@ -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

Loading…
Cancel
Save