JS API Reference WorkletDevice class

WorkletDevice class

Extends: BaseDevice

RNBO Device using AudioWorklets for its processing.

Remarks

WorkletDevices can be created using the createDevice() factory function. Please also refer to the article on Loading a RNBO device in the Browser for more information.

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the WorkletDevice class.

Signature

export declare class WorkletDevice extends BaseDevice 

Properties

node

Type: IRNBOWorkletNode

The WebAudio WorkletNode of the device of type IWorkletNode. See BaseDevice.node for more info