2 simultaneous-music.cc -- implement Simultaneous_music
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2003 Han-Wen Nienhuys <hanwen@xs4all.nl>
13 #include "music-list.hh"
14 #include "scm-option.hh"
17 Simultaneous_music::get_length () const
19 return Music_sequence::maximum_length (get_mus_property ("elements"));
23 Simultaneous_music::start_mom () const
25 return Music_sequence::minimum_start (get_mus_property ("elements"));
28 Simultaneous_music::Simultaneous_music()
34 Simultaneous_music::to_relative_octave (Pitch p
)
36 if (lily_1_8_relative
)
37 lily_1_8_compatibility_used
= true;
39 return music_list_to_relative (music_list(), p
, lily_1_8_relative
);
42 ADD_MUSIC (Simultaneous_music
);
45 Event_chord::to_relative_octave (Pitch p
)
47 return music_list_to_relative (music_list (), p
, true);
50 ADD_MUSIC(Event_chord
);