UNPKG

shimi

Version:

A JS framework for building complex MIDI applications

63 lines (62 loc) 2.1 kB
/** * The Drums class provides static properties for calling specific MIDI drums by name, rather than number. * * For example: * ``` * new Clip(4) * .addNote([0, 2], 1, Drums.acousticBass, 80) * .addNote([1, 3], 1, Drums.acousticSnare, 80) * .addNote([0, 1, 2, 3], 1, Drums.closedHiHat, 60); * ``` * * @category Midi IO */ export default abstract class Drums { static get acousticBass(): number; static get bass1(): number; static get sideStick(): number; static get acousticSnare(): number; static get handClap(): number; static get electricSnare(): number; static get lowFloorTom(): number; static get closedHiHat(): number; static get highFloorTom(): number; static get pedalHiHat(): number; static get lowTom(): number; static get openHiHat(): number; static get lowMidTom(): number; static get hiMidTom(): number; static get crashCymbal1(): number; static get highTom(): number; static get rideCymbal1(): number; static get chineseCymbal(): number; static get rideBell(): number; static get tambourine(): number; static get splashCymbal(): number; static get cowbell(): number; static get crashCymbal2(): number; static get vibraslap(): number; static get rideCymbal2(): number; static get hiBongo(): number; static get lowBongo(): number; static get muteHiConga(): number; static get openHiConga(): number; static get lowConga(): number; static get highTimbale(): number; static get lowTimbale(): number; static get highAgogo(): number; static get lowAgogo(): number; static get cabasa(): number; static get maracas(): number; static get shortWhistle(): number; static get longWhistle(): number; static get shortGuiro(): number; static get longGuiro(): number; static get claves(): number; static get hiWoodBlock(): number; static get lowWoodBlock(): number; static get muteCuica(): number; static get openCuica(): number; static get muteTriangle(): number; static get openTriangle(): number; }