JS API Reference IDeviceOptions interface

IDeviceOptions interface

Options for creating a RNBO BaseDevice

Signature

export interface IDeviceOptions 

Properties

bufferSize

Type: number

Set the size of the buffer used for the Web Audio ScriptProcessorNode. Applies only to ScriptDevice. default: 1024

parameterNotificationSetting

Type: ParameterNotificationSetting

Adjust the way the device emits ParameterChangeEvents, see ParameterNotificationSetting. By default, set to emit a parameterChangeEvent whenever the value changes: ParameterNotificationSetting.All