serenadeai / speech-recorder

speech-recorder is a node.js module for streaming audio from a device's microphone and filtering for speech.
MIT License
86 stars 19 forks source link

Conversion #15

Closed mateussilva98 closed 1 year ago

mateussilva98 commented 3 years ago

I am trying to use Sox to convert the raw audio files recorded, but I need the header parameters, is there anyway I can get these? Or does it have to do with my own hardware alone? Thank you

tmacwill commented 1 year ago

apologies for the hugely delayed response here, but this library uses 16-bit, single-channel audio. the sample rate is 16000 unless otherwise specified in the constructor.