Skip to content

pixi-hm05 (player) / pixi-hm05 / SoundOptions

Interface: SoundOptions ​

How one play of a sound sounds. Every field is optional.

Extended by ​

Properties ​

PropertyTypeDescription
effect?SoundEffectdefault "none"
fade?numberfade length (s) of the fade effects; default 1
loops?numberplays this many times; 0 = forever; default 1
trimEnd?numberseconds into the audio where it ends; default its end
trimStart?numberseconds cut off the head of the audio; default 0
volume?number0..1, default 1

HereSplash — 2D animation for the web