> ---------- Forwarded message ----------
> From: Jan <jan.vander...@gmail.com>
> To: lilypond-user Mailinglist <lilypond-user@gnu.org>
> Cc:
> Bcc:
> Date: Tue, 5 Dec 2023 22:51:44 +0100
> Subject: Hide chords
> What is the recommended method to “hide” chord names for a couple of
> measures? For example, in the snipped below I’d like to hide the chords for
> measures 5 to 8.
>
>
>
> Any help would be greatly appreciated.
> Jan



You can just enter either rests or spacers for the measures where you don't
want chords to appear.


Instead of what you have, which would be something like

    mychords = \chordmode {
        df1 | bf:7 | ef2:7 af:7 | f1:m7 |
        df1 | bf:7 | ef2:7 af:7 | f1:m7 |
    }

You could use the following

    mychords = \chordmode {
        df1 | bf:7 | ef2:7 af:7 | f1:m7 |
        s1*4
    }



If you have different parts that need all the chords
then you would define different variables, such as in
the following example, allChords and someChords.

For material that would appear in both, like this 4 bar chord sequence,
you can define that as a variable, too, then reference
that in the other variables.

    chordSequence = \chordmode {
        df1 | bf:7 | ef2:7 af:7 | f1:m7 |
    }

    allChords = \chordmode {
         \chordSequence
         \chordSequence
    }

    someChords = \chordmode {
        \chordSequence
        s1*4
    }


HTH,

Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
ela...@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to