Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BasePlayerCallback

An abstract base class for providing arbitrary callbacks for each note played.

Hierarchy

  • BasePlayerCallback

Index

Methods

Methods

Abstract run

  • run(n: INote, t?: number): void
  • Will be called for each time/note pair in a sequence being played.

    Parameters

    • n: INote

      The note being played at the moment.

    • Optional t: number

      The time at which the note is being played.

    Returns void

Abstract stop

  • stop(): void

Generated using TypeDoc