Questions tagged [lilypond]

For questions about usage of LilyPond, the free music engraving program. Code formatting on this site is not intended for LilyPond; workarounds can be found on meta. Questions may also necessitate the notation and/or engraving tags.

Filter by
Sorted by
Tagged with
6
votes
1answer
157 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 ...
6
votes
1answer
170 views

How to hide individual staff lines in lilypond?

How can individual staff lines be hidden in lilypond? E.g. in \new DrumStaff \with { \override StaffSymbol.line-count = #3 } << \drummode { << { r4 hh } \\ ...
6
votes
1answer
143 views

Lilypond - autochange with alternative staves / turning point

I want a single voice drifting across two staves, and I want LilyPond to automatically decide which staff to use. (As can be seen here) For treble and bass clefs this is easily implemented with the \...
6
votes
2answers
1k views

Lilypond: Is there a way to create a song with just lyrics and chords? Without the notes

I'm creating a songbook for my scouts group. I just need the guitar chrod names written above the lyrics. Without the staff. Is there a way to do that with lilypond?
6
votes
1answer
85 views

Placing beam between staves with autochanging voice in LilyPond

I have a PianoStaff with two voices on the right hand. The lower voice with eighths is spread across the staves with \autochange and the additional pitch parameter nicely controls the turning point. ...
6
votes
2answers
323 views

Add harp muffle notation in Lilypond

I'd like to add a muffle notation to my music sheets for the harp. The notation is a cross with a circle inside for left hand and that plus a circle outside for both hands. Example: There are a few ...
6
votes
1answer
118 views

How do I make the staff for dynamics affect the MIDI output?

I've written a lovely[citation needed] piece of piano music using Denemo (a graphical front-end to Lilypond), consisting of a piano staff with a staff for dynamics inserted in between them. The ...
6
votes
1answer
740 views

Cross-staff chord in score with multiple voices in Lilypond

Assume I need to reproduce the following piano music. Notice the middle "voice" spans both staves. How would I accomplish this using Lilypond? (I am aware of a hack involving adjusting the stem ...
6
votes
1answer
38 views

Fingerings for 2 voices on the same staff in the same direction in LilyPond

I am having a hard time finding a way to get the fingering markings for two voices in the left hand, onto the same side of a single staff in LilyPond, like in the picture below: My aim is: to get ...
6
votes
1answer
426 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: \version "2.19.45" { g b c r-"Fine" \bar "|." \break \tempo "Trio" \repeat volta 2 { c a f f } } The double bar at "Fine" fails to ...
6
votes
3answers
301 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} \...
5
votes
2answers
694 views

Music engraving - note with two accidentals - natural (♮) and sharp (♯)

I have a cello score here from Sebastian Lee; Op. 70. Nr. 37 in bass clef and the key of c minor contains the following part: what is the sense of this 5th note in the upper staff? why is it using ...
5
votes
2answers
140 views

Lilypond produces unexpected interval changes with \relative and \transpose

Consider the following scores below. I would have thought Lilypond would apply a consistent transposition to the notes without the need to reformat the interval notations. The first stave is the ...
5
votes
1answer
101 views

How can I label staffs with the parts' purpose

How can I make parts in songs in lilypond? I am typsetting a leadsheet that also shows an 'Intro' Melody, has a Verse part etc and I want to mark that up in lilypond. A bit like "Verse", &...
5
votes
2answers
207 views

How to adjust the vertical placement of markups in Lilypond

Using Lilypond 2.20 on Ubuntu 20.04. This code: ... %% fingering symbols fngaLong = \finger\markup{\box{\pad-markup #0.2 \override #'(font-name . "pipa") \fontsize #7 "a-"}} ... \...
5
votes
1answer
234 views

Name for partially disjointed/interrupted chords, Lilypond

I am trying to denote something where I play a chord, lets say C, but then then I keep playing the note e (for a whole note) key and stop on the other two notes (c and g). Then i play the g note (or c ...
5
votes
1answer
121 views

Changing the size of all grace notes with Lilypond

I am trying to change the size of all grace notes within a staff (or within the score, both would work) while engraving with Lilypond. The documentation on the grace engraver is not the most ...
5
votes
2answers
72 views

Can't make my crescendo end were I want it to with Lilypond

I'm trying to reproduce a scanned score with Lilypond. The original (the part of interest, at least), looks like this : As you can see, there is a crescendo starting at the beginning of the 3rd bar, ...
5
votes
1answer
178 views

LilyPond - change tuplet bracket to a small bow

I have a Cello piece from Sebastian Lee, that uses quite a lot of tuplets. My snippet with the default LilyPond setting looks like this: this looks pretty nice, the problem is that a beginner could ...
5
votes
2answers
1k views

example song with lyrics and instrumental introduction?

I really need help for how to create a song in lilypond that has both instrumental portions and verse / chorus portions. Like a real-world practical song. I want to be able to create something like ...
5
votes
3answers
315 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 } ...
5
votes
2answers
221 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 ...
5
votes
5answers
302 views

Lilypond with LaTeX

Can someone ELI5 the process? I've tried reading the guide from http://lilypond.org/doc/v2.18/Documentation/usage/an-example-of-a-musicological-document but it doesn't seem to work. I am on Windows ...
5
votes
1answer
662 views

Is there an easier way to notate this excerpt in LilyPond?

<< <des f aes c g' bes>1 \arpeggio { <<c''1 {f4. (c8 c2)} >> } >> It seems too difficult to do this in LilyPond. How do I do it?
5
votes
2answers
548 views

Lilypond finger placement brackets

In music sheets intended for beginner harpists it's very common that the fingering includes not only the numbers but also brackets that indicate which fingers are positioned at the same time, ...
5
votes
4answers
1k 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
2answers
780 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 ...
5
votes
1answer
111 views

Slurs with arrows for glissando-alikes in Lilypond, how to?

I'm using Lilypond 2.20 on Ubuntu to engrave scores for the instrument pipa. Slurs with arrow is a very common notation in many east Asian music pieces. It sounds similar to glissando in some degree, ...
5
votes
2answers
77 views

Horizontal position of grace notes in LilyPond

I am trying to recreate this sort of grace note alignment in lilypond. As it stands, what I have is this: This is the code I have: \grace {bes16~ c'~ f'~} <bes c' f' bes'>4\lv \grace {cis,16~ ...
5
votes
2answers
186 views

Unsure how to move text outside of staff in LilyPond

I'm attempting to notate a choral psalm where only certain refrains are sung in four-part harmony, with the first few refrains are just the unison psalm melody sung by all parts. I'm attempting to do ...
5
votes
1answer
1k 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
1answer
1k 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....
5
votes
1answer
54 views

lilypond & tin whistle

I have prepared a songbook including notes, chords and lyrics. Some songs are good for the guitar as accompanying instrument, but some of them also are played well with the tin whistle. Are there any ...
5
votes
1answer
72 views

LilyPond - setting different staff-sizes for different scores in “2.18”

I'm truing to use different staff sizes for different scores or at least book-parts in LilyPond "2.18.2". There is a question on here about setting the staff-size globally, which does not solve my ...
5
votes
1answer
197 views

Conditionally transpose up versus down in LilyPond?

In version 2.19.x, how can I make LilyPond decide whether – and by how much – to transpose up or down, depending on a target octave/range for one of the transposed notes (I'll call that note the "...
5
votes
1answer
89 views

assistance adding back midi to a lilypond file

I had been typesetting Orthodox Christian liturgical by using the gregorian style in lilypond. For the "recitatives" where many syllables are sung to one note I have been actually separating them and ...
5
votes
1answer
364 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
5answers
292 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/16 ...
5
votes
1answer
76 views

Lilypond: Convenient code for basso continuo horizontal lines?

In basso continuo you sometimes want to place horizontal lines to indicate stable harmony. This is done in LilyPond using \bassFigureExtendersOn: \version "2.18.2" \score { << ...
5
votes
1answer
38 views

In LilyPond, can I automatically center markup on a slur/tie?

For some teaching examples I'm making, I'm looking to label slurs and ties. I'd like the label to be placed in the center of the slur automatically, much like LaTeX's midway stipulation. I can move ...
5
votes
1answer
460 views

Lilypond: Create natural signs and accidentals manually

Edit: At first, I was looking for a way to add natural signs manually. Turns out that, at least for the moment, I actually need to place accidentals manually. Generally, I might need both in the ...
5
votes
2answers
198 views

How do I insert bar lines in mensural style in LilyPond?

I'm playing with LilyPond and was attempting to typeset some of Fux's Gradus Ad Parnassum. As far as I can tell, Fux uses what LilyPond calls mensural style for note heads, clefs, time signatures, etc....
5
votes
1answer
302 views

Lilypond: How to engrave lowercase chord symbols

My goal is to engrave music for accordion and I would like to have my chords symbols as follows: Bass tone: always uppercase: e.g. A E D Chords: always lower case: e.g. major chords a e d; minor ...
5
votes
1answer
65 views

Lilypond changing staves with tremolo on single notes

I'm on Lilypond 2.20 and trying to write a passage where I have several 8th notes tremolo'd to 16ths, and I'm trying to get them to change staves—but whenever I do, the beams glitch out and can't be ...
5
votes
1answer
106 views

How to print overlapping system start delimiters with lilypond

Is it possible to have overlapping system delimiters (braces and brackets) in lilypond? I know how to do complex nested hierarchies, but they're always nested. I can't figure out how to start, for ...
5
votes
0answers
29 views

How to create PDF document outline (TOC) with lilypond?

I have a document with multiple pieces and a Table of Contents. MWE: \markuplist \table-of-contents \tocItem "Song 1" \score { \new Staff { c d e } \header { piece = "Song 1&...
5
votes
0answers
92 views

Stop Lilypond from generating multiple files

I am not sure if this is the right place to ask, but it seems like a lot of people are using Lilypond here. Every time I compile a .ly file using lilypond for Windows10 it generates too many files. ...
4
votes
2answers
390 views

lilypond rests making an empty whole measure

I am writing on lilypond the beautiful lyrical waltz of Shostakovitch and I am getting a whole measure empty. What I want to achieve is the following, But I am getting this: I'd tryied several ...
4
votes
2answers
79 views

How to place finger numbers below staff in LilyPond?

I cannot find out, how to place the finger numbers below the staff of the left hand staff in a piano staff. The command \set fingeringOrientation = #'(down) does not work or it only works with chords....
4
votes
2answers
833 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 ...

1
2
3 4 5
7