Sound#durationMS

durationMS : number The duration of the current sound marker in ms. Source code: sound/Sound.js (Line 83)

Sound#externalNode

externalNode : Object If defined this Sound won't connect to the SoundManager master gain node, but will instead connect to externalNode. Source code: sound/Sound.js (Line 160)

Sound#fadeIn()

fadeIn(duration, loop, marker) Starts this sound playing (or restarts it if already doing so) and sets the volume to zero.Then increases the volume from 0 to 1 over the duration specified. At the end of the fade Sound.onFadeComplete is dispatched with this Sound object as the first parameter,and the final volume (1) as the second parameter. Parameters Name Type Argument Default Description duration number <optional> 1000 The time in milliseconds over which the Sound should fade in

Sound#fadeOut()

fadeOut(duration) Decreases the volume of this Sound from its current value to 0 over the duration specified.At the end of the fade Sound.onFadeComplete is dispatched with this Sound object as the first parameter,and the final volume (0) as the second parameter. Parameters Name Type Argument Default Description duration number <optional> 1000 The time in milliseconds over which the Sound should fade out. Source code: sound/Sound.js (Line 952)

Sound#fadeTo()

fadeTo(duration, volume) Fades the volume of this Sound from its current value to the given volume over the duration specified.At the end of the fade Sound.onFadeComplete is dispatched with this Sound object as the first parameter,and the final volume (volume) as the second parameter. Parameters Name Type Argument Default Description duration number <optional> 1000 The time in milliseconds during which the Sound should fade out. volume number <optional> The volume which

Sound#fadeTween

fadeTween : Phaser.Tween The tween that fades the audio, set via Sound.fadeIn and Sound.fadeOut. Source code: sound/Sound.js (Line 126)

Sound#gainNode

gainNode : Object The gain node in a Web Audio system. Source code: sound/Sound.js (Line 170)

Sound#game

game : Phaser.Game A reference to the currently running Game. Source code: sound/Sound.js (Line 27)

Sound#isDecoded

[readonly] isDecoded : boolean Returns true if the sound file has decoded. Source code: sound/Sound.js (Line 1087)

Sound#isDecoding

[readonly] isDecoding : boolean Returns true if the sound file is still decoding. Source code: sound/Sound.js (Line 1074)