Re: speech-dispatcher audio output using gstreamer (idea)
- From: Luke Yelavich <themuso ubuntu com>
- To: gnome-accessibility-list gnome org
- Subject: Re: speech-dispatcher audio output using gstreamer (idea)
- Date: Thu, 12 Nov 2009 08:03:07 +1100
On Thu, Nov 12, 2009 at 03:19:11AM EST, Rui Batista wrote:
> This could be my crazyest idea ever but I'd like to propose it and know
> the pros and cons of it.
> Since orca would enevitably switch to speech-dispatcher for it's speech
> output and speech-dispatcher audio code, at least for pulseaudio, is a
> bit bad, how about switching to gstreamer for outputing audio? I don't
> know if gstreamer is suitable to such high real-time requirements but at
> least most of the audio stuff is already done... And implementing some
> king of recording speech and so one is trivial.
> What do you all think? Sorry if it is stuppid...
Its not a stupid idea at all, however there are a coupel of reasons why its probably not worth exploring, at least from my point of view.
1. It introduces a lot more external dependencies to speech-dispatcher. Sure one doesn't have to build gstreamer support, however if a distro wants to satisfy two sets of users, those whowant a minimalist embedded system, and a desktop usage system with the one package, this makes things complicated, to the point where they would likely not build gstreamer support in the first place.
2. The pulseaudio problems are fixable, it just requires a bit of work to re-adjust the buffering metrics used in the speech synthesizer drivers, and the pulseaudio output code itself. Basically it comes down to dynamically re-adjusting buffers according to what pulseaudio says its doing for buffering. So I think its easier to fix code already written, then to write new output code from scratch, which may take time to get to the point where it runs as well as other output code.
I wouldn't be against someone writing a patch to support gstreamer, and I'd be happy to test it, however I don't think its a good use of time at this point. Such time in my opinion, is better spent helping with issues elsewhere in either speech-dispatcher, or Linux accessibility.
] [Thread Prev