Speaker very distorted on esp32

CHIRAGGOWDA
Posts: 1
Joined: Tue Feb 17, 2026 12:20 pm

Speaker very distorted on esp32

Postby CHIRAGGOWDA » Tue Feb 17, 2026 12:22 pm

Speaker very distorted on esp32


Esp32 s3 N16R8 devkitc1
I have built this chatbot the engine is working good but the speaker is very distorted I am using a 4ohm 2 watt speaker with max98357 amp , I tried gain to gnd , 3.3 and floating Nothing seems to work but I tried sine wave output it worked perfectly when I connected vin to 3.3v instead of 5v and when I connected the capacitor it's started crackling again , I don't know what to do I am stuck, tried using 100uF capacitor on 5v no luck, stt and llm is working fine.
Ps : I am doing this on a breadboard

bill_z
Posts: 1
Joined: Wed Feb 04, 2026 8:16 pm

Re: Speaker very distorted on esp32

Postby bill_z » Sun Feb 22, 2026 1:43 pm

I don't have this ESP32 to test with but many times with dual processors audio sometimes gets distorted due to switching between processors.

Sinewave test is forced to one processor, that is what I understand. I could of gotten the wrong information on this.

Try setting the audio to one processor, the one with more available cycles.

I would be interested in what you find.

Who is online

Users browsing this forum: ChatGPT-User, Semrush [Bot] and 4 guests