Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DrumKit

A singleton drum kit synthesizer with 9 pitch classed defined by data.DEFAULT_DRUM_PITCH_CLASSES.

Hierarchy

  • DrumKit

Index

Methods

playNote

  • playNote(pitch: number, time: number, velocity: number): void
  • Parameters

    • pitch: number
    • time: number
    • velocity: number

    Returns void

Static getInstance

Generated using TypeDoc