JS API Reference ScriptDevice class

ScriptDevice class

Extends: BaseDevice

RNBO Device using a WebAudio ScriptProcessorNode for its processing.

Remarks

ScriptDevices 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 ScriptDevice class.

Signature

export declare class ScriptDevice extends BaseDevice 

Properties

bufferSize

read-only

Type: number

node

Type: ScriptProcessorNode

The WebAudio ScriptProcessorNode of the device. See BaseDevice.node for more info