Skip to content

setSustainVolume()

Set the envelope's sustain volume.

envelope.setSustainVolume(sustainVolume)

Parameters

envelope.setSustainVolume(sustainVolume)
Parameter Type Default Description
sustainVolume float required The volume held through the body of the sound, from 0.0 to 1.0.