Jacques Menu <jacques.m...@epfl.ch> writes: > After struggling with irregular bars, I've been working on a Python3 tool that > transforms a spec such as: > [...] > into a ready-to-compile Lilypond source file.
Very interesting. It reminds me of something I considered a while ago: a kind of meta-staff where the structure of the score is described (time/tempo, repeats, special \bar's, and so on). These would then apply to all the staffs automatically. The rationale is that while a LilyPond score consists of horizontal staffs, it is in fact structured vertically and sometimes it has advantages to treat it as such. For example, using pseudo-LP: structure = { A1 \repeat volta 2 { A2 } \alternative{ A21 A22 } A3 \bar "||" A4 \bar ":|" A5 } A1 = { ... } B1 = { ... } C1 = { ... } ... and so on ... voiceA = { \A1 \A2 \A21 \A22 \A3 \A4 \A5 } voiceB = { \B1 \B2 \B21 \B22 \B3 \B4 \B5 } voiceC = { \C1 \C2 \C21 \C22 \C3 \C4 \C5 } Much can be achieved with macro's, I know. Can you give me a url for your tool? Thanks, -- Johan _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user