Hello Alexander,
the \drums command implicitly creates a new DrumStaff, so I recommend
using \drummode for this purpose.
If you have basic patterns, which shall receive "random" ties, you can
create SimultaneousMusic with a << >> construct and overlay the patterns
with the needed ties:
--snip--
% for a normal Voice
A = \relative { c8 c }
\new Staff \new Voice << { \A \A } { s8 s~ s s } >>
% for a DrumVoice
B = \drummode { sn8 sn }
\new DrumStaff \new DrumVoice << { \B \B } { s8 s~ s s } >>
--snip--
HTH
Cheers, Jan-Peter
Am 27.09.2013 05:23, schrieb Alexander Wallace:
Hi all,
For study purposes, i want to do 128 rithmic patterns composed of 7 basic
rithmic patterns combined via a tie.
Rather than writing the 128 patterns separately I'd love to write the basic 7
as variables and then just reuse them.
Say that I write:
A = \drums { sn8 sn8 }
How could I write the equivalent of
\drums { sn8 sn8 ~ sn8 sn8 }
using variables?
This doesn't work:
{ \A ~ \A }
Is there any way?
Thank you so much in advance.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user