Re: [orca-list] pulse audio Speakup and orca
- From: "B. Henry" <burt1iband gmail com>
- To: Alex Midence <alex midence gmail com>, orca-list gnome org
- Subject: Re: [orca-list] pulse audio Speakup and orca
- Date: Tue, 10 Nov 2015 13:57:55 -0600
the 2nd command should be enough as it starts speakup, onless you sometimes use a hardware synth or something
anyway.
On most systems I can make speakup start by running a script in startup programs or what ever the desktop
environment calls it, usually with a few
seconds of sleep before sudo espeakup is run, gives best results, 2 to 5 secs. A bit of expereimentation can
help fine tune that sleep time if it
matters to anyone.
The only case where sudo espeakup has not worked is on pulse audio using systems using fluxbox as a stand
alone GUI. Console speech gives errors
everytime with fluxbox. This may be fixable using pulse with dmix so that one uses alsa by default where
possible unless one chooses pulse specifically
for a given application, e.g. a media player. I've not tried this on a dm using system yet, but this is the
method I use on arch where I never had any
problem using fluxbox when I was running pure alsa but now use pulse on an ap by ap basis when required,
(skype for iinstance), or a media player for
some additional functionality.
For gnome you will probably want to make a .desktop file to run the espeakup starter script and put it in
/usr/share/applications so gnome tweak tool
will be able to see it so that it can be selected as an additional program to run at startup. I think you can
put such aa .desktop file in to
~/.config/autostart diredtly and it will become active on some systems, mate boxes perhaps, but can't
remember for sure when this does and does not
work.
--
B.H.
Registerd Linux User 521886
Alex Midence wrote:
Tue, Nov 10, 2015 at 01:44:30PM -0600
It isn't necessary to use systemwide Pulse audio anymore. I use console speech on my Ubuntu box at home
which has Pulse Audio installed and configured in the recommended way (not systemwide) and I am able to
use Speakup just fine. The trick is to start it from a Gnome Terminal within X:
sudo modprobe speakupg_soft start=1
sudo espeakup
Just my thoughts,
Alex M
-----Original Message-----
From: orca-list [mailto:orca-list-bounces gnome org] On Behalf Of Mike and Jenna
Sent: Tuesday, November 10, 2015 1:37 PM
To: orca-list gnome org
Subject: [orca-list] pulse audio speakup and orca
Hi,
I am coming a long way on the new directions for making a newer version of debian Vinux butt want to maybe
get some suggestions I recompiled espeak to use pulse audio I will paste the instructions that I have
required from john and a few others from mailing lists.
Edit the Makefile and find the section which reads like this:
# 'runtime' uses pulseaudio if it is running, else uses portaudio
#AUDIO = runtime AUDIO = portaudio #AUDIO = portaudio0 #AUDIO =
portaudio2 #AUDIO = pulseaudio #AUDIO = sada
And simply change it to read thusly:
# 'runtime' uses pulseaudio if it is running, else uses portaudio
#AUDIO = runtime #AUDIO = portaudio #AUDIO = portaudio0 #AUDIO =
portaudio2 AUDIO = pulseaudio #AUDIO = sada
As you can see I just commented out portaudio and uncommented
pulseaudio.
cd ../../
apt-get install espeakup
cd espeakup-0.71/
make
make install
modprobe speakup-soft
espeakup
Now I wonder If I should go threw this next part and try as I am building it as a rolling release using sid
and apt-get -u to hold back broken packages
Here is the part in question mind you I am using software speech and not hardware speech.
In Debian Jessie/Sid, you will need to edit /etc/default/pulseaudio to have this line:
PULSEAUDIO_SYSTEM_START=1
And in /etc/pulse/client.conf:
autospawn = no
It's been a while since I configured speech for orca, but I think I had to modify
/etc/speech-dispatcher/speechd.conf to use a unix socket:
SocketPath "/var/run/speech-dispatcher/speech-dispatcher.sock"
And in my .bash_profile, I added:
export
SPEECHD_ADDRESS="unix_socket:/var/run/speech-dispatcher/speech-dispatcher.so
ck"
I use hardware speech with speakup on the machine running orca and I don't run orca on the machine using
espeakup, so I can't say that it will work for both orca and speakup with espeakup. Please follow up if I
missed something.
Here is a link to the bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=481651
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]