Ejemplo de cajas chinas grave y aguda
Dos cajas chinas, escritas como ’wbh’ (high woodblock) y
’wbl’ (low woodblock). La longitud de la línea divisoria
se ha alterado con una instrucción \override para que no sea
demasiado corta. Las posiciones de las dos líneas de la pauta se tienen que definir explícitamente también.
\paper { = ##f }
% These lines define the position of the woodblocks in the stave;
% if you like, you can change it or you can use special note heads
% for the woodblocks.
#(define mydrums '((hiwoodblock default #f 3)
(lowoodblock default #f -2)))
woodstaff = {
% This defines a staff with only two lines.
% It also defines the positions of the two lines.
\override Staff.StaffSymbol.line-positions = #'(-2 3)
% This is necessary; if not entered,
% the barline would be too short!
\override Staff.BarLine.bar-extent = #'(-1.0 . 1.5)
% small correction for the clef:
\set DrumStaff.clefPosition = 0.5
}
\new DrumStaff {
% with this you load your new drum style table
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\woodstaff
\drummode {
\time 2/4
wbl8 16 16 8-> 8 |
wbl8 16 16-> ~ 16 16 r8 |
}
}