GNU LilyPond - Example of LilyPond Input File

Example of LilyPond Input File

\version "2.15.14" \include "english.ly" \header { title = \markup { "Excerpt from" \italic "fibonacci" } composer = "Patrick McCarty" %copyright = % \markup \fontsize #-5 { % Copyright © 2009. % Typeset with GNU LilyPond. % Released into public domain by the composer. % } } \paper { paper-height = 4.6\in paper-width = 8.5\in indent = #0 system-count = #2 } \score { \new PianoStaff = "pianostaff" << \new Staff = "RH" \relative c' { #(set-accidental-style 'piano 'Score) \clef "treble" \time 2/4 \set Score.currentBarNumber = #51 \tempo "Slow and steady" 4 = 60 4 \acciaccatura { cs16 } 4 | % m. 51 4 \acciaccatura { e16 } 4 | % m. 52 4 \acciaccatura { ds16 } 4 | % m. 53 4 \acciaccatura { ds16 } 4 | % m. 54 4 \acciaccatura { cs16 } e16 f gs a | % m. 55 8 \acciaccatura { as16 } 8 ~ 16 ds b as | % m. 56 b16 d8 bf32 f' g16 af bf c | % m. 57 16 ( c af ) ( ds b ) ( ds | % m. 58 \time 3/4 16 ) \noBeam d,16 f gs a16 e f b c16 d, ( f gs | % m. 59 a16 b ) e, ( f gs16 b c ) f, ( gs16 as b c ) | % m. 60 } \new Dynamics = "Dynamics_pf" { s4 \p \< s4 | % m. 51 s4 s4 | % m. 52 s4 \mp \> s4 | % m. 53 s4 s4 \! | % m. 54 s4 \p s4 | % m. 55 s1 * 2/4 | % m. 56 s4 \< s4 | % m. 57 s4 s4 | % m. 58 \override DynamicText #'extra-spacing-width = #'(-0.75 . 0.75) s16 \mf s16 \p s8 s4 s4 | % m. 59 s2. | % m. 60 } \new Staff = "LH" \relative c, { \clef "bass" \time 2/4 cs4. cs8 | % m. 51 cs4. d8 | % m. 52 f4. a8 | % m. 53 f4. d8 | % m. 54 cs4. cs8 | % m. 55 d4 ds | % m. 56 gs4. bf,8 | % m. 57 f'4 b, | % m. 58 \time 3/4 d4. d8 ~ d4 | % m. 59 ef2 f4 | % m. 60 } >> }

Read more about this topic:  GNU LilyPond

Famous quotes containing the words input and/or file:

    Celebrity is a mask that eats into the face. As soon as one is aware of being “somebody,” to be watched and listened to with extra interest, input ceases, and the performer goes blind and deaf in his overanimation. One can either see or be seen.
    John Updike (b. 1932)

    I have been a soreheaded occupant of a file drawer labeled “Science Fiction” ... and I would like out, particularly since so many serious critics regularly mistake the drawer for a urinal.
    Kurt Vonnegut, Jr. (b. 1922)