2011/5/6 Christopher R. Maden <[email protected]>: > The attached file is good enough for me. > > It includes (duration-equals?) which may be of general interest. > > It also includes the \sw function, which, given a sequence, returns two > tagged sequences: > > \sw { > \relative c' { > a'4 a8 b a fs e d | > } > } > > becomes > > { > \tag #'layout { > \relative c' { > a'4 a8 b a fs e d | > } > } > \tag #'midi { > \relative c' { > a'4 > \times 2/3 a4 \times 2/3 b8 > \times 2/3 a4 \times 2/3 fs8 > \times 2/3 e4 \times 2/3 d8 | > } > } > } > > It can then be used with > > \keepWithTag #'layout \theTune > \keepWithTag #'midi \theTune
Nice, thanks for sharing! Have you considered adding it to LSR? cheers, Janek _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
