Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Headphone out is way too soft #62

Answered by pschatzmann
greno asked this question in Q&A
Discussion options

You must be logged in to vote

I can confirm: if you do not want to use the power amplifier switch it off with

auto cfg = kit.defaultConfig(TX_MODE);
// sd_active is setting up SPI with the right SD pins by calling
// SPI.begin(PIN_AUDIO_KIT_SD_CARD_CLK, PIN_AUDIO_KIT_SD_CARD_MISO, PIN_AUDIO_KIT_SD_CARD_MOSI, PIN_AUDIO_KIT_SD_CARD_CS);
cfg.speaker_active = false;
kit.begin(cfg);

With no volume hack the AUX provides line level which is too low for headphones.
Only with the #define AI_THINKER_ES8388_VOLUME_HACK 1 you can control the volume with setVolume()

The AI_THINKER_ES8388_VOLUME_HACK 2 is just setting the mic_gain to a different default value and has no impact because you overwrite the value when you call es8388_…

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@greno
Comment options

Comment options

You must be logged in to vote
3 replies
@greno
Comment options

@greno
Comment options

@pschatzmann
Comment options

Comment options

You must be logged in to vote
3 replies
@greno
Comment options

@greno
Comment options

@pschatzmann
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants