#68 · Primary category: Speech & Audio

aeneas

alignment audio cli dtw espeak espeak-ng festival ffmpeg forced-alignment linux macos nlp python smil speech srt text text-to-speech tts windows

aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)

Project last updated:07/25/26

GitHub Stars

2.9K

Forks

275

Contributors

8

License

AGPL-3.0

Why we included this project

aeneas takes an audio recording of someone reading a text and produces a timestamp map that links each line or phrase to the exact moment it is spoken, a task known as forced alignment. It matches speech recognition features (MFCC) against the text with dynamic time warping, and when no transcript alignment exists, it synthesizes the reference audio using a TTS engine. It can export SRT and VTT captions, SMIL for EPUB 3 read-along ebooks, and TextGrid and other formats used in linguistic research. Anyone building audiobook apps, karaoke-style readers, subtitle generators, or spoken-language datasets can wire the CLI or Python API into their pipeline. The tool handles 38 languages and batch jobs, and the docs walk through everything from a single file up to multi-level word and sentence alignment.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category