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
2answers
51 views

How do you set the number of measures per line or page in LilyPond / Frescobaldi when you have a score with multiple instruments?

As I am doing an arranging project, I was wondering how to set the number of measures per line and therefore page as it is a score with a rhythm section and five horns. I have seen these pages (line ...
5
votes
0answers
21 views

lilypond-book lyrics vs staff vertical spacing

I want to add more vertical space between the lyrics and the line of staff above and below. I have been able to lower the lyrics from the staff above by overriding the nonstaff-relatedstaff-spacing....
9
votes
1answer
81 views

Defining new commands in Lilypond (for koron symbol)

I am trying to write a simple, minimalist script in LilyPond to create the koron symbol (used in Persian music). I came up with the following solution, with satisfactory results, but my code is not ...
4
votes
1answer
38 views

How to remove piano pedal bracket edges on both sides?

In a printed score book, the first 4 bars of a score establish a pedalling pattern and the pedal line then ends with "simile" to not overcrowd the score with all the same pedal pattern. ...
8
votes
1answer
252 views

MIDI count in with Lilypond

I tend to score in lilypond most of the classical piano pieces I practice. It forces me to examine the score in detail and it is also useful to audibly check against what I read/play. Is it possible ...
8
votes
2answers
248 views

Lilypond: Offset piano sustain off permanently

With Lilypond, is it possible to move the "sustain off" allways by a fixed offset? I can tweak it with -\tweak X-offset 1 like this: \relative c' { c8 c c\sustainOn c-\tweak X-offset 1\...
4
votes
1answer
57 views

Can I configure a software synth to use multiple patches on a channel?

I am writing music for organ in LilyPond and listening to it via the LilyPond MIDI output through Qsynth/FluidSynth. I've been using Fluid_R3, but it only has a very generic (and not very convincing) &...
8
votes
2answers
644 views

<<>> vs {} in LilyPond

It's not really clear in the LilyPond documentation (or at least, I haven't found it) as to when you should use << something >> or { something }. It does seem to matter, since when I used ...
7
votes
1answer
105 views

Lilypond transposing for a B-flat clarinet

I've written a score for a short piece for violin and cello in Lilypond. \version "2.20" \header { title = "Transpose Example" } main = { \key g \major \...
3
votes
1answer
120 views

What is the best way get rhythm section notation (rhythmic notation, kicks over time, and slash notation) to display in LilyPond / Frescobaldi?

I have an arranging project due very soon, so I decided to ask this while I might still get help and a response. What is the best way to get rhythm section notation techniques like rhythmic notation, &...
2
votes
2answers
53 views

How do I get a score to display correctly in landscape form in LilyPond / Frescobaldi?

I am currently doing an arranging project (due in a couple of days) using a jazz horn section and rhythm section and I need the score to be in landscape form. In LilyPond / Frescobaldi, I cannot get ...
12
votes
1answer
555 views

Lilypond is not aligning lyrics correctly

I was writing sheet music consisting of melody, chords and lyrics. To my surprise, the lyrics weren't aligned correctly under the notes. The file looked like correct Lilypond source code: global = { ...
0
votes
0answers
86 views

How can I set LilyPond's “Point and Click” from Skim to VSCode?

I'm working on on MacOS High Sierra, and I'm trying to use Point and Click so that Skim (PDF viewer) redirects to a specific file/line/column/character/letter/whatever on VSCode. I've found a couple ...
2
votes
0answers
77 views

Is there a way to automatically “flatten” a slur in LilyPond?

Consider the following notation: The slur in the top staff looks normal to me; the end points of the slur are located above the end of the note stem. But the second slur is less ideal, because its ...
9
votes
2answers
512 views

How do I include a number in the lyrics? LilyPond

I'm trying to write intervals underneath notes in LilyPond. Just something simple like: P5, M3, m2, d5. I thought the lyrics environment would work, but it ignores the numbers. Is there a way to ...
1
vote
1answer
63 views

Will adoption of SMuFL change Lilypond's text input?

On a Lilypond page under the section, "Adopt the SMuFL music font encoding standard" section, there were plans to transition to the SMuFL format which may become part of a W3C standard. ...
3
votes
1answer
31 views

Same fingering position for fingering notation and \finger command in LilyPond?

I have found that fingering notation and \finger command in LilyPond place fingering differently. How to make finger command behave the same way as ^n, _n, -n notations? Here is a MWE: \version "...
6
votes
1answer
208 views

How do I get chords that last half a measure to display correctly in 6/8 in LilyPond / Frescobaldi?

I am currently using a lead sheet template to make a reference lead sheet for someone (I am looking to see if the chords that I found are correct, but that is a whole other problem). In LilyPond / ...
6
votes
1answer
55 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 ...
4
votes
1answer
193 views

Is there a way to use LilyPond with Visual Studio Code?

Some time ago I found a git repository with a Lilypond's syntax extension for VSCode. I looked it up within VSCode's extension finder, and it was there as well. And this extension is really useful, ...
3
votes
1answer
73 views

How can I use a custom text font in LilyPond?

I'm trying to use the "Hiragino Mincho ProN" font for Japanese text on the title, but I don't know how to use fonts, not even the other default ones (Sans and Typewriter). I don't have any ...
4
votes
1answer
65 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 ...
2
votes
1answer
54 views

Attach sustainOn/Off to notes that change between staffs

