Skip to main content

Langki Built-in features

The Langki template also comes with out-of-the-box support for text-to-speech, speech-to-text, and speech analysis features.

To convert text to speech, use the syntax ((tts:text)) or ((tts_autoplay:text)). The autoplay version will automatically play the audio when the card is rendered. Additionally, ((speech)) and ((speech:script)) are used when you want to integrate speech analysis into the flashcard.

For example, this is a flashcard used for shadowing practice (listen and repeat).

Similarly, this is a flashcard for speaking practice. The difference is that this flashcard uses unscripted speech analysis.

To use the speech-to-text feature, simply click the microphone icon next to the input field. For unscripted speech, speech-to-text is much faster than speech analysis.

note

Due to security concerns, the WebView on AnkiDroid and AnkiMobile do not support recording, so speech-to-text and speech analysis features are unavailable on these platforms. If you want to use these features on a smartphone, we recommend using AnkiWeb instead.