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
| Name | Type | Requirement | Default or omission behavior |
|---|---|---|---|
path | File | required | — |
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.