Options
All
  • Public
  • Public/Protected
  • All
Menu

Module sattern

Index

Type aliases

Channel

Channel: number

Represents a channel.

ObjectID

ObjectID: number

Represents an object identifier.

Variables

Const graph

graph: Graph

The main Graph object.

Const midiKeyboardState

midiKeyboardState: MidiKeyboardState

The main MidiKeyboardState object.

onAftertouchChanged

onAftertouchChanged: (afterTouch: Aftertouch) => void

The main after touch changed callback.

Type declaration

onChannelPressureChanged

onChannelPressureChanged: (channelPressure: ChannelPressure) => void

The main channel pressure changed callback.

Type declaration

onControllerMoved

onControllerMoved: (controller: Controller) => void

The main controller moved callback.

Type declaration

onNoteOff

onNoteOff: (note: Note) => void

The main note off callback.

Type declaration

    • (note: Note): void
    • Parameters

      Returns void

onNoteOn

onNoteOn: (note: Note) => void

The main note on callback.

Type declaration

    • (note: Note): void
    • Parameters

      Returns void

onPitchWheelMoved

onPitchWheelMoved: (pitchBend: PitchBend) => void

The main pitch wheel moved callback.

Type declaration

Const patterns

patterns: Pattern[]

Returns all Pattern objects that have been added.

Const processType

processType: string

The process type. This will either be "standalone" or "plugin".

Functions

add

  • Adds a Pattern to the global object.

    Parameters

    • pattern: Pattern

      The pattern to add.

    Returns ObjectID | undefined

    The identifier of the pattern that was added or undefined if the object can't be added.

  • Adds a list of Patterns to the global object.

    Parameters

    Returns ObjectID[]

    A list of identifiers of the patterns that were added.

get

  • Returns a Pattern object for the specified identifier or undefined if the object does not exist.

    Parameters

    Returns Pattern | undefined

Generated using TypeDoc