- int repeats_i_;
- bool unfold_b_;
- Music* repeat_p_;
- /*
- UGH FIXME: this should be:
-
- Music_list * alternative_p_;
- */
- Music_sequence* alternative_p_;
-
- Repeated_music (Music*, int n, Music_sequence*);
- Repeated_music (Repeated_music const& s);
- virtual ~Repeated_music ();
+ Music * body () const;
+ SCM alternatives () const;
+
+ /// how often do we repeat?
+ 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));