void ARRepeatBegin::setRepeatEnd(const ARRepeatEnd *myr) { if (dur.getNumerator() == -1) { dur = myr->getRelativeTimePosition() - getRelativeTimePosition(); } }
void ARMusicalObject::print() const { TYPE_DURATION dur = getDuration(); TYPE_TIMEPOSITION tpos = getRelativeTimePosition(); std::cout << "ARMusicalObject: duration: " << dur.getNumerator() << '/' << dur.getDenominator() << " time pos: " << tpos.getNumerator() << '/' << tpos.getDenominator() << '\n'; }
void GRSingleRest::GetMap( GuidoeElementSelector sel, MapCollector& f, MapInfos& infos ) const { if (sel == kGuidoEvent) { SendMap (f, getRelativeTimePosition(), getDuration(), kRest, infos); } }
void GRRest::print() const { fprintf(stderr,"(R%.2f,%.2f)",(float) getRelativeTimePosition(), (float) getDuration()); }