Generate Audio

AnkiWeb addon 1056834290

Automatically generates MP3 pronunciation audio for vocabulary terms via macOS say and ffmpeg, inserting it into notes' Audio fields, with deck, language, voice, replacement, and IPA options.
AI-generated summary; may contain mistakes.

card-creation

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-04-29
Anki versions
25.02.7~
License
GPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2026-04-29 (186 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 0 open, 4 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.02.7+2026-04-29
History across monthly snapshots

Loading…

Similar addons

Audio File Speed Control

Permanently speeds up card audio files with pitch preservation via FFmpeg, offering previews, batch processing, skip-processed handling, and one-click undo while preserving originals.

note-management

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 1 Anki 2.1.66~ Updated 2026-02-18
Audio Normalizer

Measures card audio and creates verified, volume-adjusted copies for consistent loudness, with batch, preview, automatic, and original-restoring options.

note-managementbeta

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 26.05~ Updated 2026-08-12

Description

This Anki add-on automatically generates audio files for vocabulary terms using your macOS system's built-in say command, then converts the audio to MP3 using ffmpeg. It's designed to make it quick and easy to add pronunciation audio to your flashcards without leaving Anki. Version 1.3 now includes IPA generation.

README

Anki Generate Audio for Terms

This Anki add-on automatically generates audio files for vocabulary terms using your macOS system's built-in say command, then converts the audio to MP3 using ffmpeg. It's designed to make it quick and easy to add pronunciation audio to your flashcards without leaving Anki.


πŸ”§ Requirements

  • Anki 2.1.65+ (compatible with Qt6)
  • macOS with the say command available (default on macOS)
  • ffmpeg installed and accessible at /opt/homebrew/bin/ffmpeg (typically installed via Homebrew)

πŸš€ What It Does

  • Scans selected decks in your collection for notes containing a term field.
  • Uses macOS's say command to generate AIFF audio for each term.
  • Converts the AIFF to MP3 using ffmpeg.
  • Attaches the MP3 as an [sound:filename.mp3] reference in the note's Audio field.
  • Skips notes with missing or empty terms.
  • Optionally replaces existing audio files if desired.

🧭 How to Use

  1. Open Anki and go to the Tools menu.
  2. Click on "πŸ”Š Generate Audio for Notes".
  3. Select one or more decks you want to scan.
  4. Choose whether to replace existing audio.
  5. Choose a language and voice for audio synthesis.
  6. The add-on will process the notes and attach the audio automatically.

πŸ—‚ Field Requirements

Your notes should have:

  • A term field (the word or phrase to pronounce)
  • An Audio field (where the sound tag will be inserted)

πŸ›  Troubleshooting

  • Make sure ffmpeg is installed:
    brew install ffmpeg
    
  • If say or ffmpeg fails, you may see a popup with the error. Ensure both tools are installed and accessible in your system PATH.

πŸ™ Credits

  • App designer: Frank Valenziano
  • Developer: ChatGPT
  • Source URL: https://github.com/frankvalenziano/AnkiAddonGenerateAudio
  • Anki Package: 1056834290

πŸ“„ License

This project is licensed under the GNU General Public License v3.0.
See the LICENSE file for full details.