JS API Reference NumberParameter class

NumberParameter class

Extends: NumberParameter_base

Parameter Class for describing and interacting with Number (Float) Type Parameters in RNBO Uses the CommonParameterMixin

Remarks

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

Signature

export declare class NumberParameter extends NumberParameter_base 

Properties

changeEvent

read-only

Type: EventSubject<number>

initialValue

read-only

Type: number

type

read-only

Type: ParameterType.Number

The type of the parameter see ParameterType

value

Type: number

The current absolute value of the parameter

Example

// Update the current parameter value
param.value = 2