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

Doesn't work for windows #8

Closed leandrodvd closed 7 years ago

leandrodvd commented 7 years ago

Itried to use this on windows and it doesn't work. It seems that 'rec' command doesn't exist in Sox for windows anymore. It seems that the following command must be used instead sox -t waveaudio −d new-file.wav

edmundo096 commented 7 years ago

Same issue, on Windows 10 x64. Used similar solution of @leandrodvd inside mic.js

ashishbajaj99 commented 7 years ago

Thanks guys, do you want to submit a pull request? I can merge it in...

leandrodvd commented 7 years ago

Hi, I Just created a pull request for this

nathanosdev commented 7 years ago

Why hasn't this been merged yet?

ashishbajaj99 commented 7 years ago

Sorry for the delay, its been merged now using #10

Thank you very much for you PR.