node-microphone icon indicating copy to clipboard operation
node-microphone copied to clipboard

On linux the hw# is not gauranteed

Open LucasHill opened this issue 10 years ago • 2 comments

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.

LucasHill avatar Sep 23 '15 02:09 LucasHill

Thank you very much for providing this information.

mishaldholakia avatar Feb 12 '16 12:02 mishaldholakia

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.

tiny-tinker avatar Aug 01 '16 18:08 tiny-tinker