SoundInstanceRateSet

Family: Sound · One form

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

NameType
instanceIDinteger
ratefloat

Every form returns

nothing

Example · generated

SoundInstanceRateSet(1, 1.0)DO  Sync()LOOP

SoundInstanceRateSet 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.

37 commands in Sound