Re: [BRLTTY] Making brltty speak
Hello, Christian Schoepplein (2021/12/15 16:07 +0100): > On Wed, December 15, 2021 12:34 pm, Sébastien Hinderer wrote: > > > > It seems the cleanest solution is to switch from PulseAudo to PipeWire > > so I'll have to continue experimenting with that. > > Is it possible to switch from pulseaudio to pipewire on Debian Bullseye > and if yes, how can this be done?* Just by installing the pipewire and wireplumber packages. Optionnally also install pipewire-pulse if you have applications that need pulseaudio. > I do not know pipewire at all and wonder > what are the advantages vis pulseaudio? To say it clear, pulseaudio is > crap, but I've found a solution that brltty and also orca have speech > output on my system. But if switching to another soundsystem will make > things easier I'd also switch. I think piperwire is devleopped in a more professional way and more maintained. However, if your system works frankly I owuln't touch it. Or start by experimenting in a VM. Best wishes, Sébastien. ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
On Thu, 16 Dec 2021, Sébastien Hinderer wrote: > Is it pulseaudio that you use to output speech? On my main workstation: no. On my RPi: possibly, I'm not sure. > Does it run as root on your system? Last time I consciously used it, then yes it did. That required a few config changes though. I remember it wasn't easy. > If so, does speech-dispatcher run as > root as well, assuming that's what you are using to deal with speech? I'm using brltty's espeak driver directly. I want speech with minimum latency. > Do you also have applications running as your own user and connecting to > speech-dispatcher, like orca? Maybe. Last time I was successful in making Orca work, it used its own speech output separate from BRLTTY's with ALSA or PulseAudio doing the audio multiplexing/mixing. I try to stay in the text console as much as possible though, so I'm not a good reference about Orca usage. Nicolas___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
Many thanks for your clarifications, Nicolas. I do believe that what you are describing is the best way to go, i.e. having a good integration between speech and braille. Is it pulseaudio that you use to output speech? Does it run as root on your system? If so, does speech-dispatcher run as root as well, assuming that's what you are using to deal with speech? Do you also have applications running as your own user and connecting to speech-dispatcher, like orca? Best wishes, Sébastien. ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
On Wed, 15 Dec 2021, Sébastien Hinderer wrote: > Hi Nicolas and many thanks for your testimonial! > > IS it brltty that you use to control the speech synthesis system, or > do you use two different screen readers, one for speech and brltty for > braille? Speech is controlled by brltty. The integration of both is much better this way. I can move the braille window around and have its content spoken automatically. I can control speech with the braille terminal's keys, I can have the whole screen read out loud with the braille window following along, etc. Nicolas___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
Hi Nicolas and many thanks for your testimonial! IS it brltty that you use to control the speech synthesis system, or do you use two different screen readers, one for speech and brltty for braille? Cheers, Sébastien. ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
On Wed, 15 Dec 2021, Sébastien Hinderer wrote: > I'm a full-time braille user aspiring to experiment with audio to see > whether that could bring a gain either in productivity, or in saving > energy or perhaps even both. I've been using braille and speech simultaneously since the day I couldn't use a screen monitor any longer. Speech output is much faster than one can read braille, and braille is unbeatable when text layout and special characters are in play. So using both in parallel is the ultimate productivity setup as far as I'm concerned. Nicolas___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
Jason White (2021/12/15 08:32 -0500): > > On 8/12/21 13:05, Sébastien Hinderer wrote: > > I would really like to be able not to use pulse audio, but unfortunately > > I am using GUI so I am not sure this is really an option. > > I switched to Pipewire and Orca continued to work as desired - so I don't > understand why you think this isn't an option. Just avoid Pipewire 0.3.41 > until a regression is fixed. 0.3.40 is fine though. Because, when I wrote this, I didn't know ther ewas the possibility to use speech-dispatcher with pipewire. Well as far as I understand it, it still uses Pulse Audio in a way because, at the moment, speech-dispatcher does not implement a pipewire output method so one has to install pipewire-pulse (on Debian) so that pipewire emulates a pulseaudio interface speech-dispatcher can connect to. Or am I missing something? > One of the many advantages of using a braille display is that it allows you > to interact with your system without working audio. I know that, of course. I'm a full-time braille user aspiring to experiment with audio to see whether that could bring a gain either in productivity, or in saving energy or perhaps even both. Sébastien. ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
Sébastien Hinderer writes: > It seems the cleanest solution is to switch from PulseAudo to PipeWire > so I'll have to continue experimenting with that. Whatever you do, switching *away* from PulseAudio is likely the right solution. Even no sound is better then trying to use PulseAudio. -- CYa, ⡍⠁⠗⠊⠕ ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
Hello Halim and many thanks to all for your help. It seems the cleanest solution is to switch from PulseAudo to PipeWire so I'll have to continue experimenting with that. Best wishes, Sébastien. ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
Many thanks for your response Halim. I would really like to be able not to use pulse audio, but unfortunately I am using GUI so I am not sure this is really an option. Best wishes, Sébastien. ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
Hi again, if you're using a desktop as well you can reconfigure pulseaudio to store it's socket in /tmp. That way you can access one running pulseaudio from diferent user accounts. Another dirty hack is to set dmix for pulseaudio. That way it can not block the audio device and speechd can use alsa at the same time with pulseaudio. To get this working edit /etc/pulse/default.pa and search the line #load-module module-alsa-sink uncomment that line by remove the # and change it to load-module module-alsa-sink device=dmix a 3rd method: set a symlink so that user root can use speech-dispatcher of the desktop user. 1. logon as root 2. ln -sf /run/user/1000/speech-dispatcher/speechd.sock ~/.cache/speech-dispatcher/speechd.sock In Ubuntu 20.04 LTS> I use the last described setup. BR. Halim ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
Re: [BRLTTY] Making brltty speak
Hi Sébastien, if you want to use only plain consoles set audiooutputmethod in speechd.conf to EG. libao and uninstall pulseaudio. BR. Halim ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty
[BRLTTY] Making brltty speak
Dear all, I'd like to try using brltty with speech-dispatcher. Currently, it seems my system is configured to have each user run its own speech-dispatcher that uses a per-user instance of pulse-audio for output. Given that brltty runs as root, is it required that speech-dispatcher and pulseaudio also run as root? If somebody has hints about how to set this up on Debian I'd be interested. Thanks, Sébastien. ___ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@brltty.app For general information, go to: http://brltty.app/mailman/listinfo/brltty