effect-motion
API Referenceeffect-motionNamespacesAudioInterfaces

AudioLoader

A loaded audio file (encoded bytes), provided as a context service and

Interface: AudioLoader<ID>

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

A loaded audio file (encoded bytes), provided as a context service and loaded eagerly at layer construction. Carries the loader brand, so frame production never needs it — only players and exporters do.

Extends

Type Parameters

Type ParameterDefault type
ID extends stringstring

Properties

~effect-motion/Resources/Loader

readonly ~effect-motion/Resources/Loader: "~effect-motion/Resources/Loader";

Defined in: packages/motion/src/Resource.ts:14

Inherited from

LoaderBrand.~effect-motion/Resources/Loader


bytes

readonly bytes: Uint8Array;

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


id

readonly id: ID;

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

On this page