Pronounce Selected Text

AnkiWeb addon 275021693

Pronounces selected text or a fallback field via Alt+C using Azure/Edge neural voices, automatic language detection, and local audio caching.
AI-generated summary; may contain mistakes.

sync-integrationshortcutscard-templates

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-09-22
Anki versions
2.1.1~
Description language
en

Maintenance

active

  • Last update or commit was 9 days before the snapshot (2026-09-22).
  • The repository has 11 test files.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-09-22
History across monthly snapshots

Loading…

Similar addons

Translate & Pronounce Popup

Select a word, phrase, or sentence while reviewing to see a popup with translation, example sentences, and speech, with cached results and multiple providers.

sync-integrationdictionary

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 ⭐ 0 Anki 25.09.4~ Updated 2026-08-19
Edge TTS for Anki

Generates and inserts Microsoft Edge text-to-speech audio into Anki fields with one click, detecting dozens of languages and supporting caching, hotkeys, and configurable voices, rates, and volumes.

card-creationsync-integrationshortcuts

Rating 9 πŸ‘ 9 Β· πŸ‘Ž 0 ⭐ 8 Anki 25.02.6~ Updated 2026-09-14

README

Pronounce Selected Text

License: AGPL v3 Anki Platform

Instant, ultra-realistic text-to-speech pronunciation in Anki upon pressing Alt+C (configurable). Powered by Microsoft Azure / Edge Neural voices with automatic on-the-fly language detection.


Key Highlights

  • Dual-Mode Pronunciation:
    • Selection Mode: Highlight any word, clause, idiom, or full sentence across the Card Reviewer, Note Editor, or Card Browser and press Alt+C to hear it spoken instantly.
    • Fallback Field Mode (New!): Press Alt+C without selecting any text, and the add-on automatically pronounces a designated note field (default: "ItalianExample").
    • Smart Conjugation Matching: On verb conjugation cards, the add-on dynamically extracts the card's active grammatical person (e.g. Io, Tu, Loro) and pronounces the matching example field (e.g. "Loro example").
  • On-The-Fly Language Auto-Detection: Pure-Python zero-dependency detector automatically identifies the language (Italian, French, Spanish, German, Russian, English, Portuguese, Japanese, Chinese, etc.) and routes to the dedicated native monolingual voice.
  • Dedicated Native Monolingual Voices: Enforces neural TTS principles: defaults to dedicated native voices (it-IT-ElsaNeural, fr-FR-DeniseNeural, es-ES-ElviraNeural, de-DE-KatjaNeural, ru-RU-SvetlanaNeural, en-US-JennyNeural) to prevent English phonetic leakage on shared vocabulary.
  • Dynamic SSML Locale Integrity: Root <speak xml:lang='...'> dynamically matches the detected voice locale for authentic native intonation.
  • Multi-Layout Keyboard Support (English & Russian): Built-in physical key code and Cyrillic mapping. Alt+C works seamlessly whether your active keyboard layout is English or Russian.
  • Zero-Restart Live Configuration: Adjust shortcut, volume, or fallback fields in Tools β†’ Add-ons β†’ Config and changes apply immediately on-the-fly without restarting Anki.
  • Instant Disk Caching (<1 ms): Caches synthesized audio locally. Repeat reviews play instantly without network requests.
  • Audio Preemption: Rapid keypresses cleanly terminate previous playback so new audio begins immediately.
  • 100% Standalone: Self-contained with bundled dependencies. Zero setup or API keys required.
  • Right-Click Context Menu: Also adds a "Pronounce Selected Text (Alt+C)" action to the reviewer context menu.

Default Shortcut & Configuration

Default shortcut is Alt+C.

To customize the shortcut or adjust settings, go to Tools β†’ Add-ons β†’ Pronounce Selected Text β†’ Config:

{
  "shortcut": "Alt+C",
  "volume": 140,
  "audio_output": "pipewire,pulse",
  "speed": 1.0,
  "show_tooltip": false,
  "fallback_field": "ItalianExample",
  "debug_log": true
}

Prerequisites

Ensure mpv is installed on your Linux distribution:

  • Arch Linux / Omarchy: sudo pacman -S mpv
  • Ubuntu / Debian: sudo apt install mpv
  • Fedora: sudo dnf install mpv

License

GNU Affero General Public License v3.0 (AGPL-3.0). See LICENSE for details.