lilypond-user
[Top][All Lists]
Advanced

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

Re: repeat and dynamic


From: Toine Schreurs
Subject: Re: repeat and dynamic
Date: Fri, 27 May 2016 18:50:00 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

> Have a look to the following code. Please note that each line contain
> the same notes but different dynamic information:
> 
> \version "2.19.40"
> {
>   a'-4 \p \< g'-3 e'-2 c''-5
>   a'-4 g'-3 e'-2 c''-5
>   a'-4 g'-3 e'-2 c''-5 \!
> }
> 
> Is there any way to write the previous code using a repeat? Something
> like this (that of course does not work):
> 
> \p \< \repeat unfold 3 {a'-4 g'-3 e'-2 c''-5} \!
> 

  <<
    \repeat unfold 3 { a'-4 g'-3 e'-2 c''-5 }
    { s1\p\< | s1 | s2. s4\! }
  >>

Toine Schreurs



reply via email to

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