Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

audio

Load standalone Audio from an audio file.

Call shape

audio(path: File) -> Audio

This is call-shape notation for lookup, not ClipAsm declaration syntax.

Graph inputs

This program does not take a Video or Audio input from the stack.

Parameters and defaults

NameTypeRequirementDefault or omission behavior
pathFilerequired

Result and stack behavior

Outputs: Audio.

Default stack access is owned. See stack binding for ownership and visibility rules.

Timeline and markers

The program creates a new timeline when it returns Video or Audio.

Example

clipasm 1

audio("assets/music.wav")

Expected validation result: Audio.

The reference checks parse and compile this exact example. Compilation does not inspect the named media files.

Behavior

  • Compilation remains media-pure. Preflight probes and normalizes the source to the project Audio domain.

See also