> The title. I'm excerpting something right as it modulates into C, and want to 
> include the key change into C in the excerpt. How would I do this?
> 
> --Fennel


Dear Fennel,

Following this snippet:

https://lilypond.org/doc/v2.24/Documentation/snippets/pitches#pitches-non_002dtraditional-key-signatures

What you are looking for would look like this:

%%BEGIN%%

\version "2.24.4"

\language "english"

{
 \set Staff.keyAlterations = #`((7 . ,NATURAL)
                                 (2 . ,NATURAL)
                                 (6 . ,NATURAL)
                                 (1 . ,NATURAL)
                                 (5 . ,NATURAL))
c'1
}

{
 \set Staff.keyAlterations = #`((3 . ,NATURAL)
                                 (0 . ,NATURAL)
                                 (4 . ,NATURAL)
                                 (1 . ,NATURAL)
                                 (5 . ,NATURAL))
c'1
}
%%END%%

Happy to help,
Yoshi

Reply via email to