Class SongPositionMessage

IMidiMessage defines an interface which all MIDI message objects should implement in order to be widely useable with the MIDI inputs/outputs that consume them.

Hierarchy

  • SongPositionMessage

Implements

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • value: number

      The number of MIDI ticks that have occured since the start of the song, divided by 6.

    Returns SongPositionMessage

Properties

value: number

The number of MIDI ticks that have occured since the start of the song, divided by 6.

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