+2002-06-25 Juergen Reuter <reuter@ipd.uka.de>
+
+ * input/test/ambitus.ly, lily/ambitus-engraver.cc,
+ lily/ambitus.cc, lily/include/ambitus.hh, ly/engraver-init.ly,
+ scm/basic-properties.scm, scm/grob-description.scm,
+ scm/grob-property-description.scm: added support for ambitus
+
2002-06-24 Han-Wen Nienhuys <hanwen@cs.uu.nl>
* lily/text-spanner.cc: add some props to interface (patch
breakAlignOrder = #'(
instrument-name
left-edge
+ ambitus
span-bar
breathing-sign
clef
'(
((none Instrument_name) . (extra-space 1.0))
((none Left_edge_item) . (extra-space 0.0))
+ ((none Ambitus) . (extra-space 1.0))
((none Clef_item) . (minimum-space-pair 1.0))
((none Staff_bar) . (minimum-space-pair 0.0))
((none Clef_item) . (minimum-space-pair 1.0))
(meta . ((interfaces . (accidental-placement-interface))))
))
+ (Ambitus
+ . (
+ (breakable . #t)
+ (break-align-symbol . ambitus)
+ (molecule-callback . ,Ambitus::brew_molecule)
+ (font-family . music)
+ (note-head-style . "noteheads-2")
+ (visibility-lambda . ,begin-of-line-visible)
+ (join-heads . #t)
+ (space-alist . (
+ (clef . (extra-space . 0.0))
+ (key-signature . (extra-space . 0.0))
+ (staff-bar . (extra-space . 0.0))
+ (time-signature . (extra-space . 0.0))
+ (first-note . (extra-space . 0.0))
+ ))
+ (meta . ((interfaces . (ambitus-interface staff-symbol-referencer-interface break-aligned-interface font-interface))))
+ ))
+
(Arpeggio
. (
(X-extent-callback . ,Arpeggio::width_callback)
(break-align-symbol . breathing-sign)
(breakable . #t)
(space-alist . (
+ (ambitus . (extra-space . 2.0))
(key-signature . (minimum-space . 1.5))
(staff-bar . (minimum-space . 1.5))
(clef . (minimum-space . 2.0))
(break-align-symbol . clef)
(break-visibility . ,begin-of-line-visible)
(space-alist . (
+ (ambitus . (extra-space . 2.0))
(staff-bar . (minimum-space . 3.7))
(key-signature . (minimum-space . 4.0))
(time-signature . (minimum-space . 4.2))
(X-extent-callback . ,Grob::point_dimension_callback)
(breakable . #t)
(space-alist . (
+ (ambitus . (extra-space . 2.0))
(time-signature . (extra-space . 0.0))
(staff-bar . (extra-space . 0.0))
(breathing-sign . (minimum-space . 0.0))
(grob-property-description 'interfaces list? "list of symbols indicating the interfaces supported by this object. Is initialized from the @code{meta} field.")
(grob-property-description 'inversion list? " musical-pitch, optional.")
(grob-property-description 'items-worth-living grob-list? "list of interesting items. If empty in a particular system, clear that system.")
+(grob-property-description 'join-heads boolean? "Whether to join the noteheads of an ambitus grob with a vertical line.")
(grob-property-description 'kern number? "amount of extra white space to add.
For text, this is `relative'(?) to the current alignment.
(grob-property-description 'no-spacing-rods boolean? "read from grobs: boolean that makes Separation_item ignore this item (MOVE ME TO ITEM).")
(grob-property-description 'no-stem-extend boolean? "should stem not be extended to middle staff line?.")
(grob-property-description 'non-default boolean? "not set because of existence of a bar?.")
+(grob-property-description 'note-head-style string? "name of the font character to be used as note heads in the ambitus grob.")
(grob-property-description 'note-heads grob-list? "List of note head grobs")
(grob-property-description 'number-threshold number? "only put numbers bigger than this threshold over multi measure rest.")
(grob-property-description 'old-accidentals list? "list of (pitch, accidental) pairs.")