Class DeviceParameter

This class represents an (automatable) parameter within a MIDI or audio device. To modify a device parameter, set its value property.

DeviceParameter

Hierarchy

Constructors

  • Creates an instance of DeviceParameter.

    Parameters

    Returns DeviceParameter

    Memberof

    DeviceParameter

Properties

path: string = 'live_set tracks N devices M parameters L'

Accessors

  • get id(): undefined | number
  • Returns undefined | number

  • get path(): string
  • Returns string

Methods

  • Type Parameters

    • TName extends never

    Parameters

    • child: TName
    • index: number
    • Optional childProps: string[]

    Returns Promise<FlatPropertyType<TName, null, null>>

  • Type Parameters

    • TName extends never

    Parameters

    • child: TName
    • Optional childProps: string[]
    • Optional index: number

    Returns Promise<PropertyType<TName, null, null>>

  • Re-enable automation for this parameter.

    Returns Promise<void>

    Memberof

    DeviceParameter

  • Returns: [symbol] String representation of the current parameter value.

    Returns Promise<string>

    Memberof

    DeviceParameter

  • Returns: [symbol] String representation of the specified value.

    Parameters

    • value: number

    Returns Promise<string>

    Memberof

    DeviceParameter