@cindex diminuendo
@funindex \crescTextCresc
@funindex \dimTextDim
+@funindex \dimTextDecr
@funindex \dimTextDecresc
@funindex \crescHairpin
-@funindex \setHairpinDim
@funindex \dimHairpin
Los @notation{Crescendi} y @notation{decrescendi} se pueden
instrucciones incorporadaas que activan estos modos de texto son
@code{\crescTextCresc}, @code{\dimTextDecresc}, @code{\dimTextDecr} y
@code{\dimTextDim}. Las instrucciones correspondientes
-@code{\crescHairpin}, @code{\setHairpinDim} y
-@code{\dimHairpin} hacen que vuelvan a aparecer los reguladores
-de nuevo:
+@code{\crescHairpin} y @code{\dimHairpin} hacen que vuelvan a aparecer
+los reguladores de nuevo:
@lilypond[verbatim,quote,relative=2]
c\< d e f\!
instead of hairpins. The built-in commands that enable these text
modes are @code{\crescTextCresc}, @code{\dimTextDecresc},
@code{\dimTextDecr}, and @code{\dimTextDim}. The corresponding
-@code{\crescHairpin}, @code{\setHairpinDim}, and
-@code{\dimHairpin} commands will revert to hairpins again:
+@code{\crescHairpin} and @code{\dimHairpin} commands will revert to
+hairpins again:
@lilypond[verbatim,quote,relative=2]
c4\< d e f\!
@code{\dimTextDecresc},
@funindex \crescHairpin
@code{\crescHairpin},
-@funindex \setHairpinDim
-@code{\setHairpinDim},
@funindex \dimHairpin
@code{\dimHairpin}.
@example
\score @{
@var{...music...}
- \midi @{
- \context @{
- \Score
- tempoWholesPerMinute = #(ly:make-moment 72 4)
- @}
- @}
+ \midi @{
+ \context @{
+ \Score
+ tempoWholesPerMinute = #(ly:make-moment 72 4)
+ @}
+ @}
@}
@end example
Context definitions follow precisely the same syntax as those
within a @code{\layout} block. Translation modules for sound are
called performers. The contexts for MIDI output are defined in
-@file{ly/@/performer@/-init@/.ly} (see @rlearning{Other sources
-of information}. For example, to remove the effect of dynamics
+@file{ly/@/performer@/-init@/.ly},
+see @rlearning{Other sources of information}.
+For example, to remove the effect of dynamics
from the MIDI output, insert the following lines in the
@code{\midi@{ @}} block.
@snippets
-@c TODO Check header and text appear in this example
@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
{changing-midi-output-to-one-channel-per-voice.ly}
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=11
-PATCH_LEVEL=51
+PATCH_LEVEL=52
MY_PATCH_LEVEL=
% property-init.ly
-\version "2.11.38"
+\version "2.11.52"
stemUp = \override Stem #'direction = #UP
stemDown = \override Stem #'direction = #DOWN
-\version "2.10.0"
+\version "2.11.52"
startGroup = #(make-span-event 'NoteGroupingEvent START)
stopGroup = #(make-span-event 'NoteGroupingEvent STOP)
\unset decrescendoSpanner
}
-setHairpinDim = {
- \unset decrescendoText
- \unset decrescendoSpanner
-}
-
-
-% better name sustainstart/stop?
sustainOff = #(make-span-event 'SustainEvent STOP)
sustainOn = #(make-span-event 'SustainEvent START)
str = re.sub (r"sostenutoUp", r"sostenutoOff", str)
return str
+@rule ((2, 11, 52), "\\setHairpinDim -> \\dimHairpin")
+def conv (str):
+ str = str.replace ("setHairpinDim", "dimHairpin")
+ return str
+
# Guidelines to write rules (please keep this at the end of this file)
#
# - keep at most one rule per version; if several conversions should be done,