-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mycroft seems to lose audio capabilities after playing music. #2
Comments
Thanks for reporting! May I ask which os/platform this is? and maybe which sound system you're using (alsa/pulse audio/etc) |
Arch linux alsa and pulse both installed. It is only when I have something that uses alsa open, like when it plays something from mopidy, or if I open pavucontrol. If I kill pulse it still has issues, it seems that mycroft is not using dmix? |
Could it be similar to this: mopidy/mopidy#954 |
I start mopidy from cli as my own user, I use mopidy everyday and have yet to encounter this issue with anything other than mycroft, and still, mycroft is the only thing affected. Does mycroft run as its own user if I run it from my home directory? I will have to check this next time I am on my linux box |
No mycroft should run as the current user unless it's not installed using a package manager. You might try to use paplay instead of aplay for mycroft by editing your
(of you add it in the middle of a bunch of stuff remember to add a If the file doesn't exist be ware that it's in json format so creating a new file with this parameter should look like this {
"play_wav_cmdline": "paplay %1"
} Using my debian and Ubuntu systems I have had no similar issues, I should somehow get an Arch machine to test on... |
It is not installed from pacman/pacaur, as the aur version is outdated and gave me weird issues. Edit: Yea no that broke all sound as soon as mycroft started. Voice log: https://pastebin.com/z675aE3e |
Ok, apparently a bad idea =) Does paplay work from the command line? The weird thing in the log is that it mentions |
Hello ! I am also encountering this problem with Mycroft and Mopidy using Spotify. EDIT : I followed the link mentioned and I got it working |
@john-ee the link to the mopidy issue? Care to add a section in the readme to document the procedure? |
@forslund the link you gave here mopidy/mopidy#954
As for the radme, I never contributed to another git, should pull the repo, modify the readme then have a pull request ? |
hum it turns out Mycroft loses its audio as soon as Mopidy is used and if the music is lowered. Then it does not go back up. Edit : Seems like the error happens when Mopidy start before Mycroft |
Mycroft seems to stop being able to speak, yet can hear me talk to it.
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
aplay: main:788: audio open error: Device or resource busy
The text was updated successfully, but these errors were encountered: