5 Voice_element::add(Request
*r
)
7 if (r
->tag
== Request::NOTE
||r
->tag
== Request::REST
) {
9 duration
= r
->duration();
20 Voice::add(Voice_element
*v
)
25 Voice_element::Voice_element()
35 mtor
<< "start: "<< start
<<eol
;
36 for (PCursor
<Voice_element
*> vec(elts
); vec
.ok(); vec
++)
40 Voice_element::print() const
42 mtor
<< "voice_element { dur :"<< duration
<<"\n";
43 for (PCursor
<Request
*> rc(reqs
); rc
.ok(); rc
++) {
44 mtor
<< "reqtag: " << rc
->tag
<<eol
;
53 for (PCursor
<Voice_element
*> vec(elts
); vec
.ok(); vec
++)