# LilyPond

Text\-driven music engraving system with reusable score definitions, conversion tools and MIDI generation\.

ID: Q1013 · Revision: 1061

Type: software · License: GNU GPL software; documentation uses GNU FDL[^lily-freedom] · Status: active

Website: https://lilypond.org/



LilyPond creates engraved sheet music from textual descriptions of music\. It is a free\-software alternative to graphical scorewriters for users willing to work with a compiled notation language\. Its substitution scope is producing scores and parts, with a substantially different editing model from MuseScore Studio or Sibelius\.[^lily-input][^lily-features]

## Text\-based score construction

The author writes notes, durations and commands in a source file, then runs LilyPond to generate the result\. Musical variables can be reused in a full score and individual parts, so a content change can feed multiple presentations\. This workflow favors explicit source definitions rather than direct manipulation of every item on a continuously refreshed graphical page\.[^lily-input]

Layout settings and customizations are represented as text, making them inspectable and suitable for version control\. Styles can be stored separately, and Scheme provides a route to deeper extension\. LilyPond also supports integrating music into text\-oriented document workflows\. These capabilities make it a useful engraving component, but do not imply that learning its input language is unnecessary\.[^lily-features]

## Imports and playback

The supplied musicxml2ly converter extracts notes, articulations, lyrics and score structure from partwise MusicXML into LilyPond source\. Its documentation warns that some graphical constructs are difficult or impossible to convert automatically\. Options can discard imported page breaks, margins or beaming in favor of LilyPond's layout\. Conversion is therefore a starting point for editing, not a promise to reproduce a proprietary score exactly\.[^lily-xml]

A MIDI block can generate performance data from a score, while engraved output requires the corresponding layout output as well\. The documentation describes translation of pitch, rhythm, dynamics and tempo, with explicit instrument assignments\. MIDI generation is useful for checking music or handing it to another player, but does not make a MIDI file a preservation format for the engraved page\.[^lily-midi][^muse-export]

## Licensing and migration

LilyPond is distributed without charge under the GPL, with packages for Linux, Windows and macOS\. Its download guidance distinguishes stable and development versions and points to convert\-ly for updating older source syntax\. It can replace the score\-production task in [MuseScore Studio](/musescorestudio) or [Sibelius](/sibelius) when text\-based authoring fits the user\. Native graphical\-project exchange, a matching sound library and identical layout behavior are not established by that comparison\.[^lily-freedom][^lily-download][^muse-repo][^sibelius-home]

## Capabilities and substitutions

### Text\-based engraving — supported

Compiled source can share musical variables between scores and parts\.[^lily-input][^lily-features]

Use case: Maintaining reproducible sheet music · Platforms: Windows, macOS, Linux · Region: Edition, release, installed sounds and file\-format conditions apply

### MusicXML conversion — limited

musicxml2ly converts partwise input, with acknowledged graphical conversion limits\.[^lily-xml]

Use case: Moving existing scores into text source · Platforms: Windows, macOS, Linux · Region: Edition, release, installed sounds and file\-format conditions apply

### [Substitute for MuseScore Studio](/musescorestudio) — limited

Replaces the output task through text\-based authoring, rather than the same graphical workflow\.[^lily-input][^lily-features][^muse-repo]

Use case: Producing engraved scores and parts · Platforms: Windows, macOS, Linux · Region: Edition, release, installed sounds and file\-format conditions apply

### [Substitute for Sibelius](/sibelius) — limited

Useful where a compiled text workflow is acceptable; interchange may require cleanup\.[^lily-input][^lily-xml][^sibelius-home]

Use case: Engraving and maintaining musical scores · Platforms: Windows, macOS, Linux · Region: Edition, release, installed sounds and file\-format conditions apply

## References

[^lily-freedom]: [LilyPond free\-software licensing](<https://lilypond.org/freedom.html>) — GPL software, FDL documentation and no\-cost distribution (vendor; retrieved 2026-10-06T20:45:20Z)

[^lily-input]: [LilyPond text input](<https://lilypond.org/text-input.html>) — Compiled text workflow; shared variables for score/parts (vendor; retrieved 2026-10-06T20:44:56Z)

[^lily-features]: [LilyPond engraving features](<https://lilypond.org/features.html>) — Text\-based styles and version control, automatic layout, Scheme and document integration (vendor; retrieved 2026-10-06T20:48:16Z)

[^lily-xml]: [LilyPond musicxml2ly](<https://lilypond.org/doc/v2.26/Documentation/usage/invoking-musicxml2ly>) — Partwise MusicXML to LY; conversion may be incomplete/impossible for some graphical constructs; layout controls (vendor; retrieved 2026-10-06T20:47:32Z)

[^lily-midi]: [LilyPond MIDI generation](<https://lilypond.org/doc/v2.26/Documentation/notation/creating-midi-files>) — German\-localized official manual: MIDI block, layout separately, dynamics/tempo and instrument assignments (vendor; retrieved 2026-10-06T20:46:55Z)

[^muse-export]: [MuseScore Studio export formats](<https://handbook.musescore.org/file-management/file-export>) — Native MSCZ/MSCX versus PDF/audio/MIDI/MusicXML/MEI; MIDI omits visual formatting (vendor; retrieved 2026-10-06T20:46:14Z)

[^lily-download]: [LilyPond packages and version migration](<https://lilypond.org/download.html>) — Stable 2\.26\.0 Linux/Windows/macOS architectures; convert\-ly and side\-by\-side versions (vendor; retrieved 2026-10-06T20:47:07Z)

[^muse-repo]: [MuseScore Studio source](<https://github.com/musescore/MuseScore>) — GPL\-3\.0, graphical note entry, sequencer and notation export (vendor; retrieved 2026-10-06T20:46:44Z)

[^sibelius-home]: [Avid Sibelius product overview](<https://www.avid.com/sibelius>) — Automatic layout and parts; Artist 24 staves, Ultimate unlimited; subscription/perpetual editions (vendor; retrieved 2026-10-06T20:44:45Z)

Source revision: https://substitutefor.net/entities/Q1013?revision=1061
