effect-motion
API Referenceeffect-motionNamespacesAudioInterfaces

AudioMetadata

Prepared, immutable facts about a track that a scene may explicitly

Interface: AudioMetadata<ID>

Defined in: packages/motion/src/Audio.ts:83

Prepared, immutable facts about a track that a scene may explicitly inspect. NOT loader-branded: Scene.run/stream keep it as a real requirement, so a scene that reads it cannot run without it.

Type Parameters

Type ParameterDefault type
ID extends stringstring

Properties

duration

readonly duration: number;

Defined in: packages/motion/src/Audio.ts:86

source length in seconds (finite, ≥ 0)


id

readonly id: ID;

Defined in: packages/motion/src/Audio.ts:84

On this page