SoundDeviceMode

Family: Sound · One form

What it does

SoundDeviceMode sets DeviceMode on a Sound object. It takes mode (an integer), and returns nothing.

Syntax

SoundDeviceMode(mode integer)

Parameters

NameType
modeinteger

Every form returns

nothing

Example · generated

SoundDeviceMode(1)DO  Sync()LOOP

SoundDeviceMode 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