Search found 2 matches

by billys7
Tue Mar 22, 2022 10:45 pm
Forum: General Discussion
Topic: Problem with volume control using MAX98357A and I2S on an ESP32
Replies: 2
Views: 3691

Re: Problem with volume control using MAX98357A and I2S on an ESP32

I have no solution yet. I think that i must include the i2s_write function in an interrupt - task, so i can use it, only when the buffer will be empty. I read in this forum that i can trigger an event when the buffer is empty but i couldn't understand it. i want to learn more about the function : "i...
by billys7
Tue Feb 22, 2022 4:31 pm
Forum: General Discussion
Topic: Problem with volume control using MAX98357A and I2S on an ESP32
Replies: 2
Views: 3691

Problem with volume control using MAX98357A and I2S on an ESP32

I use the following code to reproduce an audio file with ESP32 --> I2S --> MAX98357A with success. I want to add a software volume, so i add the code in comments. When i uncomment this part of the code the result is very noisy. Do you have any suggestions ? #include "driver/i2s.h" #include "freertos...