MIDIBridge - abudaan/MIDIBridge GitHub Wiki
init()
getApplet()
getMIDIAccess()
getSequencer()
formatMicroseconds()
getNoteName(noteNumber, mode)
console.log(midiBridge.getNoteNumber("c",3));
//prints: 48
Returns the name of the note. The noteNumber is the MIDI note number in data1, the mode can be one of the note modi:
midiBridge.NOTE_NAMES_SHARP
midiBridge.NOTE_NAMES_FLAT
midiBridge.NOTE_NAMES_ENHARMONIC_SHARP
midiBridge.NOTE_NAMES_ENHARMONIC_FLAT
midiBridge.NOTE_NAMES_SOUNDFONT
getNoteNumber(noteName, octave)
console.log(midiBridge.getNoteName("61",midiBridge.NOTE_NAMES_FLAT));
//prints: D♭4
getStatus()