// Tollerates that the user explicitly enters a whole rest to // denote a "measure-wide" rest, regardless of how many beats // the measure is supposed to have if (voiceDuration.equals(Fraction.WHOLE)) { if (voice.numDataChildren == 1) { var firstCluster:IDataElement=voice.getDataChildAt(0); if (firstCluster.numDataChildren == 0) { var measure:IDataElement=voice.dataParent; voiceDuration=getOwnOrInheritedTimeFraction(measure); } } }