A Keyboard Maestro macro to edit Anki sound file
Often when I import a pronunciation file into Anki, from Forvo for example, the volume isn’t quite right or there’s a lot of background noise; and I want to edit the sound file. How?
The solution for me, as it often the case is a Keyboard Maestro macro.
Prerequisites
- Keyboard Maestro - if you are a macOS power user and don’t have KM, then your missing on a lot.
- Audacity - the multi-platform FOSS audio editor
Outline of the approach
Since Keyboard Maestro won’t know the path to our file in Anki’s collection.media
directory, we have to find it. But the first task is to extract the filename. In the Anki note field, it’s going to have this format: