Modified the "check" script in package.json to reference the correct "examples" directory. Updated the README to replace "video editor" with "media compositor" for improved accuracy and restructured some sentences for better readability. Removed outdated documentation files related to assets, CLI, composition, distribution, and getting started, streamlining the documentation for a more focused user experience.
1.1 KiB
1.1 KiB
<audio>
An audio clip: no visual output, no spatial props; carries volume. When timing is omitted, the node fits its natural duration (see timing.md).
<audio src="https://my.videoarchive.com/audio/clip.wav" start={2.2} sourceOut={16} volume={-6} />
Props
| Prop | Type | Default | Meaning |
|---|---|---|---|
src |
string | AssetRef |
required | See media.md. |
name |
string |
none | Human-readable node name. |
start, end, sourceIn, sourceOut |
Time |
see timing.md | Temporal placement. |
volume |
Animatable<number> |
0 |
Decibels: 0 = unity, negative attenuates (-6 ≈ half as loud), -Infinity = silence. Not linear. |
muted |
boolean |
false |
Excludes the node's audio from the mix; independent of volume. |
syncTo |
string |
none | Key of another element carrying audio; derives start by audio alignment (see audio-sync.md). Mutually exclusive with start. |
animations |
AnimationSpec[] |
none | Preset in/out animations (see animations.md); only "gain" is audible. |