What it does
SoundInstanceRateSet takes instanceID (an integer) and rate (a float), and returns nothing. instanceID is the id of an Instance object, obtained elsewhere in the Sound family.
Syntax
SoundInstanceRateSet(instanceID integer, rate float)Parameters
| Name | Type |
|---|---|
| instanceID | integer |
| rate | float |
Every form returns
nothing
Example · generated
SoundInstanceRateSet(1, 1.0)DO Sync()LOOPSoundInstanceRateSet is called with values of the types its signature asks for. 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.