AnkiWeb
- Rating
- 0 (π 0 Β· π 0)
- Updated
- 2026-09-12
- Anki versions
- 23.09~
- Description language
- en
AnkiWeb addon 704375187
Registers a Linux TTS player for native Anki {{tts}} tags, using Azure/Edge Neural or gTTS synthesis with espeak-ng fallback and local caching.
Open on AnkiWeb GitHub Ask about alternatives
active
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.45 | 23.09+ | 2026-09-12 |
Loadingβ¦
Pronounces selected text or a fallback field via Alt+C using Azure/Edge neural voices, automatic language detection, and local audio caching.
Plays audio from a local dictionary, then online gTTS, then offline Piper TTS, with cycling, smart caching, and failover.
Provides third-party text-to-speech support for Anki 2.1.20+, letting card templates read fields aloud via documented TTS template syntax.
Plays locally generated Kokoro TTS audio through Kokoro-FastAPI, configured with a URL and language-voice mappings, reducing Linux cloud TTS latency and network/profile restart issues.
Automates Standard German and Riograndense Hunsrik Anki card creation by auto-filling translations, grammar, gender, plurals, IPA, Google TTS audio, and fallback translation using local dictionaries.
Planned wrapper for aeneas to synchronize text with audio and create subtitles for importing audiobooks into Anki; currently has no code and does nothing.
Ultra-realistic Microsoft Azure / Edge Neural Text-to-Speech for Anki on Linux. Works seamlessly with native {{tts}} tags without requiring any API keys or paid subscriptions.
say command built into Anki.When you download shared decks or sync decks created on iOS, macOS, or Android, they frequently include tags like:
{{tts it_IT voices=Apple_Federica_(Premium),com.google.android.tts-it-it-x-itb-local:ItalianWord}}
{{tts fr_FR voices=Apple_Audrey_(Premium),Microsoft_Vivienne:FrenchWord}}
On Linux, these tags either fail completely into silence, or fall back to robotic, metallic voices. Heavy add-ons often require setting up cloud API keys, monthly subscriptions, or complicated menus.
Linux TTS Player bridges this gap:
it, it-IT, it_IT, ita (ISO 639-1, 639-2/3, BCP 47).Apple_*), Android (com.google.android.tts-*), and Microsoft voices to their corresponding Azure Neural voices.espeak-ng.mpv integrated with PipeWire and PulseAudio, including volume compensation.Includes 322 Microsoft Azure / Edge Neural voices across 142 locales (all bundled offline in voices.json).
| Language | Default Neural Voice | Gender | Additional Included Voices |
|---|---|---|---|
Italian (it_IT) |
it-IT-ElsaNeural |
Female | it-IT-DiegoNeural (M), it-IT-IsabellaNeural (F), it-IT-GiuseppeMultilingualNeural (M) |
French (fr_FR) |
fr-FR-VivienneMultilingualNeural |
Female | fr-FR-DeniseNeural (F), fr-FR-HenriNeural (M), fr-FR-EloiseNeural (F), fr-FR-RemyMultilingualNeural (M) |
French Canada (fr_CA) |
fr-CA-SylvieNeural |
Female | fr-CA-JeanNeural (M), fr-CA-AntoineNeural (M), fr-CA-ThierryNeural (M) |
English US (en_US) |
en-US-JennyNeural |
Female | en-US-GuyNeural (M), en-US-AriaNeural (F) |
English UK (en_GB) |
en-GB-SoniaNeural |
Female | en-GB-RyanNeural (M) |
German (de_DE) |
de-DE-KatjaNeural |
Female | de-DE-ConradNeural (M) |
Spanish Spain (es_ES) |
es-ES-ElviraNeural |
Female | es-ES-AlvaroNeural (M) |
Spanish Mexico (es_MX) |
es-MX-DaliaNeural |
Female | es-MX-JorgeNeural (M) |
Russian (ru_RU) |
ru-RU-SvetlanaNeural |
Female | ru-RU-DmitryNeural (M) |
Japanese (ja_JP) |
ja-JP-NanamiNeural |
Female | ja-JP-KeitaNeural (M) |
Portuguese (pt_BR) |
pt-BR-FranciscaNeural |
Female | pt-BR-AntonioNeural (M) |
Chinese (zh_CN) |
zh-CN-XiaoxiaoNeural |
Female | zh-CN-YunxiNeural (M) |
All standard languages supported by gTTS and espeak-ng are also supported as automatic fallbacks.
Make sure mpv is installed on your Linux distribution:
sudo pacman -S mpvsudo apt install mpvsudo dnf install mpv(Optional) For offline fallback: sudo pacman -S espeak-ng or sudo apt install espeak-ng.
.ankiaddon File (Recommended)linux_tts_player.ankiaddon from the Releases page.linux_tts_player.ankiaddon and restart Anki.cd ~/.local/share/Anki2/addons21/
linux_tts_player:git clone https://github.com/argrig666/anki-linux-tts-player.git linux_tts_player
In Anki, navigate to Tools β Add-ons β select Linux TTS Player (Edge Neural & Azure Speech) β click Config.
{
"default_voices": {
"it_IT": "it-IT-ElsaNeural",
"fr_FR": "fr-FR-VivienneMultilingualNeural",
"en_US": "en-US-JennyNeural"
},
"volume": 140,
"audio_output": "pipewire,pulse",
"debug_log": false
}
default_voices: Choose your preferred voice for any language when a card template uses general tags like {{tts it_IT:Word}}.volume: Adjust software playback gain (default: 140%).audio_output: Set mpv audio driver (default: "pipewire,pulse").debug_log: Set to true to log synthesis events to user_files/debug.log.flowchart TD
A["Card Review ({{tts it_IT voices=...:Field}})"] --> B["LinuxTTSPlayer Voice Resolver"]
B --> C{"Check Local Cache"}
C -- "Hit (< 1 ms)" --> F["Direct mpv Subprocess Playback (PipeWire)"]
C -- "Miss (New Card)" --> D["edge-tts Neural Synthesis (~500 ms)"]
D -- "Success" --> E["Save MP3 to Cache"]
D -- "Network Error" --> G["gTTS / espeak-ng Fallback"]
G --> E
E --> F
GNU Affero General Public License v3.0 (AGPL-3.0). See LICENSE for details.
Includes dependencies under vendor/ according to their respective open-source licenses.