aboutsummaryrefslogtreecommitdiffstats
path: root/src/epy_reader/speakers/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/epy_reader/speakers/base.py')
-rw-r--r--src/epy_reader/speakers/base.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/epy_reader/speakers/base.py b/src/epy_reader/speakers/base.py
new file mode 100644
index 0000000..7c1a8d5
--- /dev/null
+++ b/src/epy_reader/speakers/base.py
@@ -0,0 +1,21 @@
+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")