How to play Percussion with MIDI.js

I am trying to play Percussion using MIDI.js

Looking at the General MIDI specification at http://en.wikipedia.org/wiki/General_MIDI#Piano Percussion is displayed separately from the 128 instruments MIDI support.

However, when I load the instruments using the MIDI.loadPlugin method, I have to pass an array with the instruments name.

Question : What is the name of the tool I am passing to loadPlugin () to indicate that I want to play Percussion? Should I replace the soundfont of one of these 128 instruments with a percussion sound and load that instrument? Or is there a better way to play percussion?

For a better player idea, I'm working on taking a look at http://www.ripbeat.com/PianoLesson/15199/Vida-Loca-Francisco-Cespedes

+3


source to share





All Articles