Search found 3 matches

by Emirhanuzum
Tue May 27, 2025 10:35 am
Forum: ESP-IDF
Topic: ESP32 Converting a 16 bit audio file to 24 bit for I2S
Replies: 4
Views: 280

Re: ESP32 Converting a 16 bit audio file to 24 bit for I2S

Thanks to both of you. The problem was yes the correct indexing but also the sign conversion. Because i was not assigning it to any 16 bit variable the signs were not gettin registered correctly. Now i solved the issue but there is still a bit of a distortion. The original 16 bit samples sound cleaner
by Emirhanuzum
Sun May 25, 2025 7:45 pm
Forum: ESP-IDF
Topic: ESP32 Converting a 16 bit audio file to 24 bit for I2S
Replies: 4
Views: 280

ESP32 Converting a 16 bit audio file to 24 bit for I2S

I am trying to convert a 16 bit audio samples to 24 bit audio samples file for replaying and mixing purposes. I am shifting it to the left by 8 bytes and then send it to the i2s_channel but the sound im getting is very distorted. This should work, because im doing the sign assignment correct. I am ...
by Emirhanuzum
Mon Dec 16, 2024 11:16 am
Forum: ESP-IDF
Topic: ESP32 i2s PDM Audio transmit problem
Replies: 0
Views: 919

ESP32 i2s PDM Audio transmit problem

I am trying to output an .wav file with the help of i2s interface to a D-Class amplifier ( MAX98357A )
It will then be converted to an analog signal with the help of speaker coils. I have a hard time achieving good results. Speaker outputs so much noise and only the beginning of the signal is ...

Go to advanced search