linebreak = \penalty -1000;
-$ex8 = \notes \relative c' {
+ex = \notes \relative c' {
\repeat "volta" 2 {
\times 2/3 {c8( cis d} \times 2/3 {dis e f}
\times 2/3 {fis g gis} \times 2/3 {a bes b} |
c1 || \linebreak
}
-\score { \context Staff { \notes { \$ex8 } } }
+\score { \context Staff { \notes { \ex } } }
Moment
Repeated_music::alternatives_volta_length_mom () const
{
- SCM p = alternatives ()->music_list ();
+ if (!alternatives ())
+ return 0;
+
Moment m;
+ SCM p = alternatives ()->music_list ();
while (gh_pair_p (p))
{
m = m + unsmob_music (gh_car (p))->length_mom ();