- int repeats_i_;
-
- Music * repeat_body_p_;
- Music_sequence * alternatives_p_;
-
- virtual Musical_pitch to_relative_octave (Musical_pitch);
-
- /// The duration of this piece of music
- virtual Moment length_mom () const;
-
- Moment alternatives_length_mom () const;
-
- void print() const;
+ int repeat_count ( ) const;
+ virtual Pitch to_relative_octave (Pitch);
+
+ Moment body_length_mom () const;
+ Moment alternatives_length_mom (bool fold) const;
+ Moment alternatives_volta_length_mom () const;
+
+ DECLARE_SCHEME_CALLBACK (unfolded_music_length, (SCM));
+ DECLARE_SCHEME_CALLBACK (volta_music_length, (SCM));
+ DECLARE_SCHEME_CALLBACK (folded_music_length, (SCM));
+ DECLARE_SCHEME_CALLBACK (minimum_start, (SCM));
+ DECLARE_SCHEME_CALLBACK (first_start, (SCM));
+