pixi-reels

API reference

LoopCue

pixi-reels


pixi-reels / index / LoopCue

Defined in: audio/cues.ts:54

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
fadeIn?numberSeconds. Default 0.05.-audio/cues.ts:58
fadeOut?numberSeconds. Default 0.1.-audio/cues.ts:60
loopstringThe sound to loop for as long as the beat lasts.-audio/cues.ts:56
pitch?CueValue-CueBase.pitchaudio/cues.ts:39
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