lilypond-user
[Top][All Lists]
Advanced

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

Re: "unroll code"


From: Robert Schmaus
Subject: Re: "unroll code"
Date: Sun, 15 May 2016 20:52:36 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.7.2


That was my first thought too, but the OP wanted to have something like

\repeat unfold 3 { c d e f }

unfolded into

c d e f
c d e f
c d e f

and \displayLilyMusic doesn't do that. Instead it outputs

\repeat unfold 3 { c d e f }




Am 15/05/16 um 18:18 schrieb Paul:
On 05/15/2016 09:01 AM, David Wright wrote:
On Sun 15 May 2016 at 13:07:31 (+0200), address@hidden wrote:
Would such manipulations be easy in Scheme, using DisplayMusic to
output the result ?
Maybe \displayLilyMusic would be useful?

\version "2.18.2"

ab = { c d e f }
cd = { g a b c }

\displayLilyMusic {
   \ab
   \cd
}

% prints:
% { { c d e f } { g a b c } }

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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