+/*
+ Sum all duration of all available alternatives. This is for the case
+ of volta repeats, where the alternatives are iterated just as they
+ were entered. */
+Moment
+Repeated_music::alternatives_volta_get_length (Music *me)
+{
+ return Music_sequence::cumulative_length (alternatives (me));
+}
+
+/*
+ Length of the body in THIS. Disregards REPEAT-COUNT.
+*/
+Moment
+Repeated_music::body_get_length (Music *me)
+{
+ Moment m = 0;
+ if (Music *body = unsmob_music (me->get_property ("element")))
+ m = body->get_length ();
+ return m;
+}