[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Variables and Repetition
From: |
David Kastrup |
Subject: |
Re: Variables and Repetition |
Date: |
Sun, 25 Mar 2018 09:59:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
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.
--
David Kastrup