File:Chopin Op.10 No.2.PNG

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(1,250 × 501 pixels, file size: 44 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Opening from an Étude (Op.10 No.2) composed by Frédéric Chopin, made in lilypond version 2.12.0
Source Own work
Author William Kerrigan (Deadleg)

LilyPond source

\version "2.12.0"

global = {
	\time 4/4
	\key c \major
}

tempoTextAlignment = \once \override TextScript #'extra-offset = #'( -3 . 2) 
tempoText = ^\markup { \large \bold { Allegro  } \small { { \note #"4" #1 = 144 }. } }

upper = \relative c'' {
	\global
	\clef treble
	<< {
	\tempoTextAlignment a16\tempoText \stemUp \once \override TextScript #'extra-offset = #'( -3 . -4)  ais^\markup { \italic { sempre legato } } b c cis d dis e f fis g gis a ais b c! |
	cis d dis e f e dis d cis c b bes a gis b a |
	} \\ {
	<e, c>16 s8. <e a>16 s8. <a d>16 s8. <d f>16 s8. |
	<e a!>16 s8. <a c>16 s8. <e a>16 s8. <c! e>16 s8. |
	} >>
}

lower = \relative c' {
	\global
	\clef bass
	a,8_. r <e' a c!>^. r a,_. r <f' a d>^. r |
	<a, a,>_. r <e' a c!>^. r <a c! e>^. r r4 |
}

dynamics = {
	\overrideProperty #"Score.NonMusicalPaperColumn" #'line-break-system-details #'((alignment-offsets . (0 -3.5 -9.5)))
  \override DynamicTextSpanner #'dash-period = #-1.0
	\override DynamicText #'extra-offset = #'(-1 . -2.5) s2\p s16 s_\markup { \italic { cresc. } }
} 

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 {
    % 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-right-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 144 4)    
    }   
  }
}

Licensing[edit]

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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current02:38, 23 January 2009Thumbnail for version as of 02:38, 23 January 20091,250 × 501 (44 KB)Deadleg (talk | contribs){{Information |Description={{en|1=Opening from an Étude (Op.10 No.2) composed by Frédéric Chopin, made in lilypond version 2.12.0}} |Source=Own work by upl

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: