Skip to content

Instantly share code, notes, and snippets.

@justinpage
Created November 29, 2020 20:13
Show Gist options
  • Select an option

  • Save justinpage/4b95ebaf54ac1cf9a203fd50990f9359 to your computer and use it in GitHub Desktop.

Select an option

Save justinpage/4b95ebaf54ac1cf9a203fd50990f9359 to your computer and use it in GitHub Desktop.
\version "2.20.0"
\language "english"
\score { % start of single compound music expression
\new StaffGroup << % start of simultaneous staves section
\time 2/4
\new Staff { % create RH staff
\clef "treble"
\key g \minor
\new Voice { % create voice for RH notes
\relative { % start of RH notes
d''4 ef16 c8. |
d4 ef16 c8. |
} % end of RH notes
} % end of RH voice
} % end of RH staff
\new Staff << % create LH staff; needs two simultaenous voices
\clef "bass"
\key g \minor
\new Voice { % create LH voice one
\voiceOne
\relative { % start of LH voice one notes
g8 <bf d> ef, <g c> |
g8 <bf d> ef, <g c> |
} % end of LH voice one notes
} % end of LH voice one
\new Voice { % create LH voice two
\voiceTwo
\relative { % start of LH voice two notes
g4 ef |
g4 ef |
} % end of LH voice two notes
} % end of LH voice two
>> % end of LH staff
>>
\layout {}
\midi {}
} % end of single compound music expression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment