Description :
This instruction assigns a sound channel play to the current key.
Parameters :
-
Automatic channel selection :
CHANNEL_FREE
Or channel number (you MUST use different channels if you want to play sounds simultaneously) :
CHANNEL_1
CHANNEL_2
CHANNEL_3
CHANNEL_4
CHANNEL_5
CHANNEL_6
CHANNEL_7
CHANNEL_8
CHANNEL_9
CHANNEL_10
CHANNEL_11
CHANNEL_12
CHANNEL_13
CHANNEL_14
CHANNEL_15
-
SOUND_LOOP (the sound will be played in a loop)
SOUND_ONE_SHOT (the sound will be played once)
-
Frequency, expressed in hertz. Valid in the range [100, 705600].
Notes :
The current key gets defined with the instruction track.key.set ().
Examples :
|