User Guide

723
voidP()
Syntax
voidP(variableName)
Description
Function; determines whether the variable specified by variableName has any value. If the
variable has no value or is VOID, this function returns TRUE. If the variable has a value other than
VOID, this function returns FALSE.
Example
This statement checks whether the variable answer has an initial value:
put voidP(answer)
See also
ilk(), VOID
volume (cast member property)
Syntax
member(whichCastMember).volume
the volume of member whichCastMember
Description
Shockwave Audio (SWA) cast member property; determines the volume of the specified SWA
streaming cast member. Values range from 0 to 255.
This property can be tested and set.
Example
This statement sets the volume of an SWA streaming cast member to half the possible volume:
member("SWAfile").volume = 128
volume (sound channel)
Syntax
sound(whichChannel).volume
the volume of sound channelNum
Description
System property; determines the volume of the sound channel specified by channelNum. Sound
channels are numbered 1, 2, 3, and so on. Channels 1 and 2 are the channels that appear in the Score.
The value of the
volume sound property ranges from 0 (mute) to 255 (maximum volume). A
value of 255 indicates the full volume set for the machine, as controlled by the
soundLevel
property, and lower values are scaled to that total volume. This property allows several channels to
have independent settings within the available range.
The lower the value of the
volume sound property, the more static or noise youre likely to hear.
Using
soundLevel may produce less noise, although this property offers less control.
This property does not support dot syntax. Use the syntax exactly as shown here.