Using Options for AudioWorkletNode
A simple AudioWorkletNode constructor example that passes options of waveform type and freqency to the matching AudioWorkletProcessor constructor.
See Chrome Developers Article: Enter Audio Worklet for more information.