Launch
Building music for a product reveal.
import {Audio, Scene, Video} from "odori";
<Video>
<Scene id="terminal" duration="8s">
<Audio src="bed.launch" gain={0.5} duckUnder="foreground" />
</Scene>
</Video>Installation
pnpm odori add audio bed-launchnpx odori add audio bed-launchbunx odori add audio bed-launchDownloads and verifies public/audio/bed-launch.m4a, then registers bed.launch in your brand. Use --force to replace an existing file.
Download the file into public/audio/bed-launch.m4a.
/audio/bed-launch.m4a · 1444 KB.
Register the cue in your brand
videos/layout.tsx
audio: {cues: {"bed.launch": "/audio/bed-launch.m4a"}}Add it to a scene
import {Audio, Scene, Video} from "odori";
<Video>
<Scene id="terminal" duration="8s">
<Audio src="bed.launch" gain={0.5} duckUnder="foreground" />
</Scene>
</Video>Timing contract
Use these durations and content limits when composing a scene. Run odori test to check your video.
- Family
- Sound
- Recommended duration
- 1800 frames · 60s
- Minimum duration
- 30 frames · 1s
- Entrance
- 0 frames
- Exit
- 0 frames
- Reduced motion
- the waveform renders without a playhead
- Requires
- mono font
- Content limits
- none