Phaser API Documentation

  Version: 
setRate(value)

Description:

Sets the playback rate of this Sound.

For example, a value of 1.0 plays the audio at full speed, 0.5 plays the audio at half speed and 2.0 doubles the audios playback speed.

Parameters:

name type description
value number

The playback rate at of this Sound.

Returns:
Description:

This Sound instance.

Examples:
Since: 3.3.0