What it does
SoundInstanceVolume takes instanceID (an integer), and answers an integer. instanceID is the id of an Instance object, obtained elsewhere in the Sound family.
Syntax
SoundInstanceVolume(instanceID integer) → integerParameters
| Name | Type |
|---|---|
| instanceID | integer |
Every form returns
integer
Example · generated
DO Print(SoundInstanceVolume(1)) Sync()LOOPSoundInstanceVolume is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.