Read our Sounds article for an explanation of these blocks.

Plays (or loops) the chosen sound on the next available channel.
playSound([SOUND]);
loopSound([SOUND]);

Immediately stops playback of all sounds.
stopAllSounds();

Sets the global sound volume level. Individual channels maintain their own volume level, which is multiplied against the global volume level. Specify a value between [0-100] inclusive.
setVolumeForAllSounds([NUMBER]/100);

Fades the global sound volume level in (to 100%) or out (to 0%) over time, given in seconds.
fadeInForAllSounds([NUMBER]);
fadeOutForAllSounds([NUMBER]);

Fades global volume to the given percent.
fadeForAllSounds([NUMBER], [NUMBER]);

Plays (or loops) a sound on the specified channel. If one was previously playing on the channel, it stops and gets replaced.
playSoundOnChannel([SOUND], [INT]);
loopSoundOnChannel([SOUND], [INT]);

Controls playback of a sound on the specified channel (if one is playing). Stopping a sound and resuming will force it start from the beginning.
stopSoundOnChannel([INT]);
pauseSoundOnChannel([INT]);
resumeSoundOnChannel([INT]);

Sets the volume level for the specified channel, which is multiplied against the global volume level. Specify a value between [0-100] inclusive.
setVolumeForChannel([NUMBER]/100, [INT]);

Fades the sound volume level for the specified channel in (to 100%) or out (to 0%) over time. Duration is given in seconds.
fadeInSoundOnChannel([INT], [NUMBER]);
fadeOutSoundOnChannel([INT], [NUMBER]);

Fades channel volume to the given percent.
fadeSoundOnChannel([INT], [NUMBER], [NUMBER]);

Sets the panning of a channel (negative 100% is far left, positive 100% is far right).
setPanningForChannel([NUMBER]/100, [INT]);

Set position for sound on a specific channel in milliseconds.
setPositionForChannel([INT], [INT]);

Returns the current playback position of the sound on the specified channel in milliseconds.
getPositionForChannel([INT])

Returns the length of the sound on the specified channel in milliseconds.
getSoundLengthForChannel([INT])

Returns the length of the specified sound in milliseconds.
getSoundLength([SOUND])

Returns a sound, given its name.
getSoundByName([TEXT])