|
From: | Jan-Peter Voigt |
Subject: | Re: variables tied with slurs |
Date: | Fri, 27 Sep 2013 08:39:38 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
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 address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |