setVolume

open fun setVolume(volume: Double): Sound

Set the volume of the sound.

Return

this Sound object

Parameters

volume

the volume scaling to set the sound to, default 1.0