Audio Output Issues

93 views
Skip to first unread message

Phil Fishbein

unread,
Jul 20, 2016, 12:33:53 PM7/20/16
to Jasper Support Forum
Hey all,

I'm sure this has been asked a bunch of times but none of the solutions seem to work. I'm running an image of Jasper on my Raspberry Pi 3 Model B and I've gotten everything working almost perfectly, command line interaction works, it reads my microphone but Jasper doesn't seem to be able to speak through my Pi's headphone jack. `speaker-test` works well but Jasper still can't output audio. Any ideas?

Thanks!

Matthew Curry

unread,
Jul 21, 2016, 2:16:36 PM7/21/16
to Jasper Support Forum
yeah this is a known bug, I have posted the fix in slack. I will also be releasing an installer/fix script to help people resolve the issue.


Phil Fishbein

unread,
Jul 22, 2016, 8:07:10 AM7/22/16
to Jasper Support Forum
Fantastic! Do you have a link to the slack messages with the fix?
Message has been deleted

Lee Melbourne

unread,
Jul 24, 2016, 2:11:40 AM7/24/16
to Jasper Support Forum
Hi Phil

Edit tts.py and find the following line:

    cmd = ['aplay', '-D', 'plughw:1,0', str(filename)]

Change this to:

    cmd = ['aplay', str(filename)]

Then it will use your default output device rather than the device on card 1.
Reply all
Reply to author
Forward
0 new messages