Const
The Sound Detune Event.
This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their detune value changes.
Listen to it from a Sound instance using Sound.on('detune', listener), i.e.:
Sound.on('detune', listener)
var music = this.sound.add('key');music.on('detune', listener);music.play();music.setDetune(200); Copy
var music = this.sound.add('key');music.on('detune', listener);music.play();music.setDetune(200);
The Sound Detune Event.
This event is dispatched by both Web Audio and HTML5 Audio Sound objects when their detune value changes.
Listen to it from a Sound instance using
Sound.on('detune', listener), i.e.: