File:NuagesGrisOpening.PNG

Summary

Description
English: Opening of "Nuages gris" composed by Franz Liszt, made in lilypond version 2.12.0
Date
Source Own work
Author William Kerrigan (Deadleg)

LilyPond source

Category:GNU LilyPond images
\version "2.12.0"

global = {
  \time 4/4
  \key g \minor
}

upper = \relative c {
  \overrideProperty #"Score.NonMusicalPaperColumn" #'line-break-system-details #'((alignment-offsets . (0 -10)))
  \clef bass
  \global
    \override TextScript #'extra-offset = #'( -4 . -1.5) r4^\markup { \large \bold Andante. } d(\p g cis~ |
    cis d bes g) |
    r d( g cis~ |
    cis d bes g) |
}

lower = \relative c' {
  \clef bass
  \global
    R1 |
    R1 |
    R1 |
    R1 |
}

dynamics = {
}

pedal = {
}

\score {
  \new PianoStaff = "PianoStaff_pf" <<
    \new Staff = "Staff_pfUpper" \upper
    \new Dynamics = "Dynamics_pf" \dynamics
    \new Staff = "Staff_pfLower" << \lower >>
    \new Dynamics = "pedal" \pedal
  >>

  \layout {
    \context {
      \Score
        \override SpacingSpanner #'base-shortest-duration = #(ly:make-moment 1 8)
    }
    % define Dynamics context
    \context {
      \type "Engraver_group"
      \name Dynamics
      \alias Voice
      \consists "Output_property_engraver"
      \consists "Piano_pedal_engraver"
      \consists "Script_engraver"
      \consists "New_dynamic_engraver"
      \consists "Dynamic_align_engraver"
      \consists "Text_engraver"
      \consists "Skip_event_swallow_translator"
      \consists "Axis_group_engraver"

      pedalSustainStrings = #'("Ped." "*Ped." "*")
      pedalUnaCordaStrings = #'("una corda" "" "tre corde")
      \override DynamicLineSpanner #'Y-offset = #0
      \override TextScript #'font-shape = #'italic
      \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
    }
    % modify PianoStaff context to accept Dynamics context
    \context {
      \PianoStaff
      \accepts Dynamics
    }
   ragged-last = ##t
  }
}

\score {
  \new PianoStaff = "PianoStaff_pf" <<
    \new Staff = "Staff_pfUpper" << \global \upper \dynamics \pedal >>
    \new Staff = "Staff_pfLower" << \global \lower \dynamics \pedal >>
  >>
  \midi { 
    \context {
           \Score
           tempoWholesPerMinute = #(ly:make-moment 128 4)    
    }   
  }
}

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Category:Self-published work#NuagesGrisOpening.PNGCategory:PD-self#NuagesGrisOpening.PNG Category:Images with LilyPond source code
Category:GNU LilyPond images Category:Images with LilyPond source code Category:PD-self Category:Self-published work