[Tts-project] Bug#656828: speech-dispatcher: HelloWorld example only speaks 'once' using Python API

Samuel Thibault sthibault at debian.org
Tue Jan 1 19:32:46 GMT 2019


Control: tags -1 - confirmed
Control: tags -1 + moreinfo

Hello,

Paul Gevers, le sam. 04 janv. 2014 09:05:32 +0100, a ecrit:
> On 22-01-12 01:59, Tim Skillman wrote:
> > I tried the sample code given for the Python speech API which is
> > 
> > import speechd
> > client = speechd.SSIPClient('test')
> > client.set_output_module('festival')
> > client.set_language('en')
> > client.set_punctuation(speechd.PunctuationMode.SOME)
> > client.speak("Hello World!")
> > client.close()
> > 
> > 1) After running the script there was a pause and "Hello World" was spoken.
> 
> If I try this, the sound is awful. If I pause before close() than it
> sounds normal.

That part is most probably https://github.com/brailcom/speechd/issues/198

> > 2) I then stopped the script and ran it again and the script immediately
> > stopped with no errors and no speech!
> 
> Indeed, but if I pause before close() than the next time it works also.

I'm not getting this issue, does it still happen on your system? It
might have been fixed in the meanwhile.

Samuel



More information about the Tts-project mailing list