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

Paul Gevers elbrus at debian.org
Tue Jan 15 20:05:00 GMT 2019


Hi Samuel,

On 01-01-2019 20:32, Samuel Thibault wrote:
> 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

On January 1, I could reproduce that straight away, now I can't (maybe
nothing else is asking for sound).

>>> 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.

I couldn't reproduce this anymore, but as the first part also sometimes
fails to reproduce I don't know what that means.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/tts-project/attachments/20190115/e276f4f1/attachment.sig>


More information about the Tts-project mailing list