extract_audio
Extract the meaningful Audio from a Video.
Call shape
extract_audio(video: Video) -> Audio
This is call-shape notation for lookup, not ClipAsm declaration syntax.
Graph inputs
| Name | Type | Cardinality |
|---|---|---|
video | Video | exactly one |
Parameters and defaults
This program has no scalar parameters.
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
video("assets/interview.mp4")
extract_audio
Expected validation result: Audio.
The reference checks parse and compile this exact example. Compilation does not inspect the named media files.
Behavior
- The standalone Audio output covers the complete Video duration on the project sample grid.
Requirements
- The Video must carry meaningful attached Audio. A silent Video cannot produce Audio content.