From 03700497609d068095ec44f922437c59f850d9c6 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 22 Oct 1996 18:28:53 +0000 Subject: [PATCH] lilypond-0.0.4 --- voice.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/voice.cc b/voice.cc index ac6d33166d..907f229481 100644 --- a/voice.cc +++ b/voice.cc @@ -4,7 +4,7 @@ void Voice_element::add(Request*r) { - if (r->tag == Request::NOTE ||r->tag == Request::REST) { + if (r->rhythmic()) { assert (!duration); duration = r->duration(); } @@ -32,18 +32,23 @@ Voice_element::Voice_element() void Voice::print() const { + #ifndef NPRINT + mtor << "start: "<< start< vec(elts); vec.ok(); vec++) vec->print(); +#endif } void Voice_element::print() const { +#ifndef NPRINT mtor << "voice_element { dur :"<< duration <<"\n"; for (PCursor rc(reqs); rc.ok(); rc++) { - mtor << "reqtag: " << rc->tag<print(); } mtor << "}\n"; +#endif } Mtime -- 2.39.5