From a61ab84e86b209fe11d63ec488e02525b7481b5b Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 5 Mar 2011 20:18:00 +0100 Subject: [PATCH] Midi2ly: Add doco and changes. --- Documentation/changes.tely | 36 ++++++++++++++++++++++++++++ Documentation/notation/rhythms.itely | 27 ++++++++++++++------- 2 files changed, 54 insertions(+), 9 deletions(-) diff --git a/Documentation/changes.tely b/Documentation/changes.tely index d6700d995a..bf16c1e327 100644 --- a/Documentation/changes.tely +++ b/Documentation/changes.tely @@ -61,6 +61,42 @@ which scares away people. @end ignore +@item +MIDI-import through Midi2ly is improved +@itemize @bullet +@item Midi2ly now also works on Windows systems +@item MIDI-files with more than 32 tracks are now handled +@item notes on certain simultaneous voices no longer ignored +@item notes overrunning a bar line are no longer truncated +@item initial key signature and time signature are respected +@item a problem with octaves in subsequent tracks/voices is fixed +@item initial support for multiple voices notated on one staff +@item the instrumentName is set from track data +@item new --skip option, rests are displayed by default +@item rests overrunning a bar line are not truncated +@item new --include-header option for setting titles +@item new --preview option for big MIDI-files +@end itemize +The first feature was sponsored by Valentin Villenave, +the other features were sponsored by Image-Line Software for FL Studio. + +@item +A new @code{Completion_rest_engraver} is available for automatically +converting long rests which overrun bar lines, matching the +@code{Completion_heads_engraver} for notes +@example +\layout { + \context { + \Voice + \remove "Note_heads_engraver" + \consists "Completion_heads_engraver" + \remove "Rest_engraver" + \consists "Completion_rest_engraver" + } +} +@end example +This feature was sponsored by Image-Line Software for FL Studio. + @item Dots can be added to the table of contents items using: @example diff --git a/Documentation/notation/rhythms.itely b/Documentation/notation/rhythms.itely index 93dd38804e..5ab5bdc53d 100644 --- a/Documentation/notation/rhythms.itely +++ b/Documentation/notation/rhythms.itely @@ -1672,28 +1672,35 @@ time signatures. @cindex notes, splitting @cindex splitting notes +@cindex rests, splitting +@cindex splitting rests @funindex Note_heads_engraver @funindex Completion_heads_engraver +@funindex Completion_rest_engraver -Long notes which overrun bar lines can be converted automatically -to tied notes. This is done by replacing the -@code{Note_heads_engraver} with the -@code{Completion_heads_engraver}. In the following -example, notes crossing the bar lines are split and tied. +Long notes which overrun bar lines can be converted automatically to +tied notes. This is done by replacing the @code{Note_heads_engraver} +with the @code{Completion_heads_engraver}. Similarly, long rests which +overrun bar lines are split automatically by replacing the +@code{Rest_engraver} with the @code{Completion_rest_engraver}. In the +following example, notes and rests crossing the bar lines are split, +notes are also tied. @lilypond[quote,verbatim,relative=1] \new Voice \with { \remove "Note_heads_engraver" \consists "Completion_heads_engraver" + \remove "Rest_engraver" + \consists "Completion_rest_engraver" } -{ c2. c8 d4 e f g a b c8 c2 b4 a g16 f4 e d c8. c2 } +{ c2. c8 d4 e f g a b c8 c2 b4 a g16 f4 e d c8. c2 r1*2 } @end lilypond -This engraver splits all running notes at the bar line, and -inserts ties. One of its uses is to debug complex scores: if the -measures are not entirely filled, then the ties show exactly how +Thes engravers split all running notes and rests at the bar line, and +inserts ties for notes. One of its uses is to debug complex scores: if +the measures are not entirely filled, then the ties show exactly how much each measure is off. @@ -1711,6 +1718,8 @@ Snippets: Internals Reference: @rinternals{Note_heads_engraver}, @rinternals{Completion_heads_engraver}, +@rinternals{Rest_engraver}, +@rinternals{Completion_rest_engraver}, @rinternals{Forbid_line_break_engraver}. -- 2.39.2