Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.06 KB

README.md

File metadata and controls

40 lines (23 loc) · 1.06 KB

manim-speech

This is a Manim plugin for generating voiceovers for your Manim animations.

It currently supports Azure Text to Speech.

Install

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

Configure

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="..."

Examples

See the examples directory.