Re: Inputting music in parts

2022-01-06 Thread Valentin Petzel
Hi Paolo, Hi Jean, \unfoldRepeats does do the trick, but it is rather hard to read structurally. If I look at something like { \partA \transition \partB \partA \ending } The structure is immediately clear. Instead if we have \unfoldRepeats { \repeat unfold 2 { many lines of code }

Re: Inputting music in parts

2022-01-06 Thread Jean Abou Samra
Le 06/01/2022 à 21:36, Paulo Matos a écrit : Hi, I have some music I want to transcribe that has 2 parts: A and B the music goes: part A part B part A with special ending I could of course define variables like: \partA = \partAtransition = \partAending = \partB = and then write the music as

RE: Inputting music in parts

2022-01-06 Thread John Schlomann
Paulo, It seems like what you have is the right approach. How much simpler could it be? AFAIK \alternative is only useful with \repeat volta. Of course, you'd leave off the backslashes when defining the variables. John -Original Message- From: lilypond-user