Closed the-arkhive closed 1 month ago
I am a bit of a buffoon. Literally moments after submitting this issue, I finally found the combo of search terms that actually got me to a solution. I was missing the pulseaudio-alsa
package. So for anyone else that finds this later. Make sure you have that package installed, and you can remove the asound.conf
file from /etc if you made one.
Solution found in this post on the Arch forum.
Sorry for the post, marking as closed.
Let me open with I realize this is not a fault of Piper, and instead my audio setup, but I have done a lot of searching, including in the issue tracker here, and none of the solutions I have found have worked. If I should ask this in a different place I am happy to, but I was not sure where else to start.
I am running arch linux, and I have pulseaudio, pipewire, wireplumber, and alsa installed. As far as I can tell I need the first three in order to get OBS working. I have a USB audio interface and speakers plugged into the line out of my mobo. I can easily swap between both outputs with pavucontrol, and all my system and application sounds seem to respond properly. Piper works just fine when outputting to a file, so know I have properly setup my model files and such.
When I attempt to run:
I get the error:
After digging around online for this error I eventually created an 'asound.conf' file in /etc with
as the contents, based on the output of
cat /proc/asound/cards
. Upon running the same Piper command the new error I get is:Which seems like a step in the right direction, but again, all my searching for this error has not yielded a clear fix.
I have read issue #375, and all that informed me of was adding the device option and setting it to "default". Ideally Piper would swap which audio device it outputs to as I swap between my interface and speakers, but I would settle for just outputting to the interface as I eventually plan to drive speakers off that.
Any assistance would be greatly appreciated.