node-microphone
node-microphone copied to clipboard
On linux the hw# is not gauranteed
I wasn't getting any output and I noticed that the command for arerecord was hardcoded to use device 1,0 where my microphone was showing up under 0,0. So for me this would be the correct command:
arecord -D plughw:0,0 -f dat
Perhaps the code need to be amended to determine which number the device is on.
Thank you very much for providing this information.
I've read you can set it with a .arecordrc file, but I haven't had much luck with that option, but maybe the command in the code is overriding it.