CardCast: MP3 Audio Generator for Commuting

AnkiWeb addon 1697388828

Exports selected flashcards' existing audio into one continuous MP3 with custom field order, configurable pauses, and saveable presets, requiring FFmpeg.
AI-generated summary; may contain mistakes.

export

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-02-25
Anki versions
25.09.2~
License
MIT (from the GitHub repository)
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-02-25 (249 days before the snapshot).
  • Commits in the last year: 4.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
23.1025.09.2+2026-02-25
History across monthly snapshots

Loading…

Similar addons

Export Card to Audio

Converts selected Anki notes into MP3 audio files using existing field audio or text-to-speech, with configurable front/back fields, languages, delays, playback patterns, beep, and save directory; Windows only.

export

8 votes 68% approval πŸ‘ 8 Β· πŸ‘Ž 0 ⭐ 1 Anki 24.04.1~ Updated 2025-08-24
Ambient Soundscapes

Plays user-provided looping ambient background sounds during Anki study, with menu controls for enabling, selecting soundscapes, adjusting volume, and remembering settings.

motivation

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.36~ Updated 2025-05-28
Anki Deck Audio Extractor

Extracts all audio files (.mp3, .ogg, .wav, .m4a) from any selected Anki .apkg package into a chosen folder via Tools menu, reporting a summary.

export

3 votes 21% approval πŸ‘ 2 Β· πŸ‘Ž 1 ⭐ 1 Anki 25.02~ Updated 2025-05-29

Description

Listen to your Anki decks anywhereβ€”no screen required.

CardCast is a powerful batch-audio exporter that stitches the existing audio files on your flashcards into a single, continuous MP3 track. It is perfect for language learners, medical students, or anyone who wants to review their decks while driving, walking, or at the gym.

🌟 Key Features

  • Custom Field Ordering: A drag-and-drop interface lets you choose exactly which audio fields play, and in what order (e.g., play the Target Language word, then the Target Language sentence).
  • Granular Pause Control: Set specific pause durations (in seconds) between individual fields, and between different cards, to give your brain time to think.
  • Smart Generation: Choose to process "Unique Notes" (so a note with 3 card variants only plays once) or "Every Card".
  • Persistent Presets: Save your configurations for different decks (e.g., "Vocab Deck", "Medical Deck") so you don't have to set them up every time.

⚠️ IMPORTANT REQUIREMENTS (Please Read)

  1. FFmpeg is Required: Because this add-on merges and injects silences into audio files, you MUST have FFmpeg installed on your system.
    • Mac: Open Terminal and run brew install ffmpeg
    • Windows: Download from the official FFmpeg site and add it to your system PATH.
  2. This is an Audio Merger, not a TTS Generator: CardCast stitches together existing [sound:...] tags on your cards. If your cards only contain plain text, you need to generate audio fields first using an add-on like HyperTTS or AwesomeTTS.

βš™οΈ How to Use

  1. Open your Anki Browse window.
  2. Select the cards you want to listen to.
  3. Right-click and select "Generate CardCast Audio..."
  4. Configure your pauses, select your save location, and hit OK!

Support & Open Source
This add-on is completely free and open-source (MIT License).
GitHub Link: kazemihabib/Anki-CardCast

README

CardCast for Anki

CardCast is an Anki add-on that allows you to batch-export the audio from your flashcards into a single, continuous MP3 file.

Note: CardCast merges existing audio fields. It does not generate Text-to-Speech (TTS) from plain text itself. If your cards only contain text, you will need to generate audio fields first using an add-on like HyperTTS.

CardCast Configuration Window

Why it exists

Reviewing flashcards usually requires staring at a screen. CardCast was built to make studying hands-free. By stitching together the audio fields of your cards (with customizable pauses in between), you can listen to your Anki card while commuting, walking, or at the gym.

Prerequisites

To stitch the audio files together, this add-on requires FFmpeg to be installed on your system.

  • Mac: Install via Homebrew: brew install ffmpeg
  • Windows/Linux: Download from the official FFmpeg site and ensure it is added to your system PATH.

Installation

The easiest way to install CardCast is through AnkiWeb.

  1. Open Anki and navigate to Tools -> Add-ons.
  2. Click on Get Add-ons....
  3. Paste the code: 1697388828
  4. Click OK to download.
  5. Restart Anki to complete the installation.

View the add-on page on AnkiWeb.

How to Use

  1. Open the Browse window in Anki.
  2. Select the cards you want to export.
  3. Right-click the selected cards and choose Generate CardCast Audio...
  4. In the dialog box:
    • Choose to process by Unique Notes or Every Card.
    • Drag and drop your audio fields into the exact order you want them played.
    • Set the pause durations (e.g., 0.5 seconds between fields, 1.0 seconds between cards).
    • Choose where to save the MP3.
  5. Click OK.

Development Setup

1. Link to Anki

Instead of copying files back and forth, create a symbolic link (symlink) from this repository directly into Anki's add-on folder.

For Mac:

ln -s /path/to/your/repo/cardcast "~/Library/Application Support/Anki2/addons21/cardcast"

(Make sure Anki is closed and there isn't already a cardcast folder in the addons21 directory before running this).

2. Python Environment

  1. Ensure you have uv installed.
  2. In the root of this repository, run:
uv sync

Whenever you make changes to cardcast/__init__.py, simply restart Anki to see your changes live.

3. Building for Release

To package the add-on for sharing (via AnkiWeb or direct download), use the included build script. It will safely zip only the necessary files into a .ankiaddon package, ignoring your development environment.

Open your terminal in the root of the project repository.

sh build.sh

This will generate a cardcast_release.ankiaddon file in your project folder, which is ready to be uploaded to AnkiWeb or shared directly.

Make the script executable (you only need to do this once):

Disclaimer

This tool is being developed for personal use, quickly and mostly by AI. Please use at your own risk.

License

This project is licensed under the MIT License.