LilyPond is a free music engraving program, part of the GNU Project. Code formatting on this site is currently broken; workarounds can be found on meta.

learn more… | top users | synonyms

13
votes
3answers
993 views

How can I force LilyPond to repeat a chord symbol (relates to alternate endings)?

In chordmode, LilyPond chooses not to display chord symbols when they are the same as the preceding symbol, which is usually the right behavior. However, this behavior gets weird in the context of ...
12
votes
3answers
497 views

Odd symbol in Béla Bartók's Mikrokosmos Book 1

Today I came across an odd symbol in Béla Bartók's Microkosmos. The symbol occurs in Book 1, Score 21, Measure 8, at the end of a phrasing slur. It looks like a vertical bar that crosses only the ...
10
votes
3answers
572 views

Arbitrary length full-measure rests in Lilypond

In Lilypond one can make long full-measure rests with: \compressFullBarRests R1*12 which outputs: Is there an engraver I can turn off, or some other way to remove the number from above ...
10
votes
3answers
814 views

Rendering lilypond score into html page

What would be the best way of rendering specific parts of a lilypond score, into an HTML page? I did that using lilypond-book by previously embedding <lilypondfile> tag into my html file, and it ...
9
votes
4answers
555 views

Effective way to notate triplets

I was directed by America Luke to this forum site. I hope this is the correct place. I have a score with a lot of triplets. It's awkward to write always \times 2/3 {c16 d e} \times 2/3 {d e f}. ...
9
votes
2answers
387 views

How can I notate this slur with LilyPond?

I have a slur that starts on as multi-voice and ends on a single voice as measure 3–4 of the following: Here's what I've got so far (right hand only): \relative c' { << { c4 c c c8 c c4 ...
8
votes
1answer
359 views

Top-aligning scores inside Lilypond \markup blocks

I'm currently trying to typeset a hymn. Below the actual score I want two things: Some additional verses The voicing for "Amen." I'd like to lay these out adjacent to each other to save space, ...
8
votes
1answer
107 views

How can I typeset a break or jump in my scores?

I am using lilypond to typeset some music. I would like to leave away some bars from the original music. Therefore, I have to jump from some bar to an other. But I want to show, that I cut something ...
8
votes
1answer
294 views

Define custom chord voicings in lilypond

What I'd like to do is define custom, specific chord voicings in lilypond, and to be able to attach note-durations to them, along the lines of voicing= < g a c e a > % dom7, with 7th in bass \...
8
votes
1answer
407 views

Is there a lilypond 'insert whitespace to fill line"?

I'm trying to make music-snippet images using lilypond, but I'd like each snippet to always have trailing "whitespace" so that each of these images is of the same width. I'm following the suggestions ...
7
votes
2answers
112 views

Lyrics for additional verses in LilyPond?

Is there a way in LilyPond to simply list the lyrics corresponding to additional verses after the end of the music, with one paragraph per verse? (N.B. This exact question has been asked before, in ...
7
votes
1answer
166 views

How to have one voice in multiple staves with lilypond?

I want to produce a score with two staves (one with treble key, one with bass key, like a piano staff) and with a single voice navigating between the two staves. If the note is lower than the middle C,...
7
votes
1answer
95 views

Lilypond staffs extend past end of music

I'm writing a piece in Lilypond in verse/refrain form, in which the verses are only a singer ("Cantor") and a cello, and the refrain has SATB parts as well. I'm trying to use an explicit line break ...
7
votes
1answer
392 views

Can music be written using scale degree numbers instead of note letters in LilyPond?

Is it possible to refer to notes by scale degree rather than their name in LilyPond? For example instead of c d e, set the key to c and use 1 2 3. Or using movable-do solfege syllables (do, ro, re, me,...
7
votes
2answers
130 views

What's this horizontal bar notation in liturgy called?

I just came across a liturgical peace using horizontal bars as notation for parts where a continuous reciting tone is used. I'd like to know whether there's a specific name for this bar notation (and ...
7
votes
1answer
111 views

Lilypond function to interpolate two notes

I want to define a Lilypond function that will interpolate two notes. The function should take as inputs: the first note, the last note, the step (in semitones), and whether flats or sharps should be ...
7
votes
2answers
140 views

Ηοw can I generate larger than the default images of chord diagrams using Lilypond?

I am trying to use Lilypond to generate (guitar) chord diagrams. \include "lilypond-book-preamble.ly" \version "2.16.2" \markup { \vspace #1 \sans \abs-fontsize #8 C } \markup { \...
6
votes
2answers
329 views

Separate the top matter from the staves in lilypond

How can I add extra vertical space between the top matter, i.e. the stuff in the header like title, composer..., and the first staff of the music? I'd like to leave enough room for additional, hand-...
6
votes
2answers
249 views

How do I parameterize text in a re-used section of Lilypond notes?

Here is a short snippet of Lilypond that I think expresses the intent of what I want to do. verseNotes = \relative c' { d^\markup { \verseText } d d d16 d d8 a r4 | cis8 cis cis cis16 cis ...
6
votes
2answers
231 views

Is there a way, in Lilypond, to eliminate the instrument name from a staff from outside of the staff context?

Here is my situation. I'm using Lilypond 2.18.2. I am working on a lilypond edition of an opera, which will include a piano-vocal score, full score, and orchestral parts. I have set up my score with ...
6
votes
1answer
501 views

Lilypond Conga Notes

I am writing a conga part in LilyPond. I saw on LilyPond's documentation how to write conga notes: http://www.lilypond.org/doc/v2.16/Documentation/notation/common-notation-for-percussion#percussion-...
6
votes
3answers
173 views

Lilypond generated with MuseScore does not fit the width of the page in XeTeX doc

I am using MuseScore 1.3 on Ubuntu 14.04 to write my scores. Then I save them as LilyPond files, and include them in my tex document using \lilypondfile, like this: \documentclass[a4paper]{article} ...
6
votes
2answers
261 views

Is there a standard notation for “Happy Birthday” with two names (twins)?

When singing the well-known Happy Birthday song, is there a standard or official way of having two names? The measure has to be elongated, and there's a question of which note to sing the first name ...
5
votes
3answers
222 views

How can I transfer the old \partcombine syntax of lilypond to a version newer than 2.1.17?

I am trying to convert a Lilypond file to an actual version. The script convert-ly gets stuck at the conversion to version 2.1.17 with the following error: \partcombine can not be converted. I ...
5
votes
1answer
98 views

How can I pick LilyPond style choices at compile time?

I have LilyPond lead sheets for which I would like to be able to choose some display tweaks at compile time, primarily in order to tailor the sheet for the preferred transposition (e.g. for B-flat ...
5
votes
1answer
654 views

LilyPond vertical spacing, alternate endings, and chords

I am typesetting a score that contains alternate endings on a volta repeat, as well as chords (using LilyPond 2.17.97). By default, the following MWE: song = { \repeat volta 2 { ...
5
votes
3answers
223 views

Partial Measures with Matching Ending Measure

In a hymn I am working on, the first measure is partial and has only an eighth note, but the Time Signature is 6:8. Someone told me that the ending measure should also be offset in reverse to make up ...
5
votes
1answer
129 views

lilypond: can I combine \autochange and \change Staff?

With a PianoStaff, and having all the melody in the upper staff, if we put \autochange before the melody, the notes will be displayed in the upper or the lower staff depending on their height. I would ...
5
votes
1answer
318 views

Multi-measure percent repeats in lilypond

I'm trying to copy a score that indicates the repeat of a 4-bar phrase that has the 4 repeat bars laid out on the sheet, with a single (4-slash) percent-repeat symbol symbol in the middle, sort of ...
5
votes
1answer
52 views

Creating conga part in lilypond

I'd like to score a congas part in lilypond, but I can't figure out how. I've found the lilypond documentation on it here, but I can't understand it, especially this bit: There are also other ...
5
votes
3answers
126 views

How to specify global markup font-size or other property in Lilypond

Can I do this in Lilypond? I believe it's possible, however I could not find anything in docs about this. My question is, instead of repeating like this: g16-\markup {\tiny\underline\typewriter 1/...
5
votes
1answer
222 views

Lilypond: How to control the paper size to create images

My question concerns the creation of images using lilypond. Until know I've created some music sheets and lilypond has been really great. However I have a website and I would like to post some ...
4
votes
2answers
58 views

LilyPond: Setting Vertical distance for PianoStaff

I'm trying to engrave a piano song. I have read the LilyPond manual over and over and tried several things: I want the spacing between the scores to be bigger. Minimal not working example is \new ...
4
votes
1answer
82 views

In Lilypond: Can one absorb the sharps and flats in the key, in order to ease typing?

As I understood from the tutorial, the short code \key d \major cis4 d e fis would generate . Is this the only way to type it, or is there a natural way to get the same output by ...
4
votes
2answers
170 views

Lilypond to MusicXML to Sibelius

Is there any reliable program to convert a fully-fledge piece in Lilypond format to MusicXML, such that Sibelius can read the original Lilypond notation? Basically, I need to edit a score which is ...
4
votes
1answer
61 views

use Lilypond to transpose pattern around circle of fifths

I want to provide a pattern (e.g., the C major arpeggio, C E G) and have Lilypond automatically show it transposed (as one score) in all 12 scales. Here's my current attempt: music = { c' e' g' s } ...
4
votes
1answer
142 views

Extend measure so it occupies whole line

I am writing some exercises, for my students. Those are mostly one line examples, and this time I need a measure to extend over whole line, so one big measure with ending bar, nothing else. What do ...
4
votes
1answer
542 views

Rendering second ending closing bar when followed by another repeat in Lilypond

Using Lilypond, I'm engraving some music that consists of two parts that are repeated. The first repeated phrase contains an alternate ending. By default, Lilypond renders the MWE below: \version "2....
4
votes
2answers
130 views

How do I define an Lilypond/Scheme alist as cons of two a lists?

I have pitch names defined as a alist in Lilypond as below and it works fine. \version "2.18.2" pitchname = #`( (saa . , (ly:make-pitch -1 0 NATURAL)) (raa . , (ly:...
4
votes
1answer
277 views

Is there a single command for vertical padding in LilyPond \markup?

The documentation for \markup alignment lists two essentially different padding commands: \pad-around or \pad-markup, which adds the same amount of space all around the element, and \pad-x, which adds ...
3
votes
1answer
160 views

Lilypond - two voices, with overlapping beams

I have the following in my measure: What would I have to write, to have those <c e>'s connected with beam instead of 1/8 rests, and those in second voice bellow also? Edit upper voice : <...
3
votes
1answer
36 views

Lilypond “elevation” of rests after two voice passage

After I resolve a two voice passage that involves using \set associatedVoice, rests for the remainder of the piece are higher on the staff than before: The eighth rest at the beginning is lower on ...
3
votes
1answer
49 views

lilypond engraving lyrics to small part with voices

I try to set a sheet of music using lilypond 2.18 and i have difficulties to engrave the lyrics to a small part of the score where I use << { } \\ { } >> to get a second voice to the staff....
3
votes
1answer
49 views

How to align chords, melody and lyrics in LilyPond?

I have to write down a simple song with LilyPond (my iPad music book did disappear when I've tried to recover a backup, so I think it is save to store the music sheets in text form), but I can't ...
3
votes
1answer
107 views

Lilypond: how to engrave a double bar at “Fine” when a \repeat statement follows

Under Lilypond 2.18, the following does not work as expected: g b c r-"Fine" \bar "|." \break \tempo "Trio" \repeat volta 2 { c a f f The double bar at "Fine" fails to appear. The line closes with ...
3
votes
1answer
91 views

Get segno to appear above chord-names in lilypond

Problem: the segno appears between the staff and the chord-names, pushing the chord names up, which makes them hard to read: I'd like to have the sengo appear above the chord names (so that the ...
3
votes
1answer
236 views

Markup text inside second volta bracket

I want to format text in the headings of both 1st and 2nd ending Volta brackets in Lilypond. There are several examples of formatted text in the first ending bracket, but I cannot seem to find one ...
2
votes
2answers
311 views

Lilypond chord mode not rendering minor modifier in alternate chord

I'm engraving some music using Lilypond and have been requested to engrave an alternate chord name next to a chord. For some reason I can't get the output I expected. What is wrong here (with either ...
2
votes
2answers
272 views

Two MIDI files generated by Lilypond output the same audio

When generating the MIDI files for the two Lilypond files below, and then generating the WAV audio files with Timidity (timidity --output-24bit -A120 f.midi -Ow -o f.wav), I can hear no differences ...
2
votes
3answers
78 views

Lilypond templating or content management system?

I'm looking for a Lilypond templating or content management system that would allow for real, actual separation of music data from presentation. Even better would be separation of music and lyrics. ...