Note

Constructors

  • Creates an instance of Note.

    Parameters

    • pitch: number

      is the MIDI note number, 0...127, 60 is C3.

    • start: number

      is the note start time in beats of absolute clip time.

    • duration: number

      is the note length in beats.

    • velocity: number

      is the note velocity, 1 ... 127.

    • parameters: Partial<NoteParameters> = {}

      extra note parameters

    Returns Note

    Memberof

    Note

Accessors

  • get duration(): number
  • The note length in beats.

    Returns number

    Memberof

    Note

  • get id(): undefined | number
  • The note id from Live

    Returns undefined | number

    Memberof

    Note

  • get muted(): boolean
  • Returns boolean

  • get pitch(): number
  • The MIDI note number, 0...128, 60 is C3.

    Returns number

    Memberof

    Note

  • get probability(): number
  • Returns number

  • get releaseVelocity(): number
  • Returns number

  • get start(): number
  • The note start time in beats of absolute clip time.

    Returns number

    Memberof

    Note

  • get velocity(): number
  • The note velocity, 1 ... 127.

    Returns number

    Memberof

    Note

  • get velocityDeviation(): number
  • Returns number

Methods