chrisguttandin/extendable-media-recorder

Get audio as pcm_s16le

Closed this issue · 2 comments

Hello, I need to get the data as pcm_s16le for sending to an API. Can you please share how to do this?

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.

@ma-elation have you done this?