This is a Manim plugin for generating voiceovers for your Manim animations.
It currently supports Azure Text to Speech.
This plugin requires that SoX version 14.4.2 or higher is installed.
To install SoX on Mac with Homebrew:
brew install sox
On Debian based distros:
sudo apt-get install sox
or install from source.
Once SoX is installed, proceed with installing manim-speech
:
python setup.py install
Create a file called .env
in the same directory where you call Manim with your authentication information.
For Azure, you need to specify your subscription key and service region. Check out Azure docs for more details.
AZURE_SUBSCRIPTION_KEY="..."
AZURE_SERVICE_REGION="..."
See the examples directory.