Le 17/12/2022 à 04:10, Kenneth Wolcott a écrit :
   Thank you!  I copied the right hand notes so that there would be a
midi-specific version.


That sounds like you want to learn about tags… See

https://lilypond.org/doc/v2.24/Documentation/notation/different-editions-from-one-source#using-tags

You can take inspiration from this small example:

\version "2.24.0"

f_second_time_p = _\markup { \dynamic f \italic "(second time" \dynamic p \italic ")" }


\tagGroup layout,midi

mus = {
  \repeat volta 2 {
    \tag midi {
      \volta 1 <>\f
      \volta 2 <>\p
    }
    \tag layout <>\f_second_time_p
    c'1
  }
}

\score {
  \keepWithTag layout \mus
  \layout { }
}

\score {
  \keepWithTag midi \unfoldRepeats \mus
  \midi { }
}


Best,
Jean

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to