Talos docs

audio.synth

Since next

[editor or disk] Synthesise a WAV audio asset into the project (as asset.import does) with the make-your-own-sounds recipe's synthesiser: a preset, or voices on a timeline.

Plain text

Same parameters, same bytes. Max 12 s, 1 MiB. ctx.audio.play(<asset>) plays it.

TitleMake a sound
Mode
Token costabout 354 tokens (listed only when its toolset is enabled)
Toolsetaudio

Arguments

ArgumentTypeRequiredDefaultAllowed valuesDescription
drivenumbernoVoices: saturation, 0.1-10
echoobjectnoVoices: {time, feedback, wet, repeats}
namestringyesAsset id and file name: laser -> assets/laser.wav
optionsobjectnoPer preset: blip {low, high, seed}; whoosh {seconds, low, high, seed}; engine-loop {hz, seconds, bright, rough, seed}; explosion {seconds, seed}; jingle {notes, step, hold, wave, seed}
peakDbnumbernoPeak level, -30 to 0; default -3
presetenumnoblip, whoosh, engine-loop, explosion, jingle
sampleRateintegernoVoices only, 8000-48000; default 44100
scenestringnoThe scene file to act on. The open scene when absent.
voicesobject[]noInstead of preset: [{at, dur, wave sine|square|saw|tri|noise|pink, freq (Hz, "A4" or {from, to}), pw, adsr {a, d, s, r}, filter {type lp|hp|bp, cutoff, q}, vibrato {hz, depth}, seed, gain}]

Example

An MCP tools/call with the required arguments (placeholders in angle brackets).

{
  "name": "audio.synth",
  "arguments": {
    "name": "<name>"
  }
}