>>103246916
>Can you compose a masterpiece and write it as lilypond code?
Turns out I couldn't copy paste his composition to hacklily.org, but the melody isn't too bad:
\version "2.22.1"
global = {
\key c \major
\time 4/4
\tempo 4 = 120
}
melody = \relative c' {
c4 d e f | e8( d c4) | b8( a g4) | f8( e d c) |
c'4 c a f | e8( d c4) | b8( a g4) | c,4 r
}
harmony = \chordmode {
c4 c c c | c c c c | c c c c | c c c c |
c c c c | c c c c | c c c c | c c c c
}
dynamics = \dynamic {
s4\p | s4\mf | s4\f | s4\mp |
s4\p | s4\mf | s4\f | s4\< |
}
\score {
\new Staff <<
\global
\new Voice = "melody" { \melody }
\new ChordNames = "harmony" \harmony
>>
\layout {
\context {
\ChordNames
\remove "Chord_names_engraver"
}
}
\midi { }
}
\score {
\new Staff <<
\global
\new Voice = "melody" { \melody }
\new Dynamics = "dynamics" { \dynamics }
>>
\layout {
\context {
\Dynamics
\override DynamicLineSpanner.staff-padding = #4
}
}
\midi { }
}