bug-lilypond
[Top][All Lists]
Advanced

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

Re: notes inside quoteDuring (or cueDuring) don't transpose with the res


From: Dave LaDelfa
Subject: Re: notes inside quoteDuring (or cueDuring) don't transpose with the rest of the part
Date: Wed, 9 May 2007 16:38:47 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> Have you seen the quote-transposition.ly  example?  It's in the 
> regression tests, the "snippets -> Preparing parts" of the 2.11 docs, 
> and LSR.  Does this snippet do what you want to do?  I'm not too 
> familiar with transposition, but it seems to me like it does.

I see what you mean. I still suspect there's unintended behavior, though;
unless you specify \transposition for every voice, quoteDuring seems to ignore
\transpose.

NB: cueDuring and quoteDuring behave the same, as far as I can tell. I've
switched to \quoteDuring in the following example.




\version "2.11.23"
\paper{ ragged-right=##t }

flute = \new Voice {  \relative c'{\key  c \major 
    bes1 
    c4 d e f 
  } }
\addQuote fluteCue \flute

oboe = \new Voice { \relative c'{\key  c \major 
    bes1 
    \quoteDuring #"fluteCue" { s1 } 
  } }


\score {
  \new StaffGroup <<
    %%  The original part
    \new Staff << \transpose c c {\set Staff.instrumentName = "flute 1" \flute} 
>>

    %%  Original, transposed up a fifth
    \new Staff << \transpose c g {\set Staff.instrumentName = "flute 2" \flute} 
>>

    %%  Instrument with cue, explicit \transposition (to the unison c'=c') --
this works correctly
    \new Staff << \transpose c g {\set Staff.instrumentName = "oboe 1"
\transposition c' \oboe} >>

    %%  Instrument with cue, omitted \transposition -- quote doesn't get 
transposed!
    \new Staff << \transpose c g {\set Staff.instrumentName = "oboe 2" \oboe} >>

  >>
  \layout { }
}











reply via email to

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