From 84a26514005f7e234e4edafa861d2fac557125d8 Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Mon, 6 Jun 2022 17:58:06 +0100 Subject: [PATCH] Example of how to implement a custom TTS provider --- tts/example_tts.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tts/example_tts.py diff --git a/tts/example_tts.py b/tts/example_tts.py new file mode 100644 index 0000000..d297a59 --- /dev/null +++ b/tts/example_tts.py @@ -0,0 +1,9 @@ +## Your TTS imports, etc. + +# def run(text, filepath): +# Call your TTS on the text variable +# ... +# Save your TTS to the a file using the filepath variable. The engine assumes it will be an mp3 file. +# ... +# +# any extra functions you need \ No newline at end of file