I2S-webserver_wav sound is very very quiet #187
-
The soundlevel is very very low, have to open volume of PC and LS max to hear the sound. How to solve please? Thanks! /**
#include "AudioTools.h" //AudioEncodedServer server(new WAVEncoder(),"ssid","password"); I2SStream i2sStream; // Access I2S as stream void setup(){ // start i2s input with default configuration // start data sink // Arduino loop |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Did you also have a look at the generated signal as on the serial output as csv ? This gives you the information about the value range that you actually get. With this informaion you could try to scale the output with https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_converter_scaler.html |
Beta Was this translation helpful? Give feedback.
-
yes I used serial plotter and als yat to check the values. |
Beta Was this translation helpful? Give feedback.
-
This can't be right if you use config.bits_per_sample = 16; you need to output int16_t values with CsvOutput<int16_t>... |
Beta Was this translation helpful? Give feedback.
Did you also have a look at the generated signal as on the serial output as csv ?
This gives you the information about the value range that you actually get. With this informaion you could try to scale the output with https://pschatzmann.github.io/arduino-audio-tools/html/classaudio__tools_1_1_converter_scaler.html