On 2016/12/02 19:45:02, dak wrote:
However, people might get surprised by

#(unfoldRepeats 'tremolo m)

not working.

Btw, it turned out the previous unfold-repeats destructively changed the
music-argument, if called directly. See:

\version "2.19.51"

m =
  \repeat volta 2 {
          \repeat percent 2 { c'1 }
          \repeat tremolo 4 { c'16 d' }
          f'2
  }
  \alternative {
          { d'1 }
          { e'1 }
  }

\new Staff \m
\new Staff $(unfold-repeats m)
\new Staff \m

Using ly:music-deep-copy cures it.




https://codereview.appspot.com/318890043/

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to