Altoura Training
Copy link
Creator

Text-to-Speech

Generate Show Panel narration and use current variable values in browser trainee playback

Overview

Text-to-Speech (TTS) generates narration from the Body and Choices in a Show Panel action. Generate and save a recording in Creator. In the browser Trainee App, panels with variable placeholders can also generate narration using the current values when the panel is shown.

Keep the saved recording up to date after changing the body or choices. It provides narration for static text and a fallback when runtime narration is unavailable.

Where to Find It

TTS is available in two places, both tied to the Show Panel action:

LocationControl
Show Panel action → Content → BodyGenerate Audio control beside the body
Editable panel previewGenerate audio control for the selected panel

Both paths produce the same result — an audio file attached to the panel.

Generating Narration

Prepare the panel text

Select the step's existing Show Panel action, or add one to On Entry. Enter the Body text and any Choices you want narrated. The Title is displayed but is not spoken.

Click Generate Audio

Click Generate Audio beside Body. Wait for generation to finish, then check the generated audio.

Preview

Play the audio preview in the panel's Audio section. Check the pronunciation and make sure the narration matches the body and choices.

Regenerate after edits

If you change the Body text or Choices, click Generate Audio again and preview the new recording.

Save the training

Use Save, Ctrl+S / Command+S, or wait for Auto-save to report Saved. Verify playback in the trainee app.

Show Panel action with body text, choices, and generated audio playback controls
Show Panel narration text and generated audio preview

What Gets Spoken

The narration includes:

  • The Body text of the panel
  • The text of each Choice (if the panel has multiple-choice options)

The panel Title is not included in the narration. Keep titles short and put the spoken content in the body.

Variables in Narration

In the browser Trainee App, a panel with generated narration can speak the current values of variables in its Body or Choices. For example, Equipment: {{equipmentId}} can be spoken as "Equipment: Pump 12" when equipmentId is Pump 12 as the panel is shown.

Set Up Runtime Narration

  1. Create the required variables and set their values before Show Panel executes.
  2. Insert placeholders such as {{equipmentId}} in the body or choice text.
  3. Use Generate Audio in Creator and save the panel's generated audio assignment. A placeholder alone does not enable narration.
  4. Keep the panel's Show Audio enabled. In the browser Trainee App, keep Step Instruction Audio enabled.
  5. Preview the training and test with different values. Check both what the panel displays and what the learner hears.

The browser resolves the body and choices when Show Panel executes, then requests narration for that text. Changing a variable while a panel remains open does not continuously rewrite the playing recording; test by entering or showing the panel again.

The audio preview inside Creator plays the saved recording. Use trainee Preview to verify the narration with runtime values.

Saved Audio and Fallback

SituationBrowser Trainee App behavior
Generated audio with variable placeholders in the body or choicesUses resolved runtime text to generate narration, or reuses matching cached narration.
Generated audio with static body and choicesPlays the saved recording.
Uploaded or library audio assigned to the panelPlays that selected audio; variable text does not replace it with generated narration.
Offline with matching runtime narration already cachedCan reuse the cached narration.
Offline without matching narration, or generation/download failsFalls back to the saved generated recording when it is available.

Runtime generation also falls back when placeholders cannot be resolved, the training's voice is unavailable, or the resolved narration exceeds 5,000 characters. The saved recording still needs to be available or cached for fallback playback.

Voice and Language

  • Voice Type is selected in the training's Settings in the Dashboard. Show Panel uses that training-level setting when generating narration.
  • Show Panel has no separate voice or language picker for individual panels.

To change the voice, save your authoring work, update Voice Type in the Dashboard's training Settings, and reopen the training to load the updated setting. Regenerate the affected panels' narration, preview it, and save again. Changing the voice setting does not change an existing audio recording.

How the Audio Is Stored

When Generate Audio succeeds, the panel action is updated with an audio source that points to the generated file on the server. In the browser Trainee App, playback uses that saved recording or the runtime narration described above, subject to the panel and trainee audio settings.

Generated narration appears as Generated Audio in the panel's Audio field. It is attached directly to the panel rather than selected as a library asset.

Duplicating a step can retain its existing audio reference. After editing the duplicate's body or choices, regenerate its narration so the recording matches the new text.

Example: Narrated Instruction

Set up a Show Panel action with:

  • Title: Step 3
  • Body: Pick up the torque wrench from the workbench and set it to 8 Newton-metres.

Click Generate Audio, preview the recording, and save. When the action runs, the learner sees the panel and hears the body text. No separate Play Audio action is needed.

Example: Narration with a Variable

Create a String variable named equipmentId. Before Show Panel, use Set Variable to set it to Pump 12. Set the panel body to Inspect {{equipmentId}} before starting the motor. Generate Audio and save.

In browser Preview with Step Instruction Audio enabled, the panel displays and narrates "Inspect Pump 12 before starting the motor." Change the value before the next visit to the panel and verify the new value is narrated. Compare this with the saved audio preview in Creator, which is not a preview of trainee-session values.

Example: Narrated Question

Set the Title to "Quick Check" and the Body to "Which tool is the correct one for this fastener?" Add these choices:

  • Screwdriver
  • Wrench
  • Hex key

Connect each choice to the appropriate transition, then generate and preview the audio. The narration includes the question and all three choice labels. See Choice Events for routing instructions.

Replacing or Removing TTS Audio

  • Regenerate — Edit Body or Choices, then click Generate Audio again. The old audio is replaced.
  • Switch to library audio — Clear Generated Audio using the remove control on the Audio field, then select or upload the replacement audio.
  • Remove — Use the remove control on the Audio field to clear the panel's audio assignment. This does not delete the generated file or remove audio assigned to another panel.

Save after changing the audio assignment, or wait for Auto-save to report Saved.

Best Practices

Write for listening, not just reading

Use short sentences. Avoid tables, code blocks, and long bullet lists in Body — they sound awkward when read aloud.

Keep titles off the narration

Titles are not spoken. If a piece of information is important, put it in Body so the learner hears it.

Use a consistent voice across a training

Choose the training's Voice Type in the Dashboard. If you change it, regenerate the affected narration so the panels use the intended voice.

Regenerate after changing spoken text

Regenerate the saved recording after changing the body or choices so static playback and fallback narration stay current. Editing only the title does not change the spoken content.

Preview before publishing

Play the generated audio inside Creator to catch mispronunciations or awkward phrasing. Adjust the text and regenerate if needed.

Limitations

  • Only in Show Panel — TTS is part of the Show Panel action. To narrate other actions, use Play Audio with a pre-uploaded audio asset.
  • No per-panel voice override — Generation uses the training's selected Voice Type.
  • Title not spoken — Only Body and Choices are included in the audio.
  • Runtime values in browser playback — Runtime narration needs generated audio, enabled audio settings, resolvable variables, and a supported narration length. Uploaded audio remains unchanged.
  • Connectivity — New runtime narration needs a connection. Cached narration or saved audio is used when available offline.
  • Show Panel — Configure panel content, audio, and navigation
  • Events — Connect panel choices and Next to transitions
  • Play Audio — Play a library audio asset
  • Variables — Create variables for training logic and displayed content
Was this page helpful?
© 2026 Altoura
Enter a page title, topic, or keyword.