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) → integerParameters
| Name | Type |
|---|---|
| processor | string |
Every form returns
integer
Example · generated
audioWorklet = CreateAudioWorklet("value")DO Sync()LOOPCreateAudioWorklet 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.