clean-audio.py for Anki

clean-audio.py for Anki

Python script to remove leading and trailing silence from audio files in you Anki media collection

When grabbing audio for vocabulary from Forvo or recording it yourself you commonly end up with some leading and trailing silence which is kinda annoying when doing your Anki reviews.

This script will run over your Anki media collection and normalise the volume and trim leading and trailing silence and try and remove and short bursts of static from them as well. It remembers what it has processed before and stores it in your Anki media folder so it is preserved when you sync with the Anki cloud.

The source code is in github here and full instructions to use are here.

Quick start to fix Anki audio files

git clone https://github.com/darkstorm-lang/clean-audio.git
setup_env.bat
python clean-audio.py -a

Image courtesy of https://www.maxpixel.net/Hifi-Sound-Listen-Headphones-Music-Studio-Audio-4759560