clipasm 0.5.0

A strict, typed language for compiling and rendering Video and Audio graphs
Documentation
<!-- Generated by clipasm-reference-docs. Do not edit directly. -->

# audio

Load standalone Audio from an audio file.

## Call shape

```text
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](../language/stack-binding.md) for ownership and visibility rules.

## Timeline and markers

Creates a new timeline when it returns Video or Audio.

## Example

```clipasm
clipasm 1

audio("assets/music.wav")
```

Expected validation result: `Audio`.

This exact example is parsed and compiled by the reference checks; 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

- [`set_audio`]set_audio.md
- [Statements and calls]../language/statements-and-calls.md
- [Stack binding]../language/stack-binding.md