Skip to content

eo-typewriterjs


eo-typewriterjs / EAudioStrategy

Variable: EAudioStrategy ​

ts
const EAudioStrategy: object;

Defined in: core/audio/enums/audio-strategy.enum.ts:9

Type Declaration ​

NameTypeDefault valueDescriptionDefined in
RANDOM"random""random"Description Pick a sample at random on every playcore/audio/enums/audio-strategy.enum.ts:14
ROUND_ROBIN"roundRobin""roundRobin"Description Cycle through samples in order, looping back to the first after the lastcore/audio/enums/audio-strategy.enum.ts:20
SHUFFLE_BAG"shuffleBag""shuffleBag"Description Shuffle all samples into a bag and drain it before re-shuffling. Avoids repetitive streaks that plain random can produce.core/audio/enums/audio-strategy.enum.ts:27

Description ​

Sample selection strategy used when an sfx has multiple samples

Released under the MIT License.