-
Notifications
You must be signed in to change notification settings - Fork 3
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
is bit-width 8 or 16? #2
Comments
Hi, 16-bit data is too large for flash, so I’m using 8-bit data and converting it to 16-bit by shifting bits. Each 8-bit value is converted to 16-bit and stored in a buffer. This approach also allows me to control the volume by adjusting the number of left shifts. EPS32-S3-I2S-MAX98357/main/i2s_test.c Lines 44 to 47 in 18538cb
|
While the sound quality is indeed reduced, it still sounds fine to me. |
thank for response, if so, why you don't config i2s to handle 8 bit-width data? I try to do this but there is no sound, if I feed 16 bit-width input, it will play weird sound (noise). |
I have the same problem as you, and the same noise is made. Have you solved it? Can you tell me? |
Hi, I just wonder why you are using a PCM file with a bitwidth of 8, but the I2S configuration is set to 16. How can it work? If I try to change the input file to a u16be bitwidth PCM, it produces noise
The text was updated successfully, but these errors were encountered: