aboutsummaryrefslogblamecommitdiffstats
path: root/src/epy_reader/speakers/base.py
blob: 7c1a8d5f7fd833134a8040b8db6fc3f0b00eb749 (plain) (tree)




















                                                                      
from typing import List


class SpeakerBaseModel:
    cmd: str = "tts_engine_binary"
    available: bool = False

    def __init__(self, args: List[str] = []):
        self.args = args

    def speak(self, text: str) -> None:
        raise NotImplementedError("Speaker.speak() not implemented")

    def is_done(self) -> bool:
        raise NotImplementedError("Speaker.is_done() not implemented")

    def stop(self) -> None:
        raise NotImplementedError("Speaker.stop() not implemented")

    def cleanup(self) -> None:
        raise NotImplementedError("Speaker.cleanup() not implemented")