Build an open future with us.

Invest in Mycroft and become a community partner.

Getting No Audio Output in Picroft


#1

A week ago I was tuning in to the Bad Voltage digital broadcast and chose to uncover it back. I introduced the March fourteenth picture. It is by all accounts more joyful, yet I am battling with getting the gadget to utilize the Jabra as the speaker.

I can tell from the logs that the mouthpiece is working (couldn’t motivate that to happen last time, along these lines, yahoo) however no yield. I’ve attempted basically everything suggested on the intertoobz, including altering the mycroft.conf document and including (and expelling) different .asoundrc records. I’ve additionally disturbed the alsamixer order to ensure the yield is set legitimately and not quieted.

Note that in the event that I run “talk hi” on the CLI, the dulcet tones of Alan Pope get through the speaker fine and dandy. On the off chance that I run “aplay [wav file]” I hear the yield fine and dandy.


#2

Hi there @alexbach, thanks for joining us and giving Picroft a go.

Are there any error messages in your voice.log or audio.log which might provide clues as to the cause?

You can find logs at /var/log/mycroft.

Kind regards,
Kathy


#3

Ummm… I don’t seem to find any log file. :sweat_smile: :sweat_smile:


#4

What does the output of
ls -las /var/log/mycroft/ show?


#5
/var/log/mycroft $ ls -al
total 121932
drwxrwxrwx 2 root root      4096 Oct 21 12:12 .
drwxr-xr-x 5 root root      4096 Nov 12 06:25 ..
-rw-r--r-- 1 pi   pi      608211 Nov 12 11:18 audio.log
-rw-r--r-- 1 pi   pi       29115 Nov  9 10:06 bus.log
-rw-r--r-- 1 pi   pi   123634065 Nov 12 11:22 skills.log
-rw-r--r-- 1 pi   pi      550784 Nov 12 11:17 voice.log

#6

Great.

What is the output of the command;

cat /var/log/mycroft/audio.log | grep -i error

and

cat /var/log/mycroft/voice.log | grep -i error

I need to see the log entries to assist with diagnostics.


#7

Where would I find them?


#8

Check this code.
// Mechanism used to play WAV audio files
// Override: SYSTEM
“play_wav_cmdline”: “paplay %1 --stream-name=mycroft-voice”
Is this your wav audio files?


#9

I found these two sources related to my question.

Do you think I should explore this thread more or contact the support team?


#10

Hi @alexbach, how did you go getting your voice.log and your audio.log?
The commands I provided previously, which should be run on the Picroft terminal (if you’re in the Mycroft CLI, do Ctrl + C to get out of the terminal), should show whether there are any errors in these log files, and will help us diagnose the issue.

If you contact Support, they will ask exactly the same question …


#11

This is very much confusing. I was trying to get my hands on the technology but I don’t think I have enough caliber to do so…

Do you have any related video that can help me out?


#12

I think you should understand the whole problem through this discussion. It has enough resources to fix your issue.