David Kastrup [Thu, 7 Feb 2013 09:18:39 +0000 (10:18 +0100)]
Issue 754: don't transpose generic property-setting music commands
The actual issue was that
\transpose c e { \transposition bes ... }
created a Midi corresponding to an instrument using a transposition of
ges, leaving the Midi unchanged. Making the generic property-setting
commands (\set and \override) impervious to transposition will also
keep \transpose from tampering with user-set values.
This is particularly important since the pitch data type in LilyPond
is also being used for signifying intervals or pitch differences
rather than absolute pitches.
David Kastrup [Mon, 4 Feb 2013 15:38:12 +0000 (16:38 +0100)]
Issue 3153: Let music inside of #{ ... #} originate from @code{location} if set
In particular with regard to point-and-click, it has been a reoccuring
complaint that music originating from #{ ... #} has the #{ ... #}
environment as its origin. This patch will make such music originate
from @code{location} if set to a valid input location.
It would seem somewhat peculiar that #{ ... #} just grabs whatever
meaning @code{location} happens to have at the current lexical level
and runs with it. However, the same is already done for
@code{parser}, so it is not really out of line.
Adam Spiers [Mon, 14 Jan 2013 00:21:45 +0000 (00:21 +0000)]
fix handling of grace notes to shorten preceding tied notes correctly
In Note_performer::process_music(), when a grace note was encountered,
the immediately preceding Audio_note (or Audio_notes if the grace note
followed a chord) was/were shortened, but it failed to check whether the
Audio_note is part of a tie. Ensure that any note being shortened in
this way is the head of a tie, if it is part of a tie.
Mike Solomon [Sat, 26 Jan 2013 07:06:04 +0000 (08:06 +0100)]
Brings accidentals closer to chords on average.
Does this by giving placement priority to columns of multiple
accidentals. See accidental-grouping.ly.
Also allows Accidental_placement to be controlled at the voice level
via the accidentalGrouping property instead of necessitating
a change of context for the Accidental_engraver.
David Kastrup [Wed, 9 Jan 2013 23:32:41 +0000 (00:32 +0100)]
Issue 3095: \tuplet and \tupletSpan to replace \times and tupletSpannerDuration
\tuplet:
Scale the given @var{music} to tuplets. @var{ratio} is a
fraction that specifies how many notes are played in place of the
nominal value: it will be @samp{3/2} for triplets, namely three notes
being played in place of two. If the optional duration
@var{tuplet-span} is specified, it is used instead of
@code{tupletSpannerDuration} for grouping the tuplets.
For example,
@example
\tuplet 3/2 4 @{ c8 c c c c c @}
@end example
will result in two groups of three tuplets, each group lasting for a
quarter note.
tupletSpan:
Set @code{tupletSpannerDuration}, the length into which
@code{\tuplet} without an explicit @samp{tuplet-span} argument of its
own will group its tuplets, to the duration @var{tuplet-span}. To
revert to the default of not subdividing the contents of a @code{\tuplet}
command without explicit @samp{tuplet-span}, use
@example
\tupletSpan \default
@end example
Trevor Daniels [Wed, 16 Jan 2013 16:08:09 +0000 (16:08 +0000)]
Doc: simplify description of disabling beamExceptions (3094)
The rather convoluted explanation of when this needed
to be disabled has been simplified and comments
showing when to do it have been added to the examples
Phil Holmes [Mon, 21 Jan 2013 14:43:03 +0000 (14:43 +0000)]
Updates ancient clefs
Adds c5 clef to mensural list, adds black mensural clefs
to list of clefs, replaces crochet with semi breve
(more common in ancient notation) and minor wording change.
David Kastrup [Sun, 20 Jan 2013 18:57:01 +0000 (19:57 +0100)]
Run scripts/auxiliar/update-with-convert-ly.sh
No particular reason, except that for whatever reason there are a few
still unconverted files that get converted in unrelated issues
involving a convert-ly run.
Zefram [Wed, 2 Jan 2013 19:53:54 +0000 (19:53 +0000)]
factor out some duration processing
New functions duration-log-factor, duration-dot-factor, duration-length,
duration-visual, and duration-visual-length. All concerned with low-level
numerical processing of durations, so that other code doesn't have to
understand dot counts and the like.
Trevor Daniels [Fri, 11 Jan 2013 00:10:00 +0000 (00:10 +0000)]
Doc: clarify example of 'Going back in MIDI time' (3097)
Add a note before the acciaccatura, because, in order to
understand the error (and the solution), you need to compare
the whole duration of the acciaccatura block with the duration
of the previous note. (Thanks Federico!)