]> git.donarmstrong.com Git - lilypond.git/commitdiff
Update documentation for what's supported in MIDI. (issue 3740)
authorDevon Schudy <dschudy@gmail.com>
Sun, 15 Dec 2013 22:27:00 +0000 (17:27 -0500)
committerDavid Kastrup <dak@gnu.org>
Fri, 27 Dec 2013 16:54:45 +0000 (17:54 +0100)
Also clarify what articulate.ly supports.

Change the snippet for redefining a shorthand to use an ArticulationEvent
instead of an articulation name, so users who follow its example will have
their articulations work in MIDI.

Documentation/changes.tely
Documentation/notation/input.itely
Documentation/snippets/modifying-default-values-for-articulation-shorthand-notation.ly

index 4ea92a7cb3859e823b45f37bbc3c53d71b3a6fdb..5697aa69cb097c4aa439125f87919b9d984e4909 100644 (file)
@@ -61,6 +61,16 @@ which scares away people.
 
 @end ignore
 
+@item
+The most common articulations are now reflected in MIDI output.
+Accent and marcato make notes louder; staccato, staccatissimo and
+portato make them shorter. Breath marks shorten the previous
+note.
+
+This behavior is customizable through the @code{midiLength} and
+@code{midiExtraVelocity} properties on @code{ArticulationEvent}.
+See @file{script-init.ly} for examples.
+
 @item
 The PostScript functionality of stroke adjustment is no longer
 applied automatically but left to the discretion of the PostScript
index 1617a393950256365c93d7b516620b8c3eb5708f..b00045230f640e2a3eeeb5dec3881b907c19d5eb 100644 (file)
@@ -2884,15 +2884,17 @@ player that supports pitch bend.)
 @item Crescendi, decrescendi over multiple notes
 @item Tempo changes entered with a tempo marking
 @item Lyrics
+@item Simple articulations: staccato, staccatissimo, accent, marcato, portato
+@item @ref{Breath marks}
 @end itemize
 
-Using @ref{The Articulate script}, a number of items are added to the
-above list:
+There is a script that adds the following items; see
+@ref{The Articulate script}:
 
 @itemize
-@item Articulations (slurs, staccato, etc)
-@item Trills, turns
-@item Rallentando and accelerando
+@item Slurs and phrasing slurs
+@item Ornaments (mordents, trills, turns, etc.)
+@item Rallentando, accelerando, ritard, and a tempo
 @end itemize
 
 
@@ -2902,17 +2904,18 @@ above list:
 @c TODO index as above
 
 The following items of notation have no effect on the MIDI output,
-unless you use @ref{The Articulate script}:
+even if you use @ref{The Articulate script}:
 
 @itemize
 @item Rhythms entered as annotations, e.g. swing
 @item Tempo changes entered as annotations with no tempo marking
-@item Staccato and other articulations and ornamentations
-@item Slurs and Phrasing slurs
+@item Fermatas
+@item Other articulations
 @item Crescendi, decrescendi over a single note
 @item Tremolos entered with @q{@code{:}[@var{number}]}
 @item Figured bass
 @item Microtonal chords
+@item Glissandi, falls and doits
 @end itemize
 
 
index a2553ad84ec7c4e2a761471ce2c7bd208c55f8f7..1c1fcd1019ff14d8805e1b1f9ba1a401f56f6bd7 100644 (file)
@@ -14,9 +14,9 @@ The shorthands are defined in @samp{ly/script-init.ly}, where the
 variables @code{dashHat}, @code{dashPlus}, @code{dashDash},
 @code{dashBang}, @code{dashLarger}, @code{dashDot}, and
 @code{dashUnderscore} are assigned default values.  The default values
-for the shorthands can be modified. For example, to associate the
-@code{-+} (@code{dashPlus}) shorthand with the trill symbol instead of
-the default + symbol, assign the value @code{trill} to the variable
+for the shorthands can be modified. For example, to make the @code{-+}
+(@code{dashPlus}) shorthand create a trill instead of the default +
+(@code{stopped}), assign the value of @code{trill} to the variable
 @code{dashPlus}:
 
 "
@@ -26,6 +26,6 @@ the default + symbol, assign the value @code{trill} to the variable
 
 \relative c'' { c1-+ }
 
-dashPlus = "trill"
+dashPlus = \trill
 
 \relative c'' { c1-+ }