Thanks Kieren. That worked for my over-simplified MWE. But here's my
real-world problem with multiple key changes. There are only some that need
to be over-ridden enharmonically. See bar 2 of the Alto Sax where I'd like
to override this key signature without changing the whole global setup. Is
this possible?

All the best,

Craig

%%%%%%%%%%%

\version "2.20.00"
\language "english"

\include "enharmonic.ly"

fluteNotes = { \repeat unfold 3 { c'4 d' e' f' } }

altosaxNotes = \transpose c' ef
{ \repeat unfold 3 { c'4 d' e' f' } }

global = {
  \key bf \major
  s1
  \key b \major
  s1
  \key ef \major
  s1
}

\score {
  <<
    \new Staff {
      \set Staff.instrumentName = "Flute"
      <<
        \global
        \fluteNotes
      >>
    }
    \new Staff {
      \set Staff.instrumentName = "Alto Sax"
      \transpose ef c'
      <<
        \global
        \altosaxNotes
      >>
      }
  >>
}

%%%%%%


Craig Dabelstein
Owner, Maxime's Music
cr...@concertbandmusicstore.com
19 Twelfth Ave, Kedron QLD 4031 <https://maps.google.com/?q=19 Twelfth Ave,
Kedron QLD 4031>
[image: App Social Buttons Image]
<http://www.linkedin.com/in/concert-band-music/>   [image: App Social
Buttons Image] <http://www.facebook.com/craig.dabelstein>
Maxime's Music [image: arrow] <https://concertbandmusicstore.com>
Create your own email signature
<https://www.wisestamp.com/create-own-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=>

On Tue, 30 Mar 2021 at 09:23, Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Craig,
>
> > In this snippet, how can I override the Alto Sax key signature so it
> displays as A-flat major instead of G-sharp major?
>
> \transpose ds c'
>
> But then you’ll probably want the old “naturalize notes” snippet (wherever
> that is…).
>
> Hope that helps!
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer (he/him/his)
> ‣ website: www.kierenmacmillan.info
> ‣ email: kie...@kierenmacmillan.info
>
>

Reply via email to