]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: clarify operation of \inversion (2618)
authorTrevor Daniels <t.daniels@treda.co.uk>
Tue, 26 Jun 2012 07:34:46 +0000 (08:34 +0100)
committerTrevor Daniels <t.daniels@treda.co.uk>
Tue, 26 Jun 2012 07:34:46 +0000 (08:34 +0100)
Documentation/notation/pitches.itely

index d3d2d9a22039ea438ef69e35a98d4ddf2e802996..be5c34edaee3942108c2e8d4e8c762ca84ada039 100644 (file)
@@ -820,15 +820,16 @@ rather than e-triple-flat).
 @cindex operation, inversion
 @funindex \inversion
 
-A music expression can be inverted with:
+A music expression can be inverted and transposed in a single
+operation with:
 
 @example
-\inversion @var{from-pitch} @var{to-pitch} @var{musicexpr}
+\inversion @var{around-pitch} @var{to-pitch} @var{musicexpr}
 @end example
 
-The @code{@var{musicexpr}} is inverted interval-by-interval,
-and then transposed so that @code{@var{from-pitch}} is mapped
-to @code{@var{to-pitch}}.
+The @code{@var{musicexpr}} is inverted interval-by-interval around
+@code{@var{around-pitch}}, and then transposed so that
+@code{@var{around-pitch}} is mapped to @code{@var{to-pitch}}.
 
 @lilypond[verbatim,quote]
 music = \relative c' { c d e f }
@@ -839,6 +840,10 @@ music = \relative c' { c d e f }
 }
 @end lilypond
 
+@warning{Motifs to be inverted should be expressed in absolute form
+or be first converted to absolute form by enclosing them in a 
+@code{\relative} block.}
+
 @seealso
 Notation Reference:
 @ref{Modal transformations},