History
The LilyPond project was started in 1996 by Han-Wen Nienhuys and Jan Nieuwenhuizen, after they decided to abandon work on MPP ( MusiXTeX PreProcessor), a project they began collaborating on in 1995. Its name was inspired both by the Rosegarden project and an acquaintance of Nienhuys and Nieuwenhuizen named Suzanne, a name that means lily in Hebrew ().Version 1.0
LilyPond 1.0 was released on July 31, 1998, highlighting the development of a custom music font, Feta, and the complete separation of LilyPond from MusiXTeX.Version 2.0
LilyPond 2.0 was released on September 24, 2003, announcing a simplified syntax model and a much more complete set of facilities for notating various styles of music.Design
Software features
Overview of input syntax
The native input language for LilyPond is comprehensive, and consists of many commands needed for expressing any sort of articulation, dynamic, meter, etc. It is similar to that of%
.
* Notes are represented in ''pitch-duration'' format: ''pitch'' is specified with a'4
is an A, one octave up from the base A (A3 in \time
, or \slurUp
). The function of the command in question determines where the command is placed; for example, if the command is used to indicate a fixed dynamic on a specific note, it is placed ''after'' the note.
* Some common commands are represented symbolically to ease typing. One example is with slurs, where (
and )
indicate the beginning and ending of a slur, respectively. Another example is with manual beaming, where and ">/code> and
/code> indicate the extent of the beam.
LilyPond's interface with Pango requires the input character encoding
Character encoding is the process of assigning numbers to graphical character (computing), characters, especially the written characters of human language, allowing them to be stored, transmitted, and transformed using computers. The numerical v ...
to be UTF-8
UTF-8 is a character encoding standard used for electronic communication. Defined by the Unicode Standard, the name is derived from ''Unicode Transformation Format 8-bit''. Almost every webpage is transmitted as UTF-8.
UTF-8 supports all 1,112,0 ...
. One benefit of this is that more than one language can be included in the same source file.
Example of LilyPond input file
\version "2.22.2"
\include "english.ly"
\header
\paper
\score
Corresponding output
More complex output
Lilypond can also create extensively customised output. An example is the short extract of a Karlheinz Stockhausen piano piece below.
Collaboration with other projects
Several graphical scorewriter
A scorewriter, or music notation program is software for creating, editing and printing sheet music. A scorewriter is to music notation what a word processor is to text, in that they typically provide flexible editing and automatic layout, and p ...
s—such as Rosegarden, NoteEdit, Canorus, Denemo, and TuxGuitar—can export files directly to LilyPond format. Other graphical applications serve as front ends to LilyPond, including Frescobaldi and the LilyPondTool plugin for jEdit. Denemo integrates the PDF
Portable document format (PDF), standardized as ISO 32000, is a file format developed by Adobe Inc., Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, computer hardware, ...
output of LilyPond in its display, allowing some editing operations on the final typeset score.
The Mutopia Project, which distributes free content
Free content, libre content, libre information, or free information is any kind of creative work, such as a work of art, a book, a software program, or any other creative content for which there are very minimal copyright and other legal limi ...
sheet music, uses LilyPond to typeset its music, as does Musipedia, a collaborative music encyclopedia.
Emacs
Emacs (), originally named EMACS (an acronym for "Editor Macros"), is a family of text editors that are characterized by their extensibility. The manual for the most widely used variant, GNU Emacs, describes it as "the extensible, customizable, s ...
' org-mode contains support for embedding LilyPond scores into documents.
OOoLilyPond, a LibreOffice extension provides support for calling LilyPond to embed scores into documents.
Integration into MediaWiki
Lilypond is available in MediaWiki
MediaWiki is free and open-source wiki software originally developed by Magnus Manske for use on Wikipedia on January 25, 2002, and further improved by Lee Daniel Crocker,mailarchive:wikipedia-l/2001-August/000382.html, Magnus Manske's announc ...
via the code.
This, for example, transforms the notation
\relative c'
into
\relative c'
The above is an excerpt from Ludwig van Beethoven’s 9th Symphony, commonly known as "Ode to Joy". More complex scores, including lyrics, are also possible within MediaWiki wikis.
Integration into text using lilypond-book
Integration of LilyPond musical elements into various document formats (both TeX
Tex, TeX, TEX, may refer to:
People and fictional characters
* Tex (nickname), a list of people and fictional characters with the nickname
* Tex Earnhardt (1930–2020), U.S. businessman
* Joe Tex (1933–1982), stage name of American soul singer ...
-based systems such as LaTeX
Latex is an emulsion (stable dispersion) of polymer microparticles in water. Latices are found in nature, but synthetic latices are common as well.
In nature, latex is found as a wikt:milky, milky fluid, which is present in 10% of all floweri ...
and Texinfo, and also DocBook
DocBook is a Semantics (computer science), semantic markup language for technical documentation. It was originally intended for writing technical documents related to computer hardware and software, but it can be used for any other sort of docume ...
and HTML
Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets ( ...
pages) is natively supported through the companion program lilypond-book, developed and maintained by the LilyPond community. This allows users to embed musical elements within texts, such as musicology, song booklets, work sheets for teaching, and school examinations.
Integration into LaTeX
For integration into the LaTeX
Latex is an emulsion (stable dispersion) of polymer microparticles in water. Latices are found in nature, but synthetic latices are common as well.
In nature, latex is found as a wikt:milky, milky fluid, which is present in 10% of all floweri ...
document preparation system, lyLuaTeX has been developed as a LuaLaTeX package to embed musical elements within texts. It includes features for matching layout and appearance of the musical elements with the surrounding text document. Music elements may consist of music symbols, song lyrics, guitar chords diagrams, lead sheets, music excerpts, guitar tablatures, or multi-page scores.
Comparison to other scorewriters
Finale and Sibelius are two proprietary scorewriters often compared to LilyPond. Andrew Hawryluk, a LilyPond user, wrote a series of articles comparing output quality between Finale and LilyPond.
Another scorewriter with comparable features to LilyPond is SCORE, but SCORE relies on manual positioning more than Lilypond does.
See also Comparison of scorewriters.
See also
* ABC notation
ABC notation is a shorthand form of musical notation for computers. In basic form it uses the letter notation with –, –, and , to represent the corresponding notes and rests, along with other elements used to place added value on these – ...
* Common Music Notation
* Denemo
* Frescobaldi
* GUIDO music notation
* Impro-Visor
* MuseScore
MuseScore Studio (branded as MuseScore before 2024) is a Free and open-source software, free and open-source music notation program for Microsoft Windows, Windows, macOS, and Linux under the Muse Group, which owns the associated online score-s ...
* MusicXML
* MusiXTeX
* NoteEdit
* Philip's Music Scribe
* Rosegarden
* SCORE (software)
SCORE is a scorewriter program, written in FORTRAN for MS-DOS by Stanford University Professor Leland Smith (1925–2013) with a reputation for producing very high-quality results. It was widely used in engraving during the 1980s and 1990s and ...
* List of music software
This is a list of software for creating, performing, learning, analyzing, researching, broadcasting and editing music. This article only includes software, not services.
For streaming services such as iHeartRadio, Pandora (service), Pandora, Prime ...
* List of scorewriters
References
External links
*
*
{{Document markup languages
1996 software
Cross-platform software
Free music software
Free software programmed in C++
Free typesetting software
GNU Project software
Music notation file formats
Scorewriters
Scorewriters for Linux