Craig Dabelstein <craig.dabelst...@gmail.com> writes:

> Hi Lilyponders,
>
> I have a score where all key changes, tempo changes etc are in a global
> variable, IN CONCERT PITCH.
>
> The first clarinet part has to change halfway through from Clarinet in Bb
> to Clarinet in Eb. These notes are entered in WRITTEN not SOUNDING pitch.
>
> Is there anyway to get the global variables (key signatures) to transpose
> correctly without changing the written notes of the instrument?
>
> See the minimal example.

Well, one could try something like

\version "2.19.16"

\language "english"

global = {
  \key d \major
  s1*4
  \key f \major
  s1*4
}

\addQuote "global" \global

clarinet = \relative c' {
  \transposition bf
  e4 ^"Cl. in Bb" fs gs a |
  b4 cs ds e |
  R1*2 |
  \transposition ef'
  c4 ^"Cl. in Eb" d e f |
  g4 a b c |
  R1*2 |
}

<<
  \new Staff \with { instrumentName = #"Clarinet" }
  \quoteDuring "global" \clarinet
>>

-- 
David Kastrup
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to