Generate Audio

AnkiWeb addon 1056834290

Generates pronunciation audio for vocabulary terms using macOS say, converts it to MP3 with ffmpeg, attaches it to Anki notes, and supports IPA generation.
AI-generated summary; may contain mistakes.

card-creation

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-04-29
Anki versions
25.02.7~
Description language
en

Maintenance

active

  • Last update or commit was 155 days before the snapshot (2026-04-29).

Will it work on my Anki?

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

Loading…

Similar addons

Vocab Miner

Generates formatted Anki cards from English words using Claude or ChatGPT, with example sentences, IPA, definitions, synonyms, vocabulary breakdowns, Google TTS audio, preview, and duplicate detection.

card-creationaiduplicatesdictionary

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.4~ Updated 2026-03-28

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.