Phaser API Documentation

  Version: 
Event: GLOBAL_DETUNE
Phaser.Sound.Events.GLOBAL_DETUNE
GLOBAL_DETUNE

Description:

The Sound Manager Global Detune Event.

This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sound Manager, or the HTML5 Audio Manager. It is dispatched when the detune property of the Sound Manager is changed, which globally adjusts the detuning of all active sounds.

Listen to it from a Scene using: this.sound.on('rate', listener).

Parameters:

name type description
soundManager Phaser.Sound.BaseSoundManager

A reference to the sound manager that emitted the event.

detune number

The updated detune value.

Since: 3.0.0