X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fquote-transposition.ly;h=ceec1d58e5924e5484d59251919e9aa2ec596ce7;hb=dd583408347dbac3d9fc8148e0b7ab040305b8af;hp=d7c2a5cc7af3674a4ac8d88a12f2d7a67badb1b6;hpb=51159f8679de00e6cd526ca2a16e1ea4d4294f81;p=lilypond.git diff --git a/input/regression/quote-transposition.ly b/input/regression/quote-transposition.ly index d7c2a5cc7a..ceec1d58e5 100644 --- a/input/regression/quote-transposition.ly +++ b/input/regression/quote-transposition.ly @@ -2,32 +2,43 @@ \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. The quoted pitches will stay unchanged." } -\version "2.3.4" +\version "2.16.0" -\addquote clarinet { +\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 { +} + +\addQuote sax { \transposition es' a8 a a a a a a a - } - -\score { - { - \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" + >> +>>