Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new PitchBend(value?: number, channel?: number): PitchBend
  • Creates a pitch bend object with the specified values.

    Parameters

    • Optional value: number

      The value for this pitch bend message. The range of this value is 0 - 16383. Defaults to 8192

    • Optional channel: number

      The channel for this channel pressure message, defaults to 1.

    Returns PitchBend

Properties

channel

channel: number | 1

The channel for this MIDI message.

Optional id

id: ObjectID | undefined

The identifier of this object.

value

value: number

The value for this pitch bend. The range of this value is 0 - 16383. Defaults to 8192 - no pitch bend.

Static max

max: number

The maximum value 16383 for a pitch bend.

Static min

min: number

The minimum value 0 for a pitch bend.

Static none

none: number

The "none" value 8192 for pitch bend.

Generated using TypeDoc