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

Audio configuration not working - MMM-AssistantMk2



  • Hi All,

    New to all of this so please excuse my ignorance.

    Successfully setup a working MM with several modules following tutorials and problem solving with the use of various posts in the forum. Gaining (very basic) knowledge as I go. The whole reason for this project.

    I’ve decided I want to incorporate MMM-AssistantMk2 and have purchased a Respeaker2 and installed as per their instructions and 2-3 different small USB speakers.

    During the auto-install of AssistantMk2 when presented with the check speaker option, regardless of which card:device I select it returns “configuration not working”. The USB is visible as card 2 device 0 but even if I plug in headphones to the 3.5mm jack to either the respeaker or the Pi board and select any and all combos of card:device I still get the same result.

    Can’t find any answers searching the net or forum. Could anyone point me in the right direction please?

    Happy to post any info required.

    Cheers,
    Ed





  • @sdetweil said in Audio configuration not working - MMM-AssistantMk2:

    @fasteddy does arecord work to capture voice?

    https://wiki.seeedstudio.com/ReSpeaker_2_Mics_Pi_HAT/

    arecord can create .wav but I am unable o listen to it to confirm a recording.

    Heres a list of CAPTURE and PLAYBACK devices:

    pi@raspberrypi:~ $ arecord -l
    **** List of CAPTURE Hardware Devices ****
    card 1: seeed2micvoicec [seeed-2mic-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 [bcm2835-i2s-wm8960-hifi wm8960-hifi-0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    pi@raspberrypi:~ $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
      Subdevices: 7/7
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
      Subdevice #4: subdevice #4
      Subdevice #5: subdevice #5
      Subdevice #6: subdevice #6
    card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: seeed2micvoicec [seeed-2mic-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 [bcm2835-i2s-wm8960-hifi wm8960-hifi-0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: Device [USB2.0 Device], device 0: USB Audio [USB Audio]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    

    If I try to get to get the USB speaker to play what the mic is capturing it returns this:

    pi@raspberrypi:~ $ arecord -f cd -Dhw: | aplay -Dhw:1
    ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.pcm.subdevice'
    ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.pcm.subdevice'
    ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4568:(_snd_config_evaluate) ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: No such file or directory
    ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM hw:1
    aplay: main:828: function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: No such file or directory
    audio open error: No such file or directory
    ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM hw:
    arecord: main:828: audio open error: No such file or directory
    
    

    Any ideas at all please?

    Cheers!


Log in to reply