2 voice.hh -- declare Voice
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
12 #include "lily-proto.hh"
16 /** class for horizontal stuff.
18 Voice is a ordered row of Voice_elements. It is strictly
19 horizontal: you cannot have two rhythmic elements running parallel
20 in a Voice. For proper processing, each Voice should have
21 Group_change_req as a first element.
26 /** the elements, earliest first.
27 Please use the member #add()# to add a new element
29 Pointer_list<Voice_element *> elts_;
36 Moment when(Voice_element const *)const;
38 void transpose(Melodic_req const &)const;
39 void add(Voice_element*);
41 void set_default_group(String id);