X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fquote-transposition.ly;h=6138485c0a56fd8b2df25ea29c500212fade5763;hb=e3965faa43f479344e5fea11f6d0b058ab007c95;hp=e8c624b208f2e9eedef4fcf2b7676e574e20af10;hpb=3684e949054183e4a31e17f5e7ab0bf30da0123e;p=lilypond.git diff --git a/input/regression/quote-transposition.ly b/input/regression/quote-transposition.ly index e8c624b208..6138485c0a 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.2.0" +\version "2.12.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" + >> +>>