pixi-reels

API reference

OneShotCue

pixi-reels


pixi-reels / index / OneShotCue

Defined in: audio/cues.ts:49

What every cue shares: the bus, a level, a pitch, a delay and a guard.

Extends#

Properties#

PropertyTypeDescriptionInherited fromDefined in
bus?string-CueBase.busaudio/cues.ts:37
delay?CueValueSeconds between the beat and the sound: a thud timed to the bottom of the landing bounce instead of the frame the reel snaps on.CueBase.delayaudio/cues.ts:44
pitch?CueValue-CueBase.pitchaudio/cues.ts:39
playstringThe sound to fire. A variants set plays its next take.-audio/cues.ts:51
volume?CueValue-CueBase.volumeaudio/cues.ts:38
when?(ctx: CueContext) => booleanFire only when this says so: a thud that stays quiet on a cascade.CueBase.whenaudio/cues.ts:46