Last active
October 22, 2019 06:12
-
-
Save jkominek/50da8b6734de9b373c7804c012ff33cc to your computer and use it in GitHub Desktop.
Lilypond template for solo piano with correct dynamics and pedalling in the MIDI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\version "2.18.2" | |
\language "english" | |
right = \relative c'' { | |
\key c \major | |
\numericTimeSignature | |
\time 4/4 | |
\tempo "Whatever" 4=60 | |
% ... | |
} | |
left = \relative c' { | |
\key c \major | |
\numericTimeSignature | |
\time 4/4 | |
% ... | |
} | |
dynamics = { | |
\time 4/4 | |
% ... | |
} | |
pedal = { | |
\time 4/4 | |
% ... | |
} | |
\score { | |
\new PianoStaff = "Piano" \with { | |
instrumentName = "Piano" | |
} << | |
\new Staff = "right" \with { | |
} \right | |
\new Dynamics = "dynamics" \dynamics | |
\new Staff = "left" \with { | |
} { \clef bass \left } | |
\new Dynamics = "pedal" \pedal | |
>> | |
\layout { } | |
} | |
\score { | |
\new PianoStaff = "Piano" << | |
\new Staff = "upper" \with { | |
midiInstrument = "acoustic grand" | |
} << \right \dynamics \pedal >> | |
\new Staff = "lower" \with { | |
midiInstrument = "acoustic grand" | |
} << \left \dynamics \pedal >> | |
>> | |
\midi { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fill out dynamics and pedal with spacer rests ("s" not "r"). Place notes on left and right as per normal.
You should get a correctly typeset score, and correct MIDI.