Module worklet

Source
Expand description

User-defined audio nodes and processors

See the following files for an example implementation of user defined nodes:

  • examples/worklet.rs (basics with an audio param)
  • examples/worklet_message_port.rs (basics with message port)
  • examples/worklet_bitcrusher.rs (real world example)

Structs§

AudioParamValues
Accessor for current AudioParam values
AudioWorkletGlobalScope
The execution context of all AudioProcessors in a given AudioContext
AudioWorkletNode
A user-defined AudioNode which lives in the control thread
AudioWorkletNodeOptions
Options for constructing an AudioWorkletNode

Traits§

AudioWorkletProcessor
Audio processing code that runs on the audio rendering thread.