lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeats in \parallelMusic


From: David Kastrup
Subject: Re: Repeats in \parallelMusic
Date: Wed, 26 Aug 2015 14:10:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

David Sumbler <address@hidden> writes:

> This solution works fine for the piece I am currently setting.  However,
> it raises a question for which I may some day need an answer: is it
> possible to have repeats starting and ending within a bar when using
> \parallelMusic?
>
> Here is a modified version of the above snippet:
>
> \version "2.18.0"
>
> \parallelMusic #'(Vone Vtwo) {
> %bar 1
>     \repeat volta 2 {
>       d''2 d'' |
>       f'2 f' |
> %bar 2    
>       c''2 c'' |
>       e'2 e' |
>     }
> %bar 3
>     g''1 |
>     c''1 |
> }
>
> \score { <<
>     \new Staff { \Vone }
>     \new Staff { \Vtwo }
>     >> }
>
> That, of course, works fine.
>
> But suppose that the repeat should start in the middle of bar 1 and end
> in the middle of bar 2.  This is easily done when setting the parts
> separately; but can it be done within a \parallelMusic structure?  On
> the face of it, the answer would seem to be "no".
>
> Or is it?

Any reason you neither try it out nor add any template to demonstrate
on?  A user list is primarily a knowledge resource: making use of the
different knowledge and skill levels of the participants for overcoming
hurdles, not for running the whole track.

It should be easy enough for yourself to modify the example such that
the repeats are on partial measure positions.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]