X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fquote-transposition.ly;h=a55145732a495553a2db93b812e53452c5428fe3;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=54aba573fbbf8aa7c7b0c5685542e84730460e64;hpb=9c31b0d42a407a412a324a6586cfb0437de4bfd8;p=lilypond.git diff --git a/input/regression/quote-transposition.ly b/input/regression/quote-transposition.ly index 54aba573fb..a55145732a 100644 --- a/input/regression/quote-transposition.ly +++ b/input/regression/quote-transposition.ly @@ -2,32 +2,44 @@ \header { - texidoc = "Quotations take into account the transposition of both source and target. -In this example, all instruments play sounding central C, the target is a instrument in F." + texidoc = "Quotations take into account the transposition of both +source and target. In this example, all instruments play sounding +central C, the target is a instrument in F. The target part may be +@code{\\transpose}d. In this case, all the pitches (including the +quoted ones) will transposed as well. " } -\version "2.1.36" +\version "2.14.0" -\addquote clarinet \notes { +\layout { ragged-right = ##t } + + +\addQuote clarinet { \transposition bes d'16 d'16 d'8 d'16 d'16 d'8 d'16 d'16 d'8 d'16 d'16 d'8 - } -\addquote sax \notes { +} + +\addQuote sax { \transposition es' a8 a a a a a a a - } - -\score { - \notes{ - \transposition f % french horn - - g'4 - << \quote clarinet 4 s4^"clar" >> - << \quote sax 4 s4^"sax" >> - } } +quoteTest = { + \transposition f % french horn + + g'4 + << \quoteDuring #"clarinet" { \skip 4 } s4^"clar" >> + << \quoteDuring #"sax" { \skip 4 } s4^"sax" >> +} + + +<< \quoteTest + \new Staff + << \transpose c' d' \quoteTest + s4_"up 1 tone" + >> +>>