txtmus/abc2svg documentation - %%drum and %%begindrum... commands

begindrum ID drum_sequence [ legend ] enddrum

This command defines a drum sequence. The syntax is the one of the drum tablatures (you may get examples from drum tabs).
Example:

%%begindrum simple
HH |x-x-x-x-x-x-x-x-|
SD |----o-------o---|
BD |o-------o-------|

HH |-Hi-Hat----------|
SD |-Snare-drum------|
BD |-Bass-drum-------|
%%enddrum

drum ID

This command must appear inside a tune. When ID is present, the drum sequence is immediately activated. It is stopped when ID is absent.

Example (click on the music to play it):

abc2svg documentation source author - page hosted by Free