How to pad signal #546
GuillaumeLeclerc
started this conversation in
General
Replies: 3 comments 8 replies
-
Integer format conversion is done by the NumberFormatConverterStream or NumberFormatConverterStreamT, but I never tested the 24 bit functionality and I suggest that you prefer 32bits instead. When I implemented it I was under the assumption that we would need to write 3 bytes. But I think the esp32 expects int32_t values. |
Beta Was this translation helpful? Give feedback.
1 reply
-
did you try it in 2 steps
|
Beta Was this translation helpful? Give feedback.
6 replies
-
In this case you can try different I2SFormat values |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have 16bits per sample signal and I would like to convert it to I2S 24bits with 8 bits of padding at the right. What is the best strategy to achieve this? I tried modifying the NumberConverter but it seems that the sample rate doesn't match and my stream is drifting.
Thanks for the Help!
Beta Was this translation helpful? Give feedback.
All reactions