Get audio as pcm_s16le
Closed this issue · 2 comments
ma-elation commented
Hello, I need to get the data as pcm_s16le for sending to an API. Can you please share how to do this?
chrisguttandin commented
Hi @ma-elation,
the cleanest solution would probably be to write your own encoder similar to the existing extendable-media-recorder-wav-encoder.
But you could also re-use the wav-encoder and skip the first 44 bytes. All that is left ist the PCM data as signed 16 bit little endian integers.
ramiel commented
@ma-elation have you done this?