SaveSound

Family: Sound · One form

What it does

SaveSound writes to a Sound object: it saves rather than reads. It takes iID (an integer) and sFilename (a string), and returns nothing.

Syntax

SaveSound(iID integer, sFilename string)

Parameters

NameType
iIDinteger
sFilenamestring

Every form returns

nothing

Example · generated

SaveSound(1, "assets/sound.wav")DO  Sync()LOOP

SaveSound 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