espeakup and sound cards?
Jacob Schmude
j.schmude at gmail.com
Fri Mar 4 17:23:48 EST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
Getting espeak to switch cards was no problem. I just told Pulseaudio
to direct espeak to my USB speaker and that did it. I used pavucontrol
from within GNOME to do it, but I believe you can do it through pactl
as well. That's one reason I like using Pulseaudio, I can direct audio
where I want it regardless which program is generating it.
I haven't gone into the espeakup source yet, but I notice that
espeakup depends on libasound. That would suggest to me that espeakup
is not actually having espeak do the audio output for some reason, but
is interacting with ALSA directly at least for part of the process.
Your issue plus mine insisting on always opening the first card
regardless of what I tell ALSA to do would indicate this. Your issue
about invalid sample rate suggests that espeakup is trying to output
to the same card that Pulseaudio is currently using.
On 03/04/2011 02:10 PM, Christopher Moore wrote:
> Jacob, How did you tell espeak to switch soundcards? AFAIK there
> is no device parameter on the command line.
>
> I'm having a problem with espeakup and pulseaudio. I've compiled
> portaudio with pulseaudio support. Espeak talks just fine, but
> espeakup doesn't work at all and produces pages of erros about
> 'invalid samplerate'. I think this may have something to do with
> how espeakup is interacting with the espeak library.
>
> Chris _______________________________________________ Speakup
> mailing list Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAEBAgAGBQJNcWZyAAoJEDtK6CrF/Uo1G6cH/3rGpcVetQ62gdWxktccV1OX
p0feYsz7rbxTUjUTDqgp7ZpAlJITZFVbth/Sb1EOZ/aeWl0dJIN+dnKDb3FEsJWe
RU+lrLSnBcScY6IRUb1PMqhAslCpvlBHnicVVc31awTZH4vgY44OvUm+IrvPSAFN
PTbDbWgotXX/2ZelINyp3ImLlvAC78fo4+1aAi4KK6wavKwYRAj/XxrTFYTeBDv3
yLabKYcjDtiMep0x11ByHfwtMuX3qLvTlowKU6T8+agV7aAPjS33WdnAp5PZsBlh
qR3eCe2HYSAR3Jo3rhbTvpu+Z3rOUISb7PKO2ryYLC2JQwiqIlUeWehqcVqAQU0=
=YQ5B
-----END PGP SIGNATURE-----
More information about the Speakup
mailing list