Skip to content

Instantly share code, notes, and snippets.

@jasiek
Last active June 8, 2017 18:47
Show Gist options
  • Save jasiek/0423efbb5ba8add69ca187130ba7f59d to your computer and use it in GitHub Desktop.
Save jasiek/0423efbb5ba8add69ca187130ba7f59d to your computer and use it in GitHub Desktop.
Melody in C
\language "english"
\version "2.18.2"
\header {
title = "Melody in C"
}
a_upper = \relative c'' {
\clef treble
\key c \major
\time 2/4
e8-3 e e g | c,8-1 c c4 | d8-2 d d g | e8-3 e e4 |
e8-3 e e g | c,8-1 c c4 | d8-2 d d g | e8-3 d-2 c4 \bar "|."
}
a_lower = \relative c {
\clef bass
\key c \major
\time 2/4
<c-1 e-3 g-5>4 <c e g> | <c e g>4 <c e g> | <b'-5 f-2 g-1>4 <b f g> | <c, e g>4 <c e g> |
<c e g>4 <c e g> | <c e g>4 <c e g> | <b' f g>4 <b f g> | <c, e g>4 <c e g> \bar "|."
}
b_upper = \relative c'' {
\clef treble
\key c \major
\time 2/4
d8 d d e | d8 g r4 | c,8 c c d | c4 r |
d8 d d e | d8 g r4 | c,8 c c d | c4 r4 \bar "|."
}
b_lower = \relative c {
\clef bass
\key c \major
\time 2/4
<b' f g>4 <b f g> | <b f g>4 <b f g> | <c, e g>4 <c e g> | <c e g>4 <c e g> |
<b' f g>4 <b f g> | <b f g>4 <b f g> | <c, e g>4 <c e g> | <c e g>4 <c e g> \bar "|."
\once \override Score.RehearsalMark.break-visibility = #end-of-line-visible
\once \override Score.RehearsalMark.self-alignment-X = #RIGHT
\mark "D.C. al Fine"
}
\score {
\new PianoStaff \with { instrumentName = #"Piano" }
<<
\new Staff = "a_upper" \a_upper
\new Staff = "a_lower" \a_lower
>>
}
\score {
\new PianoStaff \with { instrumentName = #"Piano" }
<<
\new Staff = "b_upper" \b_upper
\new Staff = "b_lower" \b_lower
>>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment