]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/quote-transposition.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / regression / quote-transposition.ly
index d7c2a5cc7af3674a4ac8d88a12f2d7a67badb1b6..a61a9ad2928dcf672e1a17bcff3de0caeaa1a0fb 100644 (file)
@@ -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.3.4"
 
+\version "2.11.51"
 
-\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"
+  >>
+>>