CreateAudioWorklet

Family: Platform · One form

What it does

CreateAudioWorklet writes a value: it creates rather than reads. It takes processor (a string), and answers an integer.

Syntax

CreateAudioWorklet(processor string) → integer

Parameters

NameType
processorstring

Every form returns

integer

Example · generated

audioWorklet = CreateAudioWorklet("value")DO  Sync()LOOP

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

111 commands in Platform