API reference
OneShotCue
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#
| 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 |
pitch? | CueValue | - | CueBase.pitch | audio/cues.ts:39 |
play | string | The sound to fire. A variants set plays its next take. | - | audio/cues.ts:51 |
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 |