This web site doesn't display advertising. Please consider making a donation.

Wikilivres:Lilypond/Syntax examples

Free texts and images.

Jump to: navigation, search

Example — Syntax — Description

<lilypond> 1 2 8 16 </lilypond> 1 2 8 16 durations


 c4. c4.. c4. c4.. augmentation dots



c d e f g a b c d e f g a b scale



 fis bes fis bes alteration


<lilypond> \clef treble \clef bass </lilypond> \clef treble \ clef bassclefs


<lilypond> \time 3/4 \time 4/4 </lilypond> \time 3/4 \time 4/4 time signature



 r4 r8 r4 r8 rest



 d ~ d d ~ d tie


<lilypond> \key es \major </lilypond> <nowiki>\key es \majorkey signature


<lilypond> note' </lilypond> <nowiki> note' raise octave


<lilypond> note, </lilypond> <nowiki>note, lower octave



 c( d e) c( d e) slur



 c\( c( d) e\) c\( c( d) e\) phrasing slur



 a8[ b] a8[ b] beam




LilyPond error:
programming error: Cannot find file for FontConfig cache. continuing, cross fingers Processing `your code.ly' Parsing... your code.ly:11:15: error: syntax error, unexpected '.'  << \new Staff                ... >>   } error: errors found, ignoring music expression your code.ly: 0: warning: no \version statement found,  add \version "2.8.7" for future compatibility error: failed files: "your code.ly"
<< \new Staff ... >> more staves



 c-> c-.  c-> c-. articulations



 c\mf c\sfz  c\mf c\sfz dynamics



 a\< a a\!  a\< a a\! crescendo



 a\> a a\!  a\> a a\! decrescendo



Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert) < > chord



Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert) \partial 8 upstep



 \times 2/3 {f g a}  \times 2/3 {f g a} triplets




LilyPond error:
programming error: Cannot find file for FontConfig cache. continuing, cross fingers Processing `your code.ly' Parsing... your code.ly:11:16: error: syntax error, unexpected '}'  \grace                 } error: errors found, ignoring music expression your code.ly: 0: warning: no \version statement found,  add \version "2.8.7" for future compatibility error: failed files: "your code.ly"
\grace grace notes



 \lyricmode { twinkle }  \lyricmode entering lyrics twinkle



LilyPond error:
programming error: Cannot find file for FontConfig cache. continuing, cross fingers Processing `your code.ly' Parsing... your code.ly:11:16: error: syntax error, unexpected '}'  \new Lyrics                 } error: errors found, ignoring music expression your code.ly: 0: warning: no \version statement found,  add \version "2.8.7" for future compatibility error: failed files: "your code.ly"
\new Lyrics printing lyrics




LilyPond error:
programming error: Cannot find file for FontConfig cache. continuing, cross fingers Processing `your code.ly' Parsing... your code.ly:11:1: error: syntax error, unexpected STRING  twin -- kle   } error: errors found, ignoring music expression your code.ly: 0: warning: no \version statement found,  add \version "2.8.7" for future compatibility error: failed files: "your code.ly"
twin -- kle lyric hyphen



 \chordmode { c:dim f:maj7 }  \chordmode chords




LilyPond error:
programming error: Cannot find file for FontConfig cache. continuing, cross fingers Processing `your code.ly' Parsing... your code.ly:11:24: error: syntax error, unexpected '}'  \context ChordNames                         } error: errors found, ignoring music expression your code.ly: 0: warning: no \version statement found,  add \version "2.8.7" for future compatibility error: failed files: "your code.ly"
\context ChordNames printing chord names


 <<{e f} \\ {c d}>>  <<{e f} \\ {c d}>> polyphony


 s4 s8 s16 s4 s8 s16 rests spacer

Personal tools
In other languages