8000 Featurerequest: "stop" that stops the speech · Issue #4 · grigi/talkey · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 27, 2026. It is now read-only.
This repository was archived by the owner on Jul 27, 2026. It is now read-only.

Featurerequest: "stop" that stops the speech #4

Open

Description

@chrys87

Howdy,

i m currently writing an console screenreader and want to make a speech driver based on your amazing speech framework.
to make this real i would need a "stop" function to interrupt speech.
could that be done?

Activity

  1. grigi commented on Aug 23, 2017

    @grigi
    Owner

    Hi

    Currently it blocks on playing the audio, so by interrupting that, it should stop it?

    On linux a HUP to the aplay instance should do it. The question is, how do you plan to send it a "stop" command if it blocks?

    Could you tell me more about what you are doing?

  2. chrys87 commented on Aug 23, 2017

    @chrys87
    Author

    Howdy,

    about the blocking problem. i would start "say" in an thread for example.
    maybe we also can add an non blocking say call as well :).
    i have an "generic" speech driver for my screen reader that is basically using sub-processing.
    you can find it here if you are interested in:
    https://raw.githubusercontent.com/chrys87/fenrir/master/src/fenrir/speechDriver/genericDriver.py
    currently i have an speech-dispatcher, an espeak and the generic back end. i also want to add a back end using your awesome bindings to increase the number of possibility's and TTS Engines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0