This link can help you:

https://lilypond.org/doc/v2.22/Documentation/notation/using-repeats-with-midi

--
Knute Snortum



On Wed, May 4, 2022 at 8:35 AM Omer Katzir <kome...@gmail.com> wrote:

> I have this music, but when I try to make midi out of it, it doesn’t do
> the repeats. Does anyone have any suggestions on how to do it?
> I’m really struggling with lilypond lately :-(
>
> \version "2.22.2"
>
>
> \header {
>   title = “%%%%"
>   composer = "Omer Katzir"
>   tagline = "http://omerkatzir.net";
> }
>
>
>
> upper = \relative c' {
>   \time 3/4
>   \key g\major
>   \voiceOne
>   \tempo 4 = 90
>
>
> B b b b
>
>
> }
>
> lower = \relative c {
>   \key g \major
>   \voiceTwo
>
>   \repeat volta 2 { b b b b b    }
>
>
>   \alternative {
>     { a a a a  | }
>     { a a a a  \mark \markup { \italic "Fine"   } \bar "||"
>   }
>
>
>
>
>   }
>
> C d e f g a b c \mark \markup { \italic "D.C. al Fine" }
>
>
> }
>
> \score {
>   <<
>     \new StaffGroup = "tab with traditional" <<
>       \new Staff = "guitar traditional" <<
>         \clef "treble_8"
>         \context Voice = "upper" \upper
>         \context Voice = "lower" \lower
>       >>
>       \new TabStaff = "guitar tab" <<
>         \context TabVoice = "upper" \upper
>         \context TabVoice = "lower" \lower
>       >>
>     >>
>   >>
>
> }
>

Reply via email to