AudioWorkletProcessor
A sine wave is generated on the main thread, sent to the audio thread, played out, all this without locking. The frequency of this sine wave is controllable from the main thread. The amplitude of this sine wave is also controllable: the amplitude parameter is communicated safely, but without locking to the real-time thread. Please see the file README.md in the source directory for more information.
Frequency parameter: (440)
Amplitude parameter: (1.0)