source file of the GNU LilyPond music typesetter
- (C) 2002 Juergen Reuter <reuter@ipd.uka.de>
+ (c) 2002--2004 Juergen Reuter <reuter@ipd.uka.de>
*/
#include "engraver.hh"
* (pitch_min > pitch_max) means that pitches are not yet
* initialized
*/
- pitch_min = Pitch (0, 0, +1);
- pitch_max = Pitch (0, 0, -1);
+ pitch_min = Pitch (0, 0, SHARP);
+ pitch_max = Pitch (0, 0, FLAT);
}
void
void
Ambitus_engraver::create_ambitus ()
{
- SCM basicProperties = get_property ("Ambitus");
- ambitus_ = new Item (basicProperties); is_typeset = 0;
+ ambitus_ = make_item ("Ambitus");
+ is_typeset = 0; // UGH.
announce_grob (ambitus_, SCM_EOL);
}
* most probably arises from an empty voice, such as shared
* global timesig/clef definitions.
*/
-#if 0
- ambitus_->warning("empty ambitus range [ignored]");
-#endif
ambitus_->suicide();
}
}