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

1
vote
1answer
81 views

How to set a simple song in lilypond with refrain

i am fiddling now a whole day around with trying to set a correct lilypond notation. While i found with trial and error, that i could display all tones and vocals, i am not able in getting the correct ...
2
votes
1answer
54 views

Merging several measures of score's part in LilyPond

I'm wandering is it possible to notate a score like on the picture below in LilyPond. The problem here is that the third measure of the topmost part (which is flute, actually) should be stretched ...
3
votes
1answer
51 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 ...
7
votes
1answer
112 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 ...
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 ...
1
vote
2answers
114 views

Move a trill into the stave

In lilypond, I'd like to draw a zig-zagged line after a note which lasts until the next note. Basically, I'd like to create something which looks like this: (sorry for the poor quality) UPDATE I ...
1
vote
2answers
54 views

Horizontal centering of staffs in Lilypond

I'm trying to set a score in Lilypond displaying several short themes each on its own staff. The themes don't span the full horizontal width, and I'd like to center them horizontally. I suspect there ...
4
votes
2answers
177 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 ...
2
votes
1answer
60 views

How can I force LilyPond to repeat a clef on every line of the score?

I'd like LilyPond to print the clef not only at the beginning of the score, but whenever the line breaks, at the beginning of the new line. Is this possible at all, and, how so?
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
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 ...
5
votes
1answer
130 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 ...
6
votes
2answers
262 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 ...
1
vote
1answer
158 views

How to translate from Scientific Pitch Notation to Lilypond absolute octaves in a concrete key?

That's the general question. More concretely, here c' is linked to C4 (middle C). Now, what is the Lilypond absolute representation for G5 in G major key?
1
vote
1answer
58 views

Typeset whole note as full measure in 6/8 time in Lilypond

I'm trying to copy a song from a book in which they were using a whole note to represent a full measure in 6/8 time. If I try to use the whole note duration in Lilypond (1), it lasts 8/8 and ...
2
votes
1answer
51 views

Have tie extend past end of music in lilypond

I'm writing out a short snippet of music and would like to have a tie that extends past the end; How do I do this in lilypond? Here's what I get now: I'd like to indicate the tie back to the ...
4
votes
1answer
62 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 } ...
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
1answer
118 views

lilypond : tuplet vs. times

Reading some examples of lilypond codes, I sometimes see \tuplet and sometimes \times for engraving nuplets. In the documentation, the french (using \times) and the english version (that uses \tuplet) ...
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 ...
1
vote
2answers
83 views

In Lilypond, how to abstract multiple tags into a variable or function?

Using lilypond 2.18.2. I'm trying to define flexible tags, to get around the fact that keepWithTag only lets you keep one tag at a time. I understand how to do this manually: \tag #'...
1
vote
2answers
71 views

Is there a way to input guitar tabulature by entering fret and string numbers instead of note letters in LilyPond?

I want to use LilyPond to write guitar tabulature, but it would be quicker for me to be able to input fret numbers and string numbers instead of note letters. How can I do this?
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 ...
1
vote
1answer
57 views

Lilypond: multi-bar melisma with extender line in `\lyricmode` context

For reasons, I'm setting the lyrics of a song with \lyricmode instead of \lyricsto. However, I'm having trouble getting a long melisma to work in this mode. Something like this: is easy to achieve ...
2
votes
2answers
47 views

Lilypond “\set associatedVoice” trouble with stanzas

I'm transcribing a song in which two verses have slightly differing notes. I decided to use \set associatedVoice to achieve this. It partly works but I'm having trouble getting the final words of the ...
1
vote
2answers
102 views

How do I put musical symbols in text fields using Lilypond?

I am writing a score using Lilypond and I want the title of a staff to be "Concert D flat major". How would I replace the word "flat" with the corresponding marking? Here is an example of what I have ...
2
votes
2answers
313 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
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. ...
0
votes
2answers
166 views

Lilypond incorrectly displaying natural signs in B Major

My hymn is in B-Major, so I set the key-signature accordingly \key b \major but the problem is that it causes LOTS of natural signs. Do I really need those? This hymn is for children and the naturals ...
5
votes
3answers
225 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 ...
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 ...
1
vote
1answer
48 views

Change from staff to lyrics to chords

What I want to achieve, for example, is to start with a single staff, change to chordmode somewhere, and change to lyrics somewhere later. Like this: The only way, I found, is to use a \markup ...
1
vote
1answer
38 views

Get time signatures to show up in a ChordNames context

I'm working off the "adding bar lines to chord names context" example, but have variable time signatures in my piece. I'd like those to show up as numeric time signatures in the same line as the ...
1
vote
2answers
191 views

In LilyPond (piano staff) how can I type two eighth notes for different hands?

In LilyPond, while writing a piano staff, how can I type two eighth notes, so that one is played with the left and the other with the right hand? Example. I want to produce this highlighted ...
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 ...
7
votes
1answer
167 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,...
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} ...
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 { \...
2
votes
1answer
97 views

Colliding staccato marks and ties

In Lilypond 2.14.2, I've got two staccato eighth notes connected by a tie: d'8 \staccato ~ d' \staccato Unfortunately, the ends of the tie end right at the dots of the staccato, making it look a ...
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 ...
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....
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 ...
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 ...
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 ...
5
votes
3answers
127 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/...
2
votes
1answer
184 views

How do I get the bar lines in successive staves to align?

In the following, lines 2-6 have the same notes, yet the bar lines in the middle are not aligned. Is there a way to get them to align? Also, is there a way to extend the bar lines to the lyrics (here ...
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 ...
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
816 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 ...
3
votes
1answer
161 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 : <...