Skip to content

Voices

Kx Markdown can associate a voice with practice content.

Use v to select a voice:

- Buenos días. [v:H]
- Hola. [v:L]
- Gracias. [v:N]

The current Practice Sets use the voice identifiers:

H
L
N

A voice can also include an explicit language:

[v:en-N]

This form combines:

en-N
^^ ^^
│ └─ voice
└──── language

For example:

- Vocabulary [v:en-N]
- Greeting the instructor [v:en-N]

This is useful when content that would otherwise be interpreted in the Practice Set’s working language should use another language.

Language-specific answers encode their language and voice directly in the answer instruction:

[ans-en-N: "Good morning."]
[ans-en-H: "I would like a sandwich."]
[ans-es-N: "¿Qué día es hoy?"]

The general form is:

ans-LANGUAGE-VOICE

For example:

ans-en-N
ans-es-N

The language describes the answer content. The final identifier selects its voice.

The practice content and answer can use different voice instructions:

- Gracias. [v:H, ans-en-N: "Thank you."]

Here, v:H applies to the practice content while ans-en-N identifies the language and voice of the answer.

Voice identifiers are configuration values. Their specific available voices can evolve independently of the Kx Markdown structure.

Kx Markdown v0.2.0