Class ChannelPressureMessage

The ChannelPressureMessage class represents a Channel Pressure MIDI message that can be sent to a MIDI output.

Hierarchy

  • MidiMessageBase

    Hierarchy

    • ChannelPressureMessage

Implements

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • value: number

      Acceptable values range from 0 to 127.

    • channel: number

      Acceptable values range from 0 to 15.

    Returns ChannelPressureMessage

Properties

channel: number

Acceptable values range from 0 to 15.

value: number

Acceptable values range from 0 to 127.

Accessors

  • get typeName(): string
  • Returns the name of this type. This can be used rather than instanceof which is sometimes unreliable.

    Returns string

Methods

  • The toArray method converts a MIDI message object into it's byte-array form which can be sent through a MIDI port to a connected piece of MIDI technology.

    Returns number[]

Generated using TypeDoc