API reference
LoopCue
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#
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
bus? | string | - | CueBase.bus | audio/cues.ts:37 |
delay? | CueValue | Seconds 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.delay | audio/cues.ts:44 |
fadeIn? | number | Seconds. Default 0.05. | - | audio/cues.ts:58 |
fadeOut? | number | Seconds. Default 0.1. | - | audio/cues.ts:60 |
loop | string | The sound to loop for as long as the beat lasts. | - | audio/cues.ts:56 |
pitch? | CueValue | - | CueBase.pitch | audio/cues.ts:39 |
volume? | CueValue | - | CueBase.volume | audio/cues.ts:38 |
when? | (ctx: CueContext) => boolean | Fire only when this says so: a thud that stays quiet on a cascade. | CueBase.when | audio/cues.ts:46 |