Skip to content

Voices

Kx Markdown can associate a voice with practice content.

The v instruction selects a voice for the practice line.

- Buenos días. [v:H]

The current Practice Sets use three voice identifiers:

H
L
N

For example:

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

A voice can also be encoded as part of a language-specific answer instruction.

- Buenos días. [ans-en-N: "Good morning."]

Here, N is the voice identifier associated with the English answer.

Other examples include:

[ans-en-H: "I would like a sandwich."]
[ans-en-L: "No, thank you."]

A practice line can specify a voice for its front content while independently specifying a language and voice for its answer.

- Buenos días. [front:waiter, v:H, back:customer, ans-en-N: "Good morning."]

This allows the two sides of a practice interaction to use different presentation instructions.