Re: variables tied with slurs

2013-09-29 Thread Peter Bjuhr
On 09/28/2013 01:41 PM, David Kastrup wrote: That's because each \A is in a Voice of its own. Use an explicit Voice to avoid independent implicit voices for each \A: That's good to know! Thanks! If I may add another more realistic yet hypothetical example. The following works. If the ties

Re: variables tied with slurs

2013-09-29 Thread Alexander Wallace
Not exaclty, that puts the A patternse in different staffs and there is no tie between them... Thanks for the response though, and sorry it took me so long to get back to this. On Sep 27, 2013, at 12:05 AM, Urs Liska wrote: Does A = \drums { sn8 sn8~ } { \A \A } Do what you want?

Re: variables tied with slurs

2013-09-29 Thread Alexander Wallace
This is an interesting approach and it seems like I should be able to do what I want with it... I'm not entirely sure I understand why it works though, why the simultaneous rests create the tie on the snares ? I'm too new to both lilypond and music so please forgive my naiveness. I would just

Re: variables tied with slurs

2013-09-29 Thread Alexander Wallace
Indeed that works! Awesome! Thanks! On Sep 27, 2013, at 3:46 AM, Peter Bjuhr wrote: On 09/27/2013 07:05 AM, Urs Liska wrote: Does A = \drums { sn8 sn8~ } { \A \A } Do what you want? I was curious of this, but Urs is right it does work. There are no obstacles in ending with a

Re: variables tied with slurs

2013-09-28 Thread Urs Liska
Am 27.09.2013 10:46, schrieb Peter Bjuhr: On 09/27/2013 07:05 AM, Urs Liska wrote: Does A = \drums { sn8 sn8~ } { \A \A } Do what you want? I was curious of this, but Urs is right it does work. There are no obstacles in ending with a tie. Apparently it is just ignored: \version 2.17.26

Re: variables tied with slurs

2013-09-28 Thread Peter Bjuhr
On 09/28/2013 08:49 AM, Urs Liska wrote: \version 2.17.26 % How could I write the equivalent of \drums { sn8 sn8 ~ sn8 sn8 } %using variables? % This does work! A = \drummode { sn8 sn8 ~ } \score { \new DrumStaff { \A \A } } %end with a tie { b'4 a' g' b' ~ } Best Peter Thanks. I

Re: variables tied with slurs

2013-09-28 Thread David Kastrup
Peter Bjuhr peterbj...@gmail.com writes: On the other hand, this doesn't work: \version 2.17.28 A = \relative c'' {a4 b c a ~ } \score { \new Staff { \A \A } } That's because each \A is in a Voice of its own. Use an explicit Voice to avoid independent implicit voices for each \A:

Re: variables tied with slurs

2013-09-27 Thread Jan-Peter Voigt
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--

Re: variables tied with slurs

2013-09-27 Thread Peter Bjuhr
On 09/27/2013 07:05 AM, Urs Liska wrote: Does A = \drums { sn8 sn8~ } { \A \A } Do what you want? I was curious of this, but Urs is right it does work. There are no obstacles in ending with a tie. Apparently it is just ignored: \version 2.17.26 % How could I write the equivalent of

variables tied with slurs

2013-09-26 Thread 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

Re: variables tied with slurs

2013-09-26 Thread Urs Liska
Does A = \drums { sn8 sn8~ } { \A \A } Do what you want? Alexander Wallace a...@rwmotloc.com schrieb: 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