Skip to main content
Sound is opt-in in Tuireel. You can add click and keypress effects that sync to your scripted actions, play a background audio track, or use a preset that includes sound.

Enabling Sound

Add the sound field to your config:
Or use a preset that includes sound - polished and demo both enable click and key effects:

Sound Effects

Effects are triggered by step actions: click effects play on click steps, and key effects play on type and press steps.

Built-in Variants

Each effect type has 4 built-in variants (numbered 1-4):

Custom Audio Files

Instead of a variant number, pass a file path to use your own sound:
File paths are resolved relative to the current working directory.

Effects Volume

Control the overall volume of sound effects with effectsVolume (0 to 1, default 0.5):

Background Audio Track

Add a background music or ambient audio track with the track field:
The track is trimmed to the video duration and fades out over the last 2 seconds.

Combining Effects and Track

You can use both effects and a background track together:
Effects are mixed on top of the background track in the final output.

Full Sound Config Reference

Sound encoding requires ffmpeg. Effects are mixed using ffmpeg’s filter_complex pipeline and encoded as AAC (MP4) or Opus (WebM). GIF output does not support audio.

Presets with Sound

Two built-in presets include sound effects: The minimal and silent presets do not include sound.