I am currently engraving a piano piece that has notes for the same hand changing between staffs quite often, although usually only at the end of a bar. I have kept the two PianoStaffs separate, so I ...
2
votes
2answers
61 views

How to split multi-voice lilypond scores to multiple midi outputs (e.g. for choir practice)

After spending long enough learning lilypond and writing scores for multiple voices, I've often run into the problem of generating individual voice midi/mp3 files from the score. I was surprised to ...
1
vote
1answer
28 views

How to lower the pitch with lilypond?

I discovered Lilypond and I'm testing it on hacklily.org. Yet, even if the documentation avout writing pitches mentions that if you want to have one octave up you should use ' and one octave down you ...
2
votes
2answers
41 views

Lilypond - Convert number to markup

I would like to create a shorthand for a compound markup command, say MVE #(define-markup-command (shorthand layout props text) (number-or-markup?) (interpret-markup layout props #{ \markup \bold \...
5
votes
1answer
113 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", &...
2
votes
0answers
48 views

LilyPond - Adding dotted lines to “Table of Contents” TOC

I posted a question on here about two different coding techniques on how to add a table of contents to a LilyPond Book. I am kind of stuck with the solution in the first example, since it gives me the ...
1
vote
2answers
52 views

Beam larger note values in LilyPond

Here is some sample input: \relative c'' { \key g \minor d8^[ c] } This works as expected, beaming the two eighth notes together: When I do this with half notes, I get the following instead: \...
4
votes
0answers
69 views

LilyPond - “Table of Contents” TOC in different languages

I am working on a music-book using LilyPond with different languages (here English and German). I created a minimal working example (MWE) referring to a snippet that can be found here in the LilyPond ...
7
votes
1answer
51 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
2answers
84 views

How to create a spanner for a fingering in lilypond

I'm engraving scores for pipa, a sibling instrument of classical guitar (Pipa and guitar do have the same ancestor from central Asia). One of the most common right-hand fingering on pipa is called ...
3
votes
1answer
31 views

How to modify the style of the dashed line of a TextSpanner in Lilypond?

In Lilypond there is the TextSpanner object. I'd like to modify the default dashed line as follows: increase the thickness of the line increase the density of the dashes (the white spaces are too ...
5
votes
1answer
141 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
234 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-"}} ... \...
4
votes
1answer
160 views

Clef of the lower staff does not look right in Lilypond, how to fix?

I am trying to engrave a pipa piece using Lilypond 2.20 on Ubuntu 20.04. The first several notes render like this: What do not look right: Clef in the lower part does not start with a bass symbol, ...
3
votes
1answer
102 views

How to use a customized font for fingering symbols in Lilypond

I am engraving a music score for an instrument called pipa. Someone else created a font for the pipa fingering and I want to use this font for the fingering symbols. I am using Lilypond 2.20 on Ubuntu ...
8
votes
2answers
271 views

How to change the symbol of time signature in Lilypond

Instead of the big C or numerical time signature, I must use the symbol "サ". This time signature "サ" is common in many Chinese music pieces, it means "freely". How do I ...
6
votes
1answer
93 views

Fitting lyrics to multiple rhythms with ossia stave

I'm trying to transcribe a song with a slightly different different number of syllables in different verses. To indicate this I'm using an ossia stave since writing the verses out multiple times would ...
8
votes
2answers
607 views

How to write a pickup measure with 5/16 duration in Lilypond?

I'm trying to write sheet music for a piece with a pickup measure of 5 sixteenth notes. Lilypond has the \partial command for this, but it only accepts a single duration. That duration may be dotted, ...
2
votes
1answer
79 views

How can I format an etude book and use my custom header using lilypond?

I am creating several etude books and would like to be able to use the custom header I've developed. The code for the header I use for solo and other works looks like this: evenHeaderMarkup = \markup {...
2
votes
1answer
79 views

Roman numeral analysis spacing in Lilypond

I'm doing analysis on a piece and using the roman-numeral-tool to add the roman numerals. \version "2.20" \language "italiano" \include "roman_numeral_analysis_tool.ily" ...
5
votes
1answer
74 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
79 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 { << ...
3
votes
2answers
87 views

How can I have two voices in one staff in completely different colors, including accidentals, ledger lines and beams?

I cannot get the accidental and beam in voice two to be blue (bars 7-8), and if I include the ledger line override in voice two, it overrides the command in voice one (the ledger lines are black ...
1
vote
1answer
39 views

How can I add notes without affecting horizontal spacing in Lilypond?

I am making a video where I have basically a piano score. I want to show first a bare bones version of the tune and then gradually add parts with nothing else moving so that as the video plays, it ...
4
votes
2answers
405 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 ...
1
vote
1answer
40 views

LilyPond: Figured bass help - Vertical figure order with bass figure extenders on

I'm having a bit of trouble obtaining the desired result in the following example: \version "2.18.2" << \relative c' { e2 e, } \figuremode { \bassFigureExtendersOn ...
6
votes
2answers
160 views

How to write a slur to nothing in LilyPond?

Just like this: This is a Piano Staff, the example was created on MuseScore. The \laissezVibrer slur only creates a small slur. I don't mind whether the slur crosses the measure or not, I just don't ...
4
votes
1answer
85 views

Draw a guide line between piano staves in LilyPond

I am trying to reproduce a piano score in LilyPond. It has a straight dash line between a grace note in one staff and a chord in another. I tried using \change Staff, but it either breaks the grace ...

1
2 3 4 5
7