lilypond-user
[Top][All Lists]
Advanced

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

Re: Variables and Repetition


From: John A
Subject: Re: Variables and Repetition
Date: Sun, 25 Mar 2018 08:02:35 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0



On 03/25/2018 02:59 AM, David Kastrup wrote:
John A <address@hidden> writes:

Hi all,

I just got started using Lilypond with Frescobaldi, and I'm having a
great time. I have been trying to organize the music with variables to
make things more efficient, and I am running into a little bit of
trouble. This is what happens: I have a repeated figure, and store
that figure in a variable. I call this variable a few times in a row,
something like this:

music = { ...notes... }
\music
\music
\music

I am entering the notes in relative mode,
Then enter it as

music = \relative { ...notes... }

since then the music is already absolutized to its target octave.


This worked perfectly, thank you!



reply via email to

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