desbma / GoogleSpeech

Read text using Google Translate TTS API
GNU Lesser General Public License v2.1
161 stars 37 forks source link

how to add PAUSE feature? #13

Closed crysman closed 6 years ago

crysman commented 6 years ago

hello, anyone familiar with the source code... how to add PAUSE feature? (e.g. by pressing "Pause/Break" key)? Thanks

desbma commented 6 years ago

Hi,

Currently SoX is used to play audio, and there is no pause feature.

If you are on a Unix system you could try to send signals to the player process, see here for example.