MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

usb mic on raspi ,magicmirror not recording



  • I have added a file folder asound to pi/home but its not working to record from my usb mic
    I can play the sound-wav file not recording i need this for google assistant



  • @videogame95 it would be a file in the users(pi) home folder,
    .asoundrc

    notice the dot at the font.
    mine looks like this

    pcm.!default {
        type hw
        card 0
    }
    
    ctl.!default {
        type hw
        card 1
    }
    

    but my mic (webcam) is actually on card 2

    arecord -l
    **** List of CAPTURE Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 2: ALC892 Alt Analog [ALC892 Alt Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: CameraB409241 [USB Camera-B4.09.24.1], device 0: USB Audio [USB Audio]
      Subdevices: 0/1
      Subdevice #0: subdevice #0
    

Log in to reply