[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Time-signature cancellation
From: |
Dan Eble |
Subject: |
Re: Time-signature cancellation |
Date: |
Sun, 4 Jun 2023 16:09:57 -0400 |
On Jun 4, 2023, at 15:27, Flaming Hakama by Elaine <elaine@flaminghakama.com>
wrote:
>
> I guess I am kind of confused at the default behavior, why does lilypond
> not reprint a clef when you specify \clef ?
>
> Are people putting \clef commands in their code where they don't want a
> clef to appear?
> Is this a common practice?
I can't read the mind of the original designers, but I can appreciate that it
simplifies certain things like unfolding repeats and reusing music from
variables in different parts of a work.
sectionA = { \clef "alto" . . . }
sectionB = { . . . \clef "treble" . . . }
refrain = { \clef "treble" . . . }
\new Staff {
\sectionA
\refrain
\sectionB
\refrain % [1]
}
If it didn't work the way it does, the question at [1] would be, "Why is
LilyPond printing an unnecessary change clef and confusing my ______ section in
rehearsal?"
—
Dan