lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi-instrument parts


From: Kieren MacMillan
Subject: Re: multi-instrument parts
Date: Wed, 16 Jan 2013 01:55:14 -0500

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.

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 }
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]