ashishbajaj99 / mic

A simple stream wrapper for arecord (Linux (including Raspbian)) and sox (Mac, Windows). Returns a Passthrough stream object so that stream control like pause(), resume(), pipe(), etc. are all available.
MIT License
103 stars 61 forks source link

add fileType option to sox command on OSX #4

Closed ezekeal closed 8 years ago

ezekeal commented 8 years ago

Using the fileType option to add { fileType: 'wav' } allowed me to output a wav file with the appropriate headers. Might possibly consider this as a default. Tested on OSX 10.11.5

ezekeal commented 8 years ago

Added a line to the options section to explain.