2006-07-26 Han-Wen Nienhuys <hanwen@lilypond.org>
+ * lily/fall-engraver.cc (process_music): delta-pitch -> delta-step.
+
* lily/instrument-name-engraver.cc (start_spanner): new
function. Create spanner when property changes.
(stop_spanner): new function.
if (fall_event_ && !fall_)
{
fall_ = make_spanner ("BendAfter", fall_event_->self_scm ());
- fall_->set_property ("delta-position",
+ fall_->set_property ("delta-step",
scm_from_double (robust_scm2double (fall_event_->get_property ("delta-pitch"), 0) * 0.5));
}
}
%% weird effects when doing instrument names for
%% piano staves
- instrument = #'()
- instr = #'()
+ instrumentName = #'()
+ shortInstrumentName = #'()
\defaultchild "Voice"
\accepts "Voice"
\consists "System_start_delimiter_engraver"
systemStartDelimiter = #'SystemStartBracket
vocalName = #'()
- vocNam = #'()
+ shortVocalName = #'()
\accepts "Staff"
\accepts "DrumStaff"
\consists "Vertical_align_engraver"
\consists "Instrument_name_engraver"
- instrument = #'()
- instr = #'()
+ instrumentName = #'()
+ shortInstrumentName = #'()
}
\context {
acciaccatura =
#(def-grace-function startAcciaccaturaMusic stopAcciaccaturaMusic)
-
addquote =
#(define-music-function (parser location name music) (string? ly:music?)
"Add a piece of music to be quoted "
#(define-music-function (parser location delta) (integer?)
(make-music 'BendAfterEvent
- 'delta-pitch delta))
+ 'delta-step delta))
clef =
#(define-music-function (parser location type)
(context-id ,string? "name of context")
(context-type ,symbol? "type of context")
(create-new ,boolean? "Create a fresh context.")
- (delta-pitch ,number? "How much should a fall change pitch?")
+ (delta-step ,number? "How much should a fall change pitch?")
(descend-only ,boolean? "If set, this @code{\\context} will only descend in the context tree.")
(denominator ,integer? "denominator in a time signature")
(digit ,integer? "digit for fingering")