Audio.SetVolume

Audio.SetVolume ( 

number Channel,

number Volume )

Example 1

Audio.SetVolume(CHANNEL_USER1, 128);

Sets the volume of user channel 1 to 50%.

Example 2

Audio.SetVolume(0, 255);

Sets the volume of the effects channel to 100%.

Example 3

Audio.SetVolume(CHANNEL_BACKGROUND, 220);

Sets the volume of the background audio channel to 220 (about 86%).

See also: Related Actions