On Wed, Jan 16, 2013 at 01:48:21AM -0500, Kieren MacMillan wrote: > Hi Keith, > > > for the part where the player switches instruments, you'd probably > > like to store the as-written pitches along with the transpositions. > > Then you can use LilyPond's quoting system to get the music in concert > > pitch for the C-score. > > Now we're getting somewhere! Thanks! > I will test this technique with more abstracted setups (e.g., the key > signatures in a global variable, shared across > multiple multi-instrumentalists), and see how it works.
I can't prove it but I believe had conflicts between quoting and tags in a large score. I didn't have time to diagnose it so I just removed a lot of useful cues which would have cluttered the score without tags to remove them from the score. Paul Scott > > All the best, > Kieren. > > > > > windMusic = { > > <>^\markup\bold "Flute" > > \transposition c' > > \key d \major > > \relative d' { > > d8( e fis g a b cis d) } > > <>^\markup\bold\concat{ "Clarinet in B" \flat} > > \transposition bes > > \transpose bes c' \relative d' { > > \tag#'part \key d\major > > d( e fis g a b cis d) > > \bar "||" %% This gets lost, maybe due to a bug > > \key f \major > > d,( e fis g a b cis d) } > > <>^\markup\bold "Flute" > > \transposition c' > > \tag#'part \key f \major > > \relative d' { > > d( e fis g a b cis d) } } > > > > \addQuote "wind" \keepWithTag#'score \windMusic > > > > windMusicInC = \quoteDuring "wind" #(skip-of-length windMusic ) > > > > \new Staff \keepWithTag#'part \windMusic % Part > > > > \score { \new Voice \windMusicInC } > > > > > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user