Why WAV is not recordered to 8 bits sample resolution? #2207
-
|
Hi @pschatzmann. This below is my sketch. I don't achieve to WAV recording at 8-bits samples resolution. The audio is output to kitstrem (speaker) and wav file when WAV_8BIT_MONO=false, but nothing is recordered to file when WAV_8BIT_MONO=true (but yes to output speaker) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You can't apply a NumberFormatConverterStreamT on a EncodedAudioStream: This is also converting non audio data like the header and will thus distroy it. Apply the conversion on the source! |
Beta Was this translation helpful? Give feedback.
-
|
@pschatzmann ok, I had those changes. The sketch now is as below, but nothing was recorded with WAV_8BIT_MONO=true (but WAV_8BIT_MONO=false was ok) Any idea? |
Beta Was this translation helpful? Give feedback.
You can't apply a NumberFormatConverterStreamT on a EncodedAudioStream: This is also converting non audio data like the header and will thus distroy it.
Apply the conversion on the source!