Repository navigation
API Interface AudioSnapshot
Defined in: src/plugins/audio/runtime/mix/scriptMix.ts:35
ADR 0344: a snapshot of the project's mix, as game code reaches it (Audio.snapshot(name)).
readonly active: boolean;Defined in: src/plugins/audio/runtime/mix/scriptMix.ts:40
It is on now: fading in, on, held, or fading out.
readonly exists: boolean;Defined in: src/plugins/audio/runtime/mix/scriptMix.ts:38
The project has a snapshot by this name.
readonly name: string;Defined in: src/plugins/audio/runtime/mix/scriptMix.ts:36
start(fadeSeconds?): void;Defined in: src/plugins/audio/runtime/mix/scriptMix.ts:42
Fade it in over its fade-in time (or fadeSeconds); the snapshots already on stay on and blend with it.
number
void
stop(fadeSeconds?): void;Defined in: src/plugins/audio/runtime/mix/scriptMix.ts:44
Fade it out over its fade-out time (or fadeSeconds), once its hold time is over. A base snapshot is always on.
number
void
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference