setRate

open fun setRate(rate: Double): Sound

Set the playback rate of the sound.

Return

this Sound object

Parameters

rate

the rate to set the sound to, must be between 0.5 and 2, default 1.0