Questions tagged [lilypond]

GNU LilyPond is Free Software for engraving music, with a strong emphasis on very high quality output.

LilyPond is a computer program for music engraving. One of LilyPond's major goals is to produce scores that are engraved with traditional layout rules, reflecting the era when scores were engraved by hand.

LilyPond is different from conventional commercial typesetting software in that the input is code written in plain text, which LilyPond compiles into output formats such as PostScript, PDF, and MIDI. There are various front-ends available to make editing of this code easier.

LilyPond is available for several common operating systems. It is released as part of the GNU project, and under the terms of the GNU General Public License, it is Free Software.

LilyPond uses the Scheme programming language, both as part of the input syntax, and as internal mechanism to glue modules of the program together. [...]

LilyPond uses the GNU Guile implementation of Scheme, which is based on the Scheme “R5RS” standard.

— from the LilyPond documentation - Scheme tutorial.

160 questions
5
votes
2 answers

Fitting more systems on the first page of a Lilypond score

I'm working to improve upon an excellent sheet I found of Debussy's Deuxième Arabesque on the freely available Mutopia Project. In particular, I'm interested in fitting the music on fewer pages but I struggle to have the first page display five…
Maxime Labelle
  • 3,609
  • 2
  • 27
  • 48
5
votes
1 answer

Generating pdf & midi from musicxml

I've been trying to load a MusicXML file, edit it (removing several parts), and create a PDF sheet document + midi/mp3, all of this using Python. I've first looked at music21, that would load my MusicXML file right, but as far as I could find, would…
Joachim Jablon
  • 880
  • 8
  • 15
5
votes
1 answer

LilyPond: formatting long footnotes

When writing a long footnote with LilyPond 2.17.25, the text is not breaking into several lines or respecting the margin limits. I would love to have it set to justified alignment as well, if that is possible. Here is a tiny example: \version…
gilbertohasnofb
  • 1,984
  • 16
  • 28
5
votes
2 answers

Lilypond: controlling clef and key signature visibility, aligning markup

My effort to create a document with six incipits from different pieces is running into a couple of problems. Can anyone help? I am pasting my code below (I've reduced the example somewhat for the purposes of asking the question). Problem 1: How…
user2288772
  • 55
  • 1
  • 3
4
votes
1 answer

Brush down stroke Lilypond

I'm trying to write a guitar tablature in which there must be a brush down stroke, and I can't find the way to do this with Lilypond. Here is my chord: \score { \layout { } << \new TabStaff { } >> } Below is the…
Biloot36
  • 41
  • 1
4
votes
1 answer

Mingus/lilypond on python

I can import mingus but sublibraries such as mingus.extra.lilypond give me an error: import mingus.core.notes Traceback (most recent call last): File "", line 1, in import mingus.core.notes File…
4
votes
1 answer

Lilypond grace note affects formatting

When I start this piece with a grace note, it messes up formatting: Code: \version "2.18.2" \header { title = "Sonata in D Major" composer = "Joseph Haydn" opus = "Hob. XVI/37" } \language "english" upper = \relative c'' { \clef…
MCMastery
  • 3,099
  • 2
  • 20
  • 43
4
votes
1 answer

How can I insert a tie between notes in different voices?

I have a piano score with two voices in the right-hand (treble) part. How can I insert a tie between two notes of the same pitch in different voices? This is what I have so far. I want to tie the last note of line (A) to the first note of line (B),…
wchargin
  • 15,589
  • 12
  • 71
  • 110
4
votes
1 answer

Lilypond: Customize bar lines, recursively, automatically?

I'm working on Carnatic music scores that involve complex time signatures, that will require modified bar lines Pattern for barlines for: 8/4 beats: 1 2 3 4 (dashed bar here) 5, 6 (Dotted Bar) 7, 8 (double bar) Here's one bar of actual score …
4
votes
2 answers

REGEX parsing commands from latex lines - Python

I'm trying to parse and remove any \command (\textit, etc...) from each line loaded (from .tex file or other commands from lilypond files as [\clef, \key, \time]). How could I do that? What I've tried import re f = open('example.tex') lines =…
arnaldo
  • 876
  • 8
  • 22
4
votes
1 answer

Place dynamic marking under bar line (move dynamics horizontally)

I want to create a crescendo that extends over two measures. The following code \relative c' { c4\pp\< c4 c4 c4 | c1\ff } compiles to which is almost what I want. However, I would like the ff markings to appear further to the right, directly…
Speldosa
  • 1,900
  • 5
  • 21
  • 36
4
votes
1 answer

LilyPond: markup text next to barline?

I'm working with a score with a ragged-last system, and I'd like to fit a markup column next to the score, thus filling the gap between the final barline and the margin. What are some ways of accomplishing this? Example: \paper { ragged-last =…
Micah Walter
  • 908
  • 9
  • 19
4
votes
2 answers

Lilypond: how to add the number of repetitions above a bar

I am working with a score in Lilypond that has a lot of repetitions, where basically every bar has to be repeated a certain number of times. I would like to be able to write above every bar the number of times it should be repeat, similar to the…
gilbertohasnofb
  • 1,984
  • 16
  • 28
4
votes
1 answer

In these Lilypond diads and triads, why do the final chords contain the wrong notes in the bass?

Why does the last chord in both of the following \score blocks not display the correct note in the bass? In the dyad, the last chord should have D in the bass. In the triad, the last chord should have F in the bass. Instead, both chords are…
seanreads
  • 447
  • 1
  • 4
  • 6
4
votes
1 answer

Including Lilypond in LaTeX

It states here, that i have to include Lilypond into LaTeX like this: \documentclass[a4paper,10pt]{report} \usepackage[utf8x]{inputenc} \begin{document} \begin{lilypond} \relative c'' { \time 4/4 < a e' a >2 < a e' a >4 < a e' a >8 < a e' a >8…
71GA
  • 1,132
  • 6
  • 36
  • 69
1
2
3
10 11