]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 2 Oct 2004 10:33:27 +0000 (10:33 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 2 Oct 2004 10:33:27 +0000 (10:33 +0000)
ChangeLog
Documentation/topdocs/NEWS.texi
Documentation/user/notation.itely
input/regression/quote-transposition.ly
ly/engraver-init.ly

index 6be1337a5381d2c63edef7b42a425a372de626d3..7f0bdb1fed02ddd594f5007b8ad70e0bb6c06571 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,14 @@
 2004-10-02  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * VERSION (PACKAGE_NAME): release 2.3.20
+       
+       * input/regression/quote-transposition.ly: update example
+
        * scm/define-music-properties.scm (all-music-properties): change
        meaning of instrumentTransposition.  It is now the pitch played
        that sounds as middle C. This means that instrumentTransposition
        can be \transposed. 
+       Fixes: transpose-quote.ly
 
        * lily/parser.yy (command_element): reverse setting of
        instrumentTransposition
@@ -12,6 +17,7 @@
 
        * lily/recording-group-engraver.cc (stop_translation_timestep):
        remove macrameing of accumulator and set_car/cdr.
+       Fixes: transposition-quote.ly
 
        * lily/music.cc (transpose): fold Event::transpose() in.
 
@@ -71,7 +77,7 @@
        \bookpaper.
 
        * lily/slur.cc (outside_slur_callback): epsilon-delta management
-       for slur edges.
+       for slur edges. Fixes: progerror-no-bezier-intersection.ly
  
        * scm/framework-tex.scm (dump-page): put stencil height in dumped
        page.
index 71512df1fda727e55c808ba4d9c16c9a587a8d74..4e3b05d4c545367abca9e690bb33378bb12a13c7 100644 (file)
@@ -7,6 +7,7 @@
 @unnumbered New features in 2.3 since 2.2
 
 @itemize @bullet
+@item Parts that use @code{\quote} can now be transposed.
 
 @item LilyPond does not try to produce output for files that
 have a parse error.
index afc87eaeeab23a865b91cb57ab9818ac4beef847..aef3c9b2f8e2b04c57f36d66e413efdbe0de19db 100644 (file)
@@ -5099,17 +5099,53 @@ The key of a transposing instrument can also be specified.  This
 applies to many wind instruments, for example, clarinets (B-flat, A and
 E-flat), horn (F) and trumpet (B-flat, C, D and E-flat).
 
-
 The transposition is entered after the keyword @code{\transposition}
 
 @example
   \transposition bes   %%  B-flat clarinet
 @end example
 
+@noindent
 This command sets the property @code{instrumentTransposition}.  The value of
 this property is used for MIDI output and quotations.  It does not
 affect how notes are printed in the current staff.
 
+The pitch to use for @code{\transposition} should correspond to the
+transposition of the notes. For example, when entering a score in
+concert pitch, typically all voices are entered in C, so 
+they should be entered as
+
+@example
+  clarinet = @{
+    \transposition c'
+    ...
+  @}
+  saxophone  = @{
+    \transposition c'
+    ..
+  @}
+@end example
+
+@noindent
+in this case, @code{\transposition} does not have to be used, since
+@code{c'} is the default. 
+
+@code{\transposition} should be used when the music is entered from a
+(transposed) orchestral part.  For example, in classical horn parts,
+the tuning of the instrument is often changed during a piece. When copying
+the notes from the  part, use @code{\transposition}, e.g.
+
+@example
+  \transposition d'
+  c'4^"in D"
+  ...
+  \transposition g'
+  c'4^"in G"
+  ...
+@end example
+
+
 @cindex transposition, MIDI
 @cindex transposition, instrument
 
index b8f4f5450eb58ba42f144f62f2f70daa9c3f79d8..857fec9078907b8ebda0edaca3cb145f9bf70307 100644 (file)
@@ -2,10 +2,14 @@
 \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.17"
 
 \paper { raggedright = ##t }
@@ -18,11 +22,13 @@ In this example, all instruments play sounding central C, the target is a instru
     d'16 d'16 d'8 
     d'16 d'16 d'8 
 }
+
 \addquote sax  {
     \transposition es'
     a8 a a a a a  a a 
 }
-{
+
+quoteTest = {
     \transposition f  % french horn
     
     g'4
@@ -30,3 +36,10 @@ In this example, all instruments play sounding central C, the target is a instru
     << \quote sax 4 s4^"sax" >> 
 }
 
+
+<< \quoteTest
+   \new Staff
+   << \transpose c' d' \quoteTest
+     s4_"up 1 tone"
+  >>
+>>
index ee8d7dc0b99bdebd70639380c14d9ded1aa5f60f..18ef7078063793106d8ef7533c99e8366fa60130 100644 (file)
@@ -559,7 +559,8 @@ AncientRemoveEmptyStaffContext = \context {
        (Voice Slur direction -1)
     )
 
-  quotedEventTypes = #'(note-event rest-event time-scaled-music tie-event)
+    quotedEventTypes = #'(note-event rest-event time-scaled-music tie-event)
+    instrumentTransposition = #(ly:make-pitch 0 0 0)
 }
 
 EasyNotation = \context {      % TODO: why \context override?