LilyPond

from Wikipedia, the free encyclopedia
LilyPond

LilyPond-logo-with-music.png
Piano Pieces (Stockhausen) Nr2-Klavierstück2-Anfang.svg
Example from Stockhausen's piano piece II
Basic data

developer Han-Wen Nienhuys, Jan Nieuwenhuizen and team
Publishing year 1996
Current  version 2.20.0
(March 1, 2020)
Current preliminary version 2.21.0
(April 9, 2020)
operating system Windows , Linux , macOS , FreeBSD , etc. v. m.
programming language C ++ , Scheme , Python
category Music software
License GPL ( Free Software )
German speaking Yes
lilypond.org

LilyPond is a free music notation program for all common operating systems. At the same time, LilyPond provides an open standard for text-based notation.

The LilyPond developers criticize the fact that even serious music publishers have not achieved the quality standards and aesthetic level of handcrafted notes since the introduction of computer music notation . You have therefore set yourself the goal of getting closer to traditional music notation with LilyPond than is possible with other software.

particularities

Scheme

In contrast to other popular music notation programs, LilyPond itself does not offer a graphical user interface for entering music. Instead, the user creates a source file with any text editor , in which notes and other notation elements are described in a syntax based on LaTeX . The text file is compiled into various file formats by the LilyPond program (currently PDF , PS , PNG and SVG are supported), if necessary, MIDI files of the music recorded can be created at the same time .

As an alternative to input via a text file, programs such as Rosegarden , Denemo , NoteEdit , Canorus or TuxGuitar , which offer graphical note input, can also be used. The programs can then export text files in LilyPond format. The Frescobaldi program is suitable for entering the source text with a preview of the PDF file, listening to a midi file and syntax highlighting . Other programs can output file formats such as MusicXML , which in turn can be converted into the LilyPond format. The plug-in OOoLilyPond exists for OpenOffice.org , with which LilyPond source code can be used directly in the program.

To familiarize yourself with the input language, IT experience and previous programming knowledge are an advantage; The documentation, which can be found on the LilyPond website in several languages, is also aimed at users without programming knowledge.

history

The two developers Han-Wen Nienhuys and Jan Nieuwenhuizen started the LilyPond project in 1997. They mainly work on LilyPond in their free time, but there is a larger development team. With donations, programmers can work full-time on new versions at least temporarily.

Since 2010 it has been possible to create scores directly online with Weblily.

Awards

In March 2014, a sheet music edition designed with LilyPond was awarded a prize for the first time.

Example of a score in LilyPond format

Source code

\version "2.15.14"

%\include "english.ly"

\header {
  title = \markup { "Excerpt from 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
      <e gis,>4 \acciaccatura { cis16[ dis] } <e gis,>4 | % m. 51
      <dis gis,>4 \acciaccatura { e16[ dis] } <cis gis>4 | % m. 52
      <cis gis>4 \acciaccatura { dis16[ cis] } <c g>4  | % m. 53
      <cis gis>4 \acciaccatura { dis16[ e] } <eis b gis>4 | % m. 54

      <e gis,>4 \acciaccatura { cis16[ dis] } e16 f gis a | % m. 55
      <gis c,>8 \acciaccatura { ais16[ gis] }
      <es b>8 ~ <es b>16 dis b as | % m. 56

      b16 d8 bes32 f' g16 as bes c | % m. 57
      <des des,>16 ( c as ) <e' e,> ( dis b ) <g' g,> ( dis | % m. 58

      \time 3/4
      <gis gis,>16 ) \noBeam d,16 f gis
      a16 e f b
      c16 d, ( f gis | % m. 59

      a16 b ) e, ( f
      gis16 b c ) f, (
      gis16 ais 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
      cis4. cis8 | % m. 51
      cis4. d8 | % m. 52
      f4. a8 | % m. 53
      f4. d8 | % m. 54

      cis4. cis8 | % m. 55
      d4 dis | % m. 56
      gis4. bes,8 | % m. 57
      f'4 b, | % m. 58

      \time 3/4
      d4. d8 ~ d4 | % m. 59
      es2 f4 | % m. 60
    }
  >>
}

Resulting representation

Rendered output

Projects that use LilyPond

MediaWiki

MediaWiki supports LilyPond, since 2013 LilyPond syntax can be used when editing Wikipedia pages. Help: Notation shows how it works in Wikipedia. For example, here is a simple C major scale:

 \ relative c '{cdefgabc}

The example was created by entering the following:

<score> \relative c' {c d e f g a b c} </score>

Other Projects

See also

Web links

Commons : LilyPond  - collection of images, videos and audio files

Individual evidence

  1. Essay on automated music engraving (German: essay on the automatic musical phrase ) essay LilyPond developers
  2. OOoLilyPond plugin on github.com
  3. Martin Gieseking: Code-based generation of interactive note graphics: for the development of a dynamic note display in interactive learning programs and music-specific multimedia applications . epOs Music, 2001, ISBN 978-3-923486-30-4 .
  4. Essay. (PDF) lilypond.org, with literature list, GNU; accessed November 5, 2014
  5. all-day-breakfast.com. Retrieved November 5, 2014 .
  6. Best Edition 2014. German Music Edition Award. Retrieved October 14, 2016 .
  7. mw: Extension: Score (English)