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

I am having the same problem. I hear the activation chime but no voice. It was working a few minutes ago but it stopped after I tried to set up wifi in the wpa config file. I also tried restarting the audio service but that did not work.

Are we talking about a smart speaker?

I’m having the same issue. I have mycroft installed and working. “Hey, Mycroft” gives me the listening chime. I’ll ask it a question and there is a reply on the command line client but no voice.

It worked the first time when I asked “What is the weather?” and never again. I made no changes in the interim.

Rebooting has no effect. Restarting the audio service has no effect. Audio test records and plays back my voice.

Raspberry Pi 4b, AudioBox USB microphone interface, 3.5mm jack for output.

Picroft enclosure platform version: Buster Keaton - Pork Pi
mycroft-core: 21.2.2 ( master )

I reinstalled and got the same thing. The first question was answered with a voice and then only on the command line interface with no voice.

Most likely what you’re seeing is the Selene backend for Mycroft falling over. Nobody is actively maintaining that, and nobody has been for basically all of 2023. We’d have to see audio logs to know for sure.

I’d recommend checking out OVOS if you want to build the next iteration of Picroft on maintained software. It’s not perfect, but the OVOS developers are very available to resolve issues that arise, and Mycroft is unfortunately crumbling.

1 Like

Obligatory FAQ link (updated FAQ expected this week, so I let the post come unpinned)

What that older version of the FAQ doesn’t mention is that OVOS is now administering a robust spiritual successor to Picroft, with headless Pi3 support spearheaded by @builderjer. We just can’t call ours Picroft, as the old company’s trademark policy still applies.

1 Like

@ChanceNCounter
Thanks, friend! I just discovered MycroftAI and didn’t realize that it’s basically defunct. I will check out the OVOS site after work.

@mikejgray thank you for the information.

1 Like

Hello.
I’ve had an RPi 3+ running Mycroft for a couple of years.
I thought I’d try OVOS on an RPi 4.
After reading over various articles and trying a few things, I ended up installing OVOS raspbian-ovos-dev_1690171167. I’m using the stereo 3.5mm jack audio output to drive a powered speaker and a USB headset for the mic. For a display, I’m using a computer monitor that was gathering dust.
I also added ovos-cli-client since I’m used to that with Mycroft.
I read another discussion about commenting out the “module-suspend-on-idle” and found that what that the development build has that line commented out in /etc/pulse/default.pa.
At the moment, ovos is recognizing the wake word (I hear the chime and see what I’ve said/asked on the screen), but so far, I’ve not heard any sound except acknowledgement of the wake word.
How can I gather info on this, and thanks for your time.
Ed

Hi Ed,

Please check the audio logs. I don’t remember offhand where they are on that image, possibly /var/log, but as I recall there have been reports of the Piper plugin failing and causing issues like you’re sharing.

Would you please share your user config (~/.config/mycroft/mycroft.conf) as well as those audio logs?

I’d say the content of mycroft.conf is telling, and a note of information for picroft indicated logs would be under /var/log/mycroft.
There are no files in that directory, and in my .config/mycroft is mycroft_cli.conf, and it’s entire content is this one line.

{“filters”: [“mouth.viseme”, “mouth.display”, “mouth.icon”], “cy_chat_area”: 7, “show_last_key”: false, “max_log_lines”: 5000, “show_meter”: true}

I’d say I’ll need to locate more documents on how to configure ovos on Pi.
Thanks,
Ed

Here are all of OVOS’s defaults:

It’s possible the logs are located at ~/.local/state instead of /var/log. Sorry I don’t have more specifics - been a bit since I had OVOS at my fingertips :slightly_smiling_face:

correct, ~/.local/state is the XDG compliant directory, /var/log runs into permission issues

I believe the newest image has all of this fixed. You can get it here