Mycroft Community Forum

Audio working but no voice

hi
i have mycroft linux version on my rpi4 .
with the ps3 eye as mic and jack speaker
I have audio trouble when I say “hey mycroft”
I heard the song when he start listenning I see the answer on the cli but I heard nothing
I ask him to put the volume to max no change.

I made the mycroft audio test everything is ok
I try to put “play_wav_cmdline”: “aplay %1”,
“play_mp3_cmdline”: “mpg123 %1”,
but nothing change

the following is my voice log
2021-01-10 17:38:40.711 | INFO | 2596 | mycroft.messagebus.load_config:load_message_bus_config:33 | Loading message bus configs

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.front.0:CARD=0’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM front

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.surround51.0:CARD=0’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround21

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.surround51.0:CARD=0’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround21

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.surround40.0:CARD=0’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround40

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.surround51.0:CARD=0’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround41

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.surround51.0:CARD=0’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround50

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.surround51.0:CARD=0’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround51

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.surround71.0:CARD=0’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM surround71

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM iec958

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM spdif

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM spdif

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port

ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port

ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘cards.bcm2835_headpho.pcm.iec958.0:CARD=0,AES0=6,AES1=130,AES2=0,AES3=2’

ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0}

ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card

ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card

2021-01-10 17:38:41.848 | INFO | 2596 | mycroft.client.speech.listener:create_wake_word_recognizer:328 | Creating wake word engine

2021-01-10 17:38:41.852 | INFO | 2596 | mycroft.client.speech.listener:create_wake_word_recognizer:351 | Using hotword entry for hey mycroft

2021-01-10 17:38:41.857 | INFO | 2596 | mycroft.client.speech.hotword_factory:load_module:403 | Loading “hey mycroft” wake word via precise

2021-01-10 17:38:43.872 | INFO | 2596 | mycroft.client.speech.listener:create_wakeup_recognizer:365 | creating stand up word engine

2021-01-10 17:38:43.878 | INFO | 2596 | mycroft.client.speech.hotword_factory:load_module:403 | Loading “wake up” wake word via pocketsphinx

2021-01-10 17:38:44.060 | INFO | 2596 | main:on_ready:175 | Speech client is ready.

2021-01-10 17:38:44.077 | INFO | 2596 | mycroft.messagebus.client.client:on_open:114 | Connected

2021-01-10 17:39:10.115 | INFO | 2596 | mycroft.session:get:74 | New Session Start: a581b8e8-5dc3-480a-8ae2-6ad210b35d6f

2021-01-10 17:39:10.121 | INFO | 2596 | main:handle_wakeword:67 | Wakeword Detected: hey mycroft

Playing WAVE ‘/home/pi/mycroft-core/mycroft/res/snd/start_listening.wav’ : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

2021-01-10 17:39:10.945 | INFO | 2596 | main:handle_record_begin:37 | Begin Recording…

2021-01-10 17:39:13.980 | INFO | 2596 | main:handle_record_end:45 | End Recording…

2021-01-10 17:39:14.695 | INFO | 2596 | main:handle_utterance:72 | Utterance: [‘what time is it’]

I don t really know what can I do , I try several tutoriel about amixer pulse audio and
mycroft audio troubleshooting
Any help will be very appreciated
thank in advance

Did you install Mycroft yourself on your RPi, or are you running your RPi with Picroft? If the former, it looks like you’re missing some library dependencies for driving the audio interfaces Very similar error messages as this stackexchange issue with running on a machine without audio support. Try using Picroft.

If you are using Picroft, I’ve run into a similar issue, and have just had to run mycroft-start restart audio. Haven’t noticed any of these ALSA issues in the logs though, so I doubt this is the same issue. So for anyone else coming here with the problem of hearing the listening tone, but not hearing any audio feedback from Mycroft, try restarting the audio service.

Thanks . I will try when I comeback on it