TTS playback only for selected fields

165 views
Skip to first unread message

axel.m...@gmail.com

unread,
Nov 3, 2018, 10:39:59 PM11/3/18
to AnkiDroid
Hi! One great feature of AnkiDroid is the build-in TTS function to read card contents using Androids TTS Service.

But until now there doesn't seem to be the possibility to tell AnkiDroid which parts of the card it should read aloud. It always reads the whole card or nothing at all.

With CSS I can use the ":after" method to add content to my cards, leaving just the fields in the HTML code which I want to be read by TTS. The parts added via CSS will not be read.

But this gets quite a struggle the more complex a card is, so that I need a lot of JavaScript as well to avoid parts of the card being read.

Suggestion for the AnkiDroid devs: Please let the user choose which fields should be read by TTS. Similar to AwesomeTTS (uses an "tts" tag within the HTML) which unfortunately doesn't work on Ankidroid.

axel.m...@gmail.com

unread,
Nov 3, 2018, 10:42:44 PM11/3/18
to AnkiDroid
Oh, I just realized there is a similar thread just a few days ago. I didn't find that one with the search. So has there been a pull request already for the TTS feature?

serge...@gmail.com

unread,
Nov 4, 2018, 3:02:00 AM11/4/18
to AnkiDroid
ankidroid alpha (2.9) supports the tts tag, draft of the manual for 2.9 is here https://github.com/ankidroid/ankidroiddocs/blob/v2.9-preview/manual.asc

axel.m...@gmail.com

unread,
Nov 4, 2018, 7:06:09 AM11/4/18
to AnkiDroid
Wow, that's great news! Thank you for that information. So, is it safe to use the alpha version? Can I get it through the playstore?

Mike Hardy

unread,
Nov 4, 2018, 8:57:31 AM11/4/18
to anki-a...@googlegroups.com

The contributing page on the github wiki shows how to get alphas from the play store, they are forward and backwards compatible and pretty stable right now. We hope to be in beta with them soon

-Mike
--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-android...@googlegroups.com.
To post to this group, send email to anki-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/7b077885-2d5e-4c76-80ba-a5b0dd4bf552%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages