AnkiWeb
- Rating
- 0 (π 0 Β· π 0)
- Updated
- 2023-03-21
- Anki versions
- 2.1.60~
- Description language
- en
AnkiWeb addon 978983582
Adds basic speech-dispatcher support to Anki via spd-say, with limitations: hardcoded en_US, no field TTS speed control, and no review-read disable config.
Open on AnkiWeb GitHub Ask about alternatives
abandoned
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.60 | + | 2023-03-21 |
Loadingβ¦
Fetches examples from massif.la, connects to a local TTS server to generate audio, and updates hardcoded deck fields with text and audio via hotkeys, mainly for personal use.
Automatically reads card content aloud during reviews via neural text-to-speech, with offline system fallback, audio caching, text cleaning, and configurable speed, question, and answer settings.
Adds customizable in-review text-to-speech to Anki mobile by embedding JavaScript and user actions, letting you toggle, adjust speed/voices, and reuse pronunciation lists.
Automates Korean study fields by filling translations from a built-in English dictionary and audio from Google or NAVER, with basic and advanced note types.
Combines RSVP high-speed visual reading with offline native text-to-speech, pre-generating audio for zero-latency macOS playback, with Windows SAPI fallback and customizable pacing, pronunciation, and hotkeys.
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.
Adding speech-dispatcher support to Anki through an add-on. It uses spd-say to speak text, so if that works then this add-on should work.
This add-on is new and hasn't been extensively test. It assumes you have a properly configured speech-dispatcher and that spd-say works (this add-on uses the default voice). Some limitations which I hope to fix:
{{tts fr_FR:SomeField}}{{tts fr_FR speed=0.8:SomeField}}Speech Dispatcher is configured using separate config files. It allows for many customizations including different speech settings for different applications (Firefox, Emacs, and now Anki). It works with many TTS engines. If an engine is not already supported, the process of making a new one is relatively simple using the "generic output module". See the Configuration section of the speech-dispatcher Texinfo document for file locations and examples.
According to Anki's manual, multiple voices can be specified and Anki should use the first available one:
{{tts en_US voices=speechd,HyperTTS,gTTS,Apple_Otoya,Microsoft_Haruka:FieldName}}
Note: AnkiDroid doesn't yet support this sytax
old-attempt/ contains the first iteration which used the speechd python bindings. The current version uses subprocess and spd-say because, atleast on Debian 11.6, a separate package was required (python3-speechd). Future versions may return to the python bindings implementation.