0

I am trying to get my microphone set up correctly for a magic mirror, but something tells me it isnt yet as I cannot get the "rec" command to work. It gives "-bash: rec: command not found" when I try.

I also cannot get the arecord command to work without using the -D -plughw:1,0" parameter.

asoundrc:

pcm.!default {
    type hw
    card 0
}

ctl.!default {
    type hw
    card 1
}

arecord -l:

**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Any suggestions?

  • The rec command belongs to the sox package. You have to install that first. – Janka Jan 1 at 19:23
  • My apologies, I was absolutely sure I had installed it but it obviously turned out not to be the case. It works, thanks! – Rasmus Thorslund Jan 2 at 18:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.