effect-motion
API Referenceeffect-motionNamespacesAudioInterfaces

AudioResource

One audio constant, two faces — author side (`yield*` for the reference

Interface: AudioResource<ID>

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

One audio constant, two faces — author side (yield* for the reference and the phantom AudioLoader<ID>) and provider side (.Loader, .Metadata, plus layer / metadataLayer).

Extends

Type Parameters

Type ParameterDefault type
ID extends stringstring

Properties

id

readonly id: ID;

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


Loader

readonly Loader: Service<AudioLoader<ID>, AudioLoader<ID>>;

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


Metadata

readonly Metadata: Service<AudioMetadata<ID>, AudioMetadata<ID>>;

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

On this page