Bug#656828: speech-dispatcher: HelloWorld example only speaks 'once' using Python API
Package: speech-dispatcher Version: 0.7-6.1 Severity: important 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. 2) I then stopped the script and ran it again and the script immediately stopped with no errors and no speech! 3) Sound continued to work for the rest of the system. It was only until I rebooted that speech would work - but only once as before. -- System Information: Debian Release: 6.0.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages speech-dispatcher depends on: ii adduser3.112+nmu2add and remove users and groups ii dpkg 1.15.8.11 Debian package management system ii install-info 4.13a.dfsg.1-6Manage installed documentation in ii libasound2 1.0.23-2.1shared library for ALSA applicatio ii libaudio2 1.9.2-4 Network Audio System - shared libr ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libdotconf1.0 1.0.13-3 Configuration file parser library ii libespeak1 1.43.03-2 A multi-lingual software speech sy ii libflite1 1.4-release-2 a small run-time speech synthesis ii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libpulse0 0.9.21-3+squeeze1 PulseAudio client libraries ii libspeechd20.7-6.1 Speech Dispatcher: Shared librarie ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip Versions of packages speech-dispatcher recommends: ii pulseaudio 0.9.21-3+squeeze1 PulseAudio sound server Versions of packages speech-dispatcher suggests: pn speech-dispatcher-doc-cs (no description available) pn speech-dispatcher-festival (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#656828: speech-dispatcher: HelloWorld example only speaks 'once' using Python API
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 signature.asc Description: OpenPGP digital signature
Bug#656828: speech-dispatcher: HelloWorld example only speaks 'once' using Python API
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
Bug#656828: speech-dispatcher: HelloWorld example only speaks 'once' using Python API
Control: tags -1 confirmed Control: severity -1 normal 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. > 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. > 3) Sound continued to work for the rest of the system. It was only until I > rebooted that speech would work - but only once as before. Also killing speech-dispatcher solves the problem if it hangs. Can you confirm my observations? Paul signature.asc Description: OpenPGP digital signature