Constructors

Methods

  • Parameters

    • decrementValue: number
    • Optional channel: number

    Returns void

  • Parameters

    • incrementValue: number
    • Optional channel: number

    Returns void

  • Parameters

    • lowerChannelSize: number
    • upperChannelSize: number
    • messageDelayMs: number = 100

    Returns Promise<void>

  • Sends raw message to MIDI out

    Parameters

    • msgs: Uint8Array | number[]

      Message as an array of UInt8 values

    Returns void

  • Parameters

    • velocity: number
    • Optional channel: number

    Returns void

  • Parameters

    • controller: number
    • value: number
    • Optional channel: number

    Returns void

  • Sends note off message.

    Parameters

    • note: number

      Note key to be set off

    • Optional channel: number

      Channel. By default will use channel set by setChannel method

    Returns void

  • Sends note on message

    Parameters

    • note: number

      Note key value to be sent.

    • velocity: number

      Velocity - number between 0 and 128

    • Optional channel: number

      Channel. By default will use channel set by setChannel method

    Returns void

  • Sends pitch bend value.

    Parameters

    • bendValue: number

      Ben value ranging from -1.0 to 1.0.

    • Optional channel: number

      Optional channel on which bend should be sent on

    Returns void

    Throws

    Throws exception if bendValue is outside the range.

  • Parameters

    • key: number
    • velocity: number
    • Optional channel: number

    Returns void

  • Parameters

    • program: number
    • Optional channel: number

    Returns void

  • Parameters

    • data: number
    • Optional channel: number

    Returns void

  • Parameters

    • data: number
    • Optional channel: number

    Returns void

  • Parameters

    • __namedParameters: readonly [number, number]
    • Optional channel: number

    Returns void

  • Parameters

    • Optional channel: number

    Returns void

  • Changes default channel the messages are sent on

    Parameters

    • channel: number

      Channel value. Integer between 1 and 16

    Returns void

  • Parameters

    • semitones: number
    • cents: number
    • Optional channel: number
    • messageDelayMs: number = 100

    Returns Promise<void>

Generated using TypeDoc