diff --git a/README.md b/README.md
index 042a599..cd6a2b6 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,10 @@
- Develop an animation with an auto-generated AI voice without having to re-record and re-sync the audio.
- Record a voiceover and have it stitched back onto the video instantly. (Note that this is not the same as AI voice cloning)
+Here is a demo:
+
+https://user-images.githubusercontent.com/2453968/198145393-6a1bd709-4441-4821-8541-45d5f5e25be7.mp4
+
Currently supported TTS services:
- [Azure Text to Speech](https://azure.microsoft.com/en-us/services/cognitive-services/text-to-speech/) (Recommended)
@@ -21,7 +25,7 @@ Currently supported TTS services:
Install from PyPI with the extras `azure` and `gtts`:
```sh
-pip install manim-voiceover manim-voiceover[azure] manim-voiceover[gtts]
+pip install manim-voiceover "manim-voiceover[azure]" "manim-voiceover[gtts]"
```
Check whether your installation works correctly:
diff --git a/manim_voiceover/services/azure.py b/manim_voiceover/services/azure.py
index fd4b6e0..506d3c3 100644
--- a/manim_voiceover/services/azure.py
+++ b/manim_voiceover/services/azure.py
@@ -9,6 +9,17 @@
load_dotenv()
+def serialize_word_boundary(wb):
+ return {
+ "audio_offset": wb["audio_offset"],
+ "duration_milliseconds": int(wb["duration_milliseconds"].microseconds / 1000),
+ "text_offset": wb["text_offset"],
+ "word_length": wb["word_length"],
+ "text": wb["text"],
+ "boundary_type": wb["boundary_type"],
+ }
+
+
class AzureService(SpeechService):
def __init__(
self,
@@ -23,7 +34,9 @@ def __init__(
self.output_format = output_format
SpeechService.__init__(self, **kwargs)
- def generate_from_text(self, text: str, output_dir: str = None, path: str = None, **kwargs) -> dict:
+ def generate_from_text(
+ self, text: str, output_dir: str = None, path: str = None, **kwargs
+ ) -> dict:
inner = text
# Remove bookmarks
inner = re.sub("", "", inner)
@@ -119,17 +132,17 @@ def process_event(evt):
lambda evt: word_boundaries.append(process_event(evt))
)
- speech_synthesis_result = speech_service.speak_ssml(ssml)
+ speech_synthesis_result = speech_service.speak_ssml_async(ssml).get()
+
json_dict = {
"input_text": text,
"ssml": ssml,
- "word_boundaries": word_boundaries,
+ "word_boundaries": [serialize_word_boundary(wb) for wb in word_boundaries],
"original_audio": audio_path,
"json_path": json_path,
}
# open(json_path, "w").write(json.dumps(json_dict, indent=2))
-
if (
speech_synthesis_result.reason
== speechsdk.ResultReason.SynthesizingAudioCompleted
diff --git a/poetry.lock b/poetry.lock
index 441e7a2..53d0d82 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -70,11 +70,11 @@ typing-extensions = {version = "*", markers = "python_version <= \"3.8\""}
[[package]]
name = "colorama"
-version = "0.4.5"
+version = "0.4.6"
description = "Cross-platform colored terminal text."
category = "main"
optional = false
-python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
+python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
[[package]]
name = "colour"
@@ -247,14 +247,14 @@ test = ["pytest"]
[[package]]
name = "moderngl"
-version = "5.6.4"
+version = "5.7.0"
description = "ModernGL: High performance rendering for Python 3"
category = "main"
optional = false
python-versions = "*"
[package.dependencies]
-glcontext = ">=2,<3"
+glcontext = ">=2.3.6,<3"
[[package]]
name = "moderngl-window"
@@ -353,7 +353,7 @@ python-versions = "*"
[[package]]
name = "pyglet"
-version = "2.0b1"
+version = "2.0b2"
description = "Cross-platform windowing and multimedia library"
category = "main"
optional = false
@@ -2440,7 +2440,7 @@ watchmedo = ["PyYAML (>=3.10)"]
[[package]]
name = "zipp"
-version = "3.9.0"
+version = "3.10.0"
description = "Backport of pathlib-compatible object wrapper for zip files"
category = "main"
optional = false
@@ -2453,7 +2453,7 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools"
[metadata]
lock-version = "1.1"
python-versions = ">=3.7,<3.11"
-content-hash = "a3c84853468634a9551edf4cd053b25c6b1350b4ed1c25f288a96fd17cfc6878"
+content-hash = "335b54ffcb04faba09a7f2910372482ef34b44963888f4d7e0c3626371076eb3"
[metadata.files]
azure-cognitiveservices-speech = [
@@ -2488,8 +2488,8 @@ cloup = [
{file = "cloup-0.13.1.tar.gz", hash = "sha256:ea0acc67eed994b86e79b70d76bc2ea525b7f98f3cd8e63696896d549597ef4d"},
]
colorama = [
- {file = "colorama-0.4.5-py2.py3-none-any.whl", hash = "sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da"},
- {file = "colorama-0.4.5.tar.gz", hash = "sha256:e6c6b4334fc50988a639d9b98aa429a0b57da6e17b9a44f0451f930b6967b7a4"},
+ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},
+ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
]
colour = [
{file = "colour-0.1.5-py2.py3-none-any.whl", hash = "sha256:33f6db9d564fadc16e59921a56999b79571160ce09916303d35346dddc17978c"},
@@ -2656,63 +2656,44 @@ mapbox-earcut = [
{file = "mapbox_earcut-0.12.11.tar.gz", hash = "sha256:2808757f8a95eb816d3ce225528c9cb15355afe175f3bcb6837eb7700972e0b9"},
]
moderngl = [
- {file = "moderngl-5.6.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:186f8ab2b869c56f677dc87de0577a60790fb9306bd5149cedc433a39e9291e5"},
- {file = "moderngl-5.6.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:de252103b24a8dc40c7f6e1755e29bc9263c33b92141787b50c7ab0266c74906"},
- {file = "moderngl-5.6.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4bcfcec3bc3b9a1ee19e94fa524913fd45c37214ea69301a6911e8e53f966029"},
- {file = "moderngl-5.6.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5d76b0fb489a5dc6da591b979f8c471bb5b67409afaa9fe4569bc0abf25221f4"},
- {file = "moderngl-5.6.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_27_x86_64.whl", hash = "sha256:792ffe1ec233ed5fcfb0c14955a7f944d64c0d49713ff8b9c5fa3176d96f05c3"},
- {file = "moderngl-5.6.4-cp310-cp310-manylinux_2_24_x86_64.whl", hash = "sha256:1f9ed0bc0d706124a01be2ad59b5774bb3b023e61dcf39faf7c4c7ef4b9f4f75"},
- {file = "moderngl-5.6.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f7c2fce8b7a68f3df9189a19f424478e1d853cfd3e142efd1eb0d4cdf44148d7"},
- {file = "moderngl-5.6.4-cp310-cp310-win32.whl", hash = "sha256:0c6b482f678641e56bd44acecd10eddf74d2cd31e472eff6cca05493cf01e2c9"},
- {file = "moderngl-5.6.4-cp310-cp310-win_amd64.whl", hash = "sha256:28b517fc56c9ab9eb1f5833f7d7b1274d3719b962f95f55ccd8a0f6db884a92b"},
- {file = "moderngl-5.6.4-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:bc3764d67f037b67051871345a1d0b7a3d2c19cb5c0c0af0a84c532e802d6642"},
- {file = "moderngl-5.6.4-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:90006d9dfd5333da604a7d26b2a5e70e1a570f291cd745b8bf80e4833d8821b6"},
- {file = "moderngl-5.6.4-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:af44437545380a840dafd09658eb56592831dbd4fb481d320249d0d42c591bae"},
- {file = "moderngl-5.6.4-cp35-cp35m-win32.whl", hash = "sha256:b5023633bcbfbab90be6a6f4edcde75f9c1e244d9acbda94678f3e3fb238b363"},
- {file = "moderngl-5.6.4-cp35-cp35m-win_amd64.whl", hash = "sha256:ffc48fc4deeb525ed33a828d13ca4c12c5af8e5cb0449011f1802e18b5fc3c25"},
- {file = "moderngl-5.6.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:331fd4bce60b10a08eed81a3ed4c70b7c297c38f981fdf3968d03a1c892af247"},
- {file = "moderngl-5.6.4-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:1bd864b5cc2fc1255785e33575cec98fa5ded698503c4f8f3fa9230abeaa3a04"},
- {file = "moderngl-5.6.4-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:b22534529f5bc52c1fe43336787c06d51123ae978fb56e74e47cabd85056c934"},
- {file = "moderngl-5.6.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b5151ccf38af80ce8600eac089df1c814eb72aa99c8768307348c1a170104b7e"},
- {file = "moderngl-5.6.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ef57f65c639d12d534dce70e5c08965f0856ac371c669c7586904b8db6453eb"},
- {file = "moderngl-5.6.4-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0032c07b31bec50b26bba7ee7999e0f697000b31456bfa84391614bb92dba376"},
- {file = "moderngl-5.6.4-cp36-cp36m-win32.whl", hash = "sha256:ee5b1eced39d7f6dc68782c2abf01c1130a40b6d83d333d175ee71adbea7c721"},
- {file = "moderngl-5.6.4-cp36-cp36m-win_amd64.whl", hash = "sha256:52ee915a559762f0e992344961b35e0d241be32f8aa7464494e958f777e0534c"},
- {file = "moderngl-5.6.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:f83f6ab1fafdba2d9c06a7a1c8a4e460689ea1d514146606acc74f14e0831d93"},
- {file = "moderngl-5.6.4-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:c350e06affea9fabc636b2350cf6e58d83ee2e7264527eee0f5d142c167f5463"},
- {file = "moderngl-5.6.4-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:3eb65afc8ec4a1d4a4c48696fb0f4f6cf7a7ada6bef97818d717dbca73c57b11"},
- {file = "moderngl-5.6.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:61ec09bb3382d36e5ef3e627e85744b719db1175c3a3fdbadf9acde48eb1aca6"},
- {file = "moderngl-5.6.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:23b6b30c5a16807d9d2b92f343fcdca8713a88801d8afa985decd302bb6ef7e9"},
- {file = "moderngl-5.6.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5eb217b7726511d2382bfdd56b2a8ff5489aa7d1d73bf4f854343b07df286fa9"},
- {file = "moderngl-5.6.4-cp37-cp37m-win32.whl", hash = "sha256:4fd721eb83e73d34c3f7b5a11aec656fef461b51bbe7503b07ea27370c593cbd"},
- {file = "moderngl-5.6.4-cp37-cp37m-win_amd64.whl", hash = "sha256:01c71d94dbd59b5d37ead463991e2998c0924426cffa393b9da2b8334551c998"},
- {file = "moderngl-5.6.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:46e7e03360eafa77159e0d6142904de0d2e9400254414820bbc2d0ca16b14388"},
- {file = "moderngl-5.6.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:d2ec6ecd845f21ba44a08c11521cb71f2a9c2ea2ec189b7ed30d17837d392d70"},
- {file = "moderngl-5.6.4-cp38-cp38-manylinux1_i686.whl", hash = "sha256:40f74a2246e5302f93f2d46f76c0d2a26cbed1eb29731674c4052476f1e9c9ea"},
- {file = "moderngl-5.6.4-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:5e158e6881034c7e1d0c583d7c82ff608439606f2359dc6098e4be4fd93cef9d"},
- {file = "moderngl-5.6.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0eb8fb5efab2716938308732d16d0caf1a195015d84d73f2b73e3adacd228ba6"},
- {file = "moderngl-5.6.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:59907d8855dd3ccf1950e8f43f5a1a7cdd93910d8edf538bf52e62098be22360"},
- {file = "moderngl-5.6.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8037b6934843000d5fecd2b1933d3894687123fc9afdb19af52a9a628971163d"},
- {file = "moderngl-5.6.4-cp38-cp38-win32.whl", hash = "sha256:a28dc741469eeb69549ee85b4ddbf8e9cfca6a2b19ce0406df9fde20f78082c8"},
- {file = "moderngl-5.6.4-cp38-cp38-win_amd64.whl", hash = "sha256:ce87962b91635d857cac4a753c5d5f647d94dc66dcb0f090bb8d758fd226c3e8"},
- {file = "moderngl-5.6.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:d4c56e15a5fb29de0295891ec3b153e2bd8aeada0c0825135aa5851fa481ff28"},
- {file = "moderngl-5.6.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3fb139bcdd25eae2c546e5788e9d8719f6c4b18a2ba68a9df31699b4ac57d62d"},
- {file = "moderngl-5.6.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d9645afaa1704b2628d8a58be0760243d9954a62902283b176ea00a55b54eafe"},
- {file = "moderngl-5.6.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a3aaa15eb4d43b79e06a46945869feb13f325312ad63666ef2b7d3e216e3a09"},
- {file = "moderngl-5.6.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a07531c6b0f3da3058bd8927bc6c75eface98ce1416d8be4072b9b11b314b718"},
- {file = "moderngl-5.6.4-cp39-cp39-win32.whl", hash = "sha256:fc5cc1601a3df8f45f1901c6b9960731e0619d1781b0d036e12341fbf2ef55d3"},
- {file = "moderngl-5.6.4-cp39-cp39-win_amd64.whl", hash = "sha256:1c74b71c9acee9f0e69807a086d76e92f37c1960c3bb1d6a6e2472fd03f7be5b"},
- {file = "moderngl-5.6.4-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:1927a52fd3465c508045a1c4a8ea8c793399830d48458d431936f24f8827f136"},
- {file = "moderngl-5.6.4-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6d04747cc9a96f786d04c8a176d5d2cbb51159efd66287d0e676ac674f53e861"},
- {file = "moderngl-5.6.4-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d9092c50a2bb293be770f6f0ae5f1cb940848bf03682696c473a6d3f2c7710d2"},
- {file = "moderngl-5.6.4-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:571e524fde685e21dbe132f4eb7bb223cfc235dc917a4cf122bc44897be18e89"},
- {file = "moderngl-5.6.4-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:ee02dba4b32d7a165a36c797ce495d71deb085a7e29cfa7f1236fa7ccdfc6160"},
- {file = "moderngl-5.6.4-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:0c02fdd386c45ad5d5053a436da64181a7821a042f6665c4ae415edfbdfe244c"},
- {file = "moderngl-5.6.4-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3e2b40f1e11ee5f251a0d564e6a5d285ff91adf361e84f6912fc10959b92bd83"},
- {file = "moderngl-5.6.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1d5f918dda6dc1ec5465d7105b06c5525041fbc368df5d4636145006ce3d303"},
- {file = "moderngl-5.6.4-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8a6bd0e342388b931954671ccf8300ab36cc7d8c991547581efa6df5628bda8b"},
- {file = "moderngl-5.6.4-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:890caba3795a0288259d76a2cee014c6ffc00619bef179a8d0a87fd9c16a3729"},
- {file = "moderngl-5.6.4.tar.gz", hash = "sha256:8c6d04559f5e3bf75a18525cd46d213c0f3a8409363718978e6de691bdb551fb"},
+ {file = "moderngl-5.7.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8dfd4bdd45a379575f2617d58b41f3d26bbf745efd17e62f09ce234c7b9caede"},
+ {file = "moderngl-5.7.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9cdc3b901e6086db7967d5e1fa2ba38b96ccc169b50b1ddb56e1118b9350b701"},
+ {file = "moderngl-5.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:43daa419bfe6716cd0de78b7a0e454cc5b6e66dced30b0ce8e41b90e93e271ec"},
+ {file = "moderngl-5.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d3e1278d6a1d1f5705e8fe3b707d834e0fbc69ba5e52ffdb793b5a2d31d2b65d"},
+ {file = "moderngl-5.7.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:833d2ec5aa9eaef54bf2af826115ca156ecf2ed887c838da955bf2e4d3263bfb"},
+ {file = "moderngl-5.7.0-cp310-cp310-win32.whl", hash = "sha256:4aec9c13530bd251fa743da7899e4fc78f0fec1e656118c4af87ec9fb7ca2d99"},
+ {file = "moderngl-5.7.0-cp310-cp310-win_amd64.whl", hash = "sha256:f15229cd9d342f4b86727b8a69dcbe440145efed290b8ef0837d728d091ebbb5"},
+ {file = "moderngl-5.7.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:c838f770653d94234921f5653dde246d96d898e22040f1897dae75750949ca1d"},
+ {file = "moderngl-5.7.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2ffab1a06096de2336ed8002854b5b1639c7a5672e21b28a899a9ab7871c5eba"},
+ {file = "moderngl-5.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:301a6a32e14fcbc643cba95367f19e245aabb210db95b3508e2b5847785fa63a"},
+ {file = "moderngl-5.7.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:903576d4b686e2eb7fa773af31c4fe5cb840a0085be87c08299f4483d3bb6932"},
+ {file = "moderngl-5.7.0-cp37-cp37m-win32.whl", hash = "sha256:b29e51a4165355ae10b52c38b660101cb74a5d9ef8da4c5d29cc1b8bd516454b"},
+ {file = "moderngl-5.7.0-cp37-cp37m-win_amd64.whl", hash = "sha256:53e98fff2d20666d281e338d973e39d8c0b51f6230680e3c4d5c96c347e004de"},
+ {file = "moderngl-5.7.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6e537c492cbe3b92d3519cda97f9a2917371b2756bb647dbcccb3040cdf495eb"},
+ {file = "moderngl-5.7.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ecd3f5f3060f1075735b17ff30bdbe751b3cf87bc635381208591ce00033429b"},
+ {file = "moderngl-5.7.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:52c11c39aee0adceb2760b364730dcafa78e7b7da0141d927b1e8534d468cab3"},
+ {file = "moderngl-5.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:04e5cb209f8f5968d114e03c132788afb413098faed9e1321a7126fa7ca2ccc9"},
+ {file = "moderngl-5.7.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:58e10c8899d25945db2d777e7944f8b0a5acd056725d318d3f409bc8c47b99a6"},
+ {file = "moderngl-5.7.0-cp38-cp38-win32.whl", hash = "sha256:fe8c2a591334d201f2047907837348741ad6e16233932986ab9ded19f4bedb41"},
+ {file = "moderngl-5.7.0-cp38-cp38-win_amd64.whl", hash = "sha256:66d0689398cd16e5cb6075925dd6b9583064f09630e2718a725f12c308348b40"},
+ {file = "moderngl-5.7.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:b02506cee2bf9049b6dc3fa8e127d77723d0f0afaa167f384d1691e116dee32f"},
+ {file = "moderngl-5.7.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b60f8a838bb73489532c1ab72509850eff5586c528bfdfd336e2f4d148265b0f"},
+ {file = "moderngl-5.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a4e52111e0ec757f0d1f0feb8c1498287507c10d82d35815ced51291a4ff32f6"},
+ {file = "moderngl-5.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:30b49cd867b9b67a933bbfe05e8a626c3e490a32bd43e47561d14a7969d08efa"},
+ {file = "moderngl-5.7.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c70fa29265ee5886ac278bb049979bea9d20c4504eb436289019bc5e8311c01d"},
+ {file = "moderngl-5.7.0-cp39-cp39-win32.whl", hash = "sha256:232c5d3843ae26c58a9a2f4b4d1e731f037dd61755ab1fe00d0cc186a9ac9ff3"},
+ {file = "moderngl-5.7.0-cp39-cp39-win_amd64.whl", hash = "sha256:7060958eafdb6a0d27a2273839ca120e9e48891d905ee416817023421a0db176"},
+ {file = "moderngl-5.7.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:e2bf2dd0c6cbb7ab57d8c4ed94b5e993ee835f9cd378556bb1a909772e469e38"},
+ {file = "moderngl-5.7.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:846254df2e97fc51f18fe1f1faa51090bec669a26bd2970adcb1485689eb1a13"},
+ {file = "moderngl-5.7.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d818057300467728e38b441e890deec31574f737b54babf50f7c7854af78c8c4"},
+ {file = "moderngl-5.7.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:afe8ae2bf967c26fcfae3c59cfddfa528f2859be50d2b54b12a42ffb6a5fead6"},
+ {file = "moderngl-5.7.0-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:3d67f1d3294795e3e39823fdc53093027e7516d97a2c932e97c56061f23c9831"},
+ {file = "moderngl-5.7.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:2d1529e2a9289677076c0dd828053d4e926cb26cfd2e33aff68d7afb8f832a20"},
+ {file = "moderngl-5.7.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:20604a61e1ff42d978f0decbed0bb5ee27baef2609437d1da9d35efacd0f9520"},
+ {file = "moderngl-5.7.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:93d1cce616b636b0b553b2f4b77c3994fef0d181c90a6ed69ba2f3b5df34e967"},
+ {file = "moderngl-5.7.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:31e8ca1d30e604bfcd91c6c0bdc2251fe0bb398136f34fb71967062004632260"},
+ {file = "moderngl-5.7.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:501c98f7fde243ea3d35895c0b5aa59888c77b58c19d6a560daf2721386defe4"},
+ {file = "moderngl-5.7.0.tar.gz", hash = "sha256:3434d9e1ca268c963f744beb4ddc4747cf1f435959536cd2599e377fb62abd3f"},
]
moderngl-window = [
{file = "moderngl_window-2.4.2-py3-none-any.whl", hash = "sha256:19aca4048ca037bd9f2ca8b154ac15d07e90a05ad2d5fce32d746be8ffcc319d"},
@@ -2839,8 +2820,8 @@ pydub = [
{file = "pydub-0.25.1.tar.gz", hash = "sha256:980a33ce9949cab2a569606b65674d748ecbca4f0796887fd6f46173a7b0d30f"},
]
pyglet = [
- {file = "pyglet-2.0b1-py3-none-any.whl", hash = "sha256:820a4ea5854043afc65c36bba5431499892d56857e1c042dba2aa21d4e9b7ba2"},
- {file = "pyglet-2.0b1.zip", hash = "sha256:bf7add4cbecd1ce39df37983c3a7a8c015fd801734f5b3ad4cb34120eafec523"},
+ {file = "pyglet-2.0b2-py3-none-any.whl", hash = "sha256:5c5385aca126d9c97fb63c6e382abb68185921549759744ba53c22cee0e134eb"},
+ {file = "pyglet-2.0b2.zip", hash = "sha256:9607fe7f85313562738dfbf7af523db119c5b410caf76b35f8d4bd58132a32c3"},
]
Pygments = [
{file = "Pygments-2.13.0-py3-none-any.whl", hash = "sha256:f643f331ab57ba3c9d89212ee4a2dabc6e94f117cf4eefde99a0574720d14c42"},
@@ -3787,6 +3768,6 @@ watchdog = [
{file = "watchdog-2.1.9.tar.gz", hash = "sha256:43ce20ebb36a51f21fa376f76d1d4692452b2527ccd601950d69ed36b9e21609"},
]
zipp = [
- {file = "zipp-3.9.0-py3-none-any.whl", hash = "sha256:972cfa31bc2fedd3fa838a51e9bc7e64b7fb725a8c00e7431554311f180e9980"},
- {file = "zipp-3.9.0.tar.gz", hash = "sha256:3a7af91c3db40ec72dd9d154ae18e008c69efe8ca88dde4f9a731bb82fe2f9eb"},
+ {file = "zipp-3.10.0-py3-none-any.whl", hash = "sha256:4fcb6f278987a6605757302a6e40e896257570d11c51628968ccb2a47e80c6c1"},
+ {file = "zipp-3.10.0.tar.gz", hash = "sha256:7a7262fd930bd3e36c50b9a64897aec3fafff3dfdeec9623ae22b40e93f99bb8"},
]
diff --git a/pyproject.toml b/pyproject.toml
index 124719a..d44fa54 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "manim-voiceover"
-version = "0.1.0"
+version = "0.1.1"
description = "Manim plugin for all things voiceover"
authors = ["The Manim Community Developers "]
license = "MIT"
@@ -39,12 +39,13 @@ python = ">=3.7,<3.11"
manim = "^0.16.0.post0"
sox = "^1.4.1"
python-dotenv = "^0.21.0"
-azure-cognitiveservices-speech = { version = "^1.24.0", extras = ["azure"] }
mutagen = "^1.46.0"
pydub = "^0.25.1"
-gTTS = { version = "^2.2.4", extras = ["gtts"] }
-pyttsx3 = { version = "^2.90", extras = ["pyttsx3"] }
+[tool.poetry.extras]
+azure = ["azure-cognitiveservices-speech==^1.24.0"]
+gtts = ["gTTS==^2.2.4"]
+pyttsx3 = ["pyttsx3==^2.90"]
[tool.poetry.group.dev.dependencies]
Pygments = "^2.13.0"