Skip to content

MixerOptions beta ​

Interface of @v12-engine/client

ts
export interface MixerOptions

How an app's mix is, as it is declared (RuntimeOptions.mixer, SoundSet.mix): a game's own buses, the duck under a voice, a low-pass on pause, its snapshots by name, and how many seconds music takes to go over to other music (2)

Members ​

buses ​

ts
buses?: Readonly<Record<string, BusOptions>>;

The game's own buses by id, beside the built-in ones

crossfade ​

ts
crossfade?: number;

Seconds music takes to go over to other music; 2 when left out

duck ​

ts
duck?: DuckOptions;

How far buses that duck go down under a voice, and how fast

onPause ​

ts
onPause?: MixerPause;

What a pause does to the sound; nothing when left out

snapshots ​

ts
snapshots?: Readonly<Record<string, MixerSnapshot>>;

States of the mix to go to by name