Velocity
Fast background music for energetic edits.
import {Audio, Scene, Video} from "odori";
<Video>
<Scene id="terminal" duration="8s">
<Audio src="bed.velocity" gain={0.5} duckUnder="foreground" />
</Scene>
</Video>Installation
pnpm odori add audio bed-velocitynpx odori add audio bed-velocitybunx odori add audio bed-velocityDownloads and verifies public/audio/bed-velocity.m4a, then registers bed.velocity in your brand. Use --force to replace an existing file.
Download the file into public/audio/bed-velocity.m4a.
/audio/bed-velocity.m4a · 1462 KB.
Register the cue in your brand
videos/layout.tsx
audio: {cues: {"bed.velocity": "/audio/bed-velocity.m4a"}}Add it to a scene
import {Audio, Scene, Video} from "odori";
<Video>
<Scene id="terminal" duration="8s">
<Audio src="bed.velocity" 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