Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uda1334 board bad audio quality #628

Open
TITAS1533 opened this issue Dec 17, 2023 · 2 comments
Open

Uda1334 board bad audio quality #628

TITAS1533 opened this issue Dec 17, 2023 · 2 comments

Comments

@TITAS1533
Copy link

I recently started making a web radio player got esp32 and adafruit uda1334 board it works but the audio quality is awful(feels like highs non exist at all and lows kinda unnatural) compared to same speakers conected to pc and same station link playing on vlc.is that the uda1334 is garbage and need something like pcm5102 or i am doing something wrong?

code:
#include "Arduino.h"
#include "WiFi.h"
#include "Audio.h"

#define I2S_DOUT 26 // connect to DAC pin DIN
#define I2S_BCLK 27 // connect to DAC pin BCK
#define I2S_LRC 25 // connect to DAC pin LCK

Audio audio;

const char* ssid = "SSID";
const char* password = "password";

void setup() {
Serial.begin(115200);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) delay(1500);
audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT);
audio.connecttohost("http://s1.knixx.fm/dein_webradio_64.aac");
}

void loop() {
audio.loop();
}

void audio_info(const char *info){
Serial.print("info "); Serial.println(info);
}

@biologist79
Copy link

biologist79 commented Dec 18, 2023

Did you connect a speaker directly to it?
If yes: please note this board does not contain an amp.

Have been working in the past with uda1334 + TDA1308 as amp and this worked fine. Meanwhile I switched to MS6324 as it's easier to design.

For speakers I'd rather recommend MAX98357a (DAC + classD-amp).

@TITAS1533
Copy link
Author

I am conecting it to an amplifer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants