# set_audio
Replace a Video's Audio with standalone Audio.
## Call shape
```text
set_audio(video: Video, audio: Audio) -> Video
```
This is call-shape notation for lookup, not ClipAsm declaration syntax.
## Graph inputs
| `video` | `Video` | exactly one |
| `audio` | `Audio` | exactly one |
## Parameters and defaults
This program has no scalar parameters.
## Result and stack behavior
Outputs: `Video`.
Default stack access is **owned**. See [stack binding](../language/stack-binding.md) for ownership and visibility rules.
## Timeline and markers
Keeps the duration and addressable markers from `video`.
## Example
```clipasm
clipasm 1
set_audio(
video=video("assets/scene.mp4"),
audio=audio("assets/music.wav"),
)
```
Expected validation result: `Video` with a source-dependent frame domain resolved during preflight.
This exact example is parsed and compiled by the reference checks; compilation does not inspect the named media files.
## Behavior
- The output preserves the Video timeline and is marked as carrying meaningful Audio.
- The supplied standalone Audio replaces any Audio already attached to the Video.
## See also
- [`audio`](audio.md)
- [`extract_audio`](extract_audio.md)
- [Statements and calls](../language/statements-and-calls.md)
- [Stack binding](../language/stack-binding.md)