MIDI Percussions
To have drums with $ABC_UI, we use the 128 MIDI program:
%%MIDI program 128
It's NOT the standard, but it's easy. Standard is:
%%MIDI channel 10
In html file add to be offline having soundfonts in local:
<script src="soundfonts/percussion-mp3.js"></script>
Or use online:
<script src="https://gleitz.github.io/midi-js-soundfonts/FluidR3_GM/percussion-mp3.js"></script>
|
Percussion |
note |
abc |
midi |
 |
Acoustic Bass Drum |
B1 |
B,,, |
35 |
 |
Bass Drum 1 |
C2 |
C,, |
36 |
 |
Side Stick |
Db2 |
_D,, |
37 |
 |
Acoustic Snare |
D2 |
D,, |
38 |
 |
Electric Snare |
E2 |
E,, |
40 |
 |
Hand Clap |
Eb2 |
_E,, |
39 |
 |
Claves |
Eb5 |
_e |
75 |
 |
Cabasa |
A4 |
A |
69 |
 |
Maracas |
Bb4 |
_B |
70 |
 |
Ride Bell |
F3 |
F, |
53 |
 |
Tambourine |
Gb3 |
_G, |
54 |
 |
Cowbell |
Ab3 |
_A, |
56 |
 |
Vibraslap |
Bb3 |
_B, |
58 |
 |
Mute Cuica |
Gb5 |
_g |
78 |
 |
Open Cuica |
G5 |
g |
79 |
 |
Mute High Conga |
D4 |
D |
62 |
 |
Open High Conga |
Eb4 |
_E |
63 |
 |
Low Conga |
E4 |
E |
64 |
 |
High Bongo |
C4 |
C |
60 |
 |
Low Bongo |
Db4 |
_D |
61 |
 |
High Timbale |
F4 |
F |
65 |
 |
Low Timbale |
Gb4 |
_G |
66 |
 |
High Agogo |
G4 |
G |
67 |
 |
Low Agogo |
Ab4 |
_A |
68 |
|
|
|
Percussion |
note |
abc |
midi |
 |
Low Floor Tom |
F2 |
F,, |
41 |
 |
High Floor Tom |
G2 |
G,, |
43 |
 |
Low Mid Tom |
B2 |
B,, |
47 |
 |
High Mid Tom |
C3 |
C, |
48 |
 |
Low Tom |
A2 |
A,, |
45 |
 |
High Tom |
D3 |
D, |
50 |
 |
Closed Hi-Hat |
Gb2 |
_G,, |
42 |
 |
Pedal Hi-Hat |
Ab2 |
^A,, |
44 |
 |
Open Hi-Hat |
Bb2 |
_B,, |
46 |
 |
Crash Cymbal 1 |
Db3 |
_D, |
49 |
 |
Ride Cymbal 1 |
Eb3 |
_E, |
51 |
 |
Chinese Cymbal |
E3 |
E, |
52 |
 |
Splash Cymbal |
G3 |
G, |
55 |
 |
Crash Cymbal 2 |
A3 |
A, |
57 |
 |
Ride Cymbal 2 |
B3 |
B, |
59 |
 |
Short Whistle |
B4 |
B |
71 |
 |
Long Whistle |
C5 |
c |
72 |
 |
Short Guiro |
Db5 |
_d |
74 |
 |
Long Guiro |
D5 |
d |
73 |
 |
High Wood Block |
E5 |
e |
76 |
 |
Low Wood Block |
F5 |
f |
77 |
 |
Mute Triangle |
Ab5 |
_a |
80 |
 |
Open Triangle |
A5 |
a |
81 |
|
M:C
L:1/4
%%MIDI program 128
"Acoustic\nBass Drum\nB0\n35"B,,, | "Bass\nDrum 1\nC1\n36"C,, | "Side\nStick\nC#1\n37"^C,, | "Acoustic\nSnare\nD1\n38"D,, | "Hand\nClap\nD#1\n39"^D,, | "Electric\nSnare\nE1\n40"E,, |
M:C
L:1/4
%%MIDI program 128
"Low Floor\nTom\nF1\n41"F,, | "Closed\nHi-Hat\nF#1\n42"^F,, | "High\nFloor Tom\nG1\n43"G,, | "Pedal\nHi-Hat\nG#1\n44"^G,, | "Low\nTom\nA1\n45"A,, | "Open\nHi-Hat\nA#1\n46"^A,, |
M:C
L:1/4
%%MIDI program 128
"Low\nMid-Tom\nB1\n47"B,, | "High\nMid-Tom\nC2\n48"C, | "Crash\nCymbal 1\nC#2\n49"^C, | "High\nTom\nD2\n50"D, | "Ride\nCymbal 1\nD#2\n51"^D, |
M:C
L:1/4
%%MIDI program 128
"Chinese\nCymbal\nE2\n52"E, | "Ride\nBell\nF2\n53"F, | "Tambourine\n\nF#2\n54"^F, | "Plash\nCymbal\nG2\n55"G, | "Cowbell\n\nG#2\n56"^G, | "Crash\nCymbal 2\nA2\n57"A, |
M:C
L:1/4
%%MIDI program 128
"Vibraslap\n\nA#2\n58"^A, | "Ride\nCymbal 2\nB2\n59"B, | "High\nBongo\nC3\n60"C | "Low\nBongo\nC#3\n61"^C | "Mute High\nConga\nD3\n62"D | "Open High\nConga\nD#3\n63"^D |
M:C
L:1/4
%%MIDI program 128
"Low\nConga\nE3\n64"E | "High\nTimbale\nF3\n65"F | "Low\nTimbale\nF#3\n66"^F | "High\nAgogo\nG3\n67"G | "Low\nAgogo\nG#3\n68"^G | "Cabasa\n\nA3\n69"A |
M:C
L:1/4
%%MIDI program 128
"Maracas\n\nA#3\n70"^A | "Short\nWhistle\nB3\n71"B | "Long\nWhistle\nC4\n72"c | "Short\nGuiro\nC#4\n73"^c | "Long\nGuiro\nD4\n74"d | "Claves\n\nD#4\n75"^d |
M:C
L:1/4
%%MIDI program 128
"High Wood\nBlock\nE4\n76"e | "Low Wood\nBlock\nF4\n77"f | "Mute\nCuica\nF#4\n78"^f | "Open\nCuica\nG4\n79"g | "Mute\nTriangle\nG#4\n80"^g | "Open\nTriangle\nA4\n81"a |
M:C
L:1/4
%%MIDI program 128
b | c' | ^c' | d' |