Recent Changes - Search:

ZGameEditor

Documentation

Community

Edit sidebar

PlaySound

PlaySound

Play a sound using the real-time synthesizer.

See also: Sound, AudioMixer

Properties

Sound

The sound that will be played.

NoteNr

The notenr of the sound. Middle C is 60. Add or remove 12 to change octave. When the sound is played this value is added to the sounds BaseNoteNr-property to determine the final pitch of the sound.

Channel

The number of the channel that the sound will be played in.

ReplayDelay

A delay in seconds before this PlaySound can be repeated.

ByReference

When this is checked then the sound isn't cloned when emitted so scripting can modify the properties and they will take effect in realtime.

Edit - History - Print - Recent Changes - Search
Page last modified on February 26, 2013, at 03:26 am