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
1
vote
1answer
22 views

Using \partcombine in lilypond SATB scores

I have a choral piece which compiles without issue until I add the PianoStaff. I'm trying to use \partcombine to also produce a PianoStaff so that the piece is visible for piano. I'm basing my changes ...
4
votes
2answers
47 views

LilyPond: parenthesized hairpin

I found LilyPond code to place a hairpin between parenthesis like this: You can see that the result overlaps with the bar line. The code that does it is some hard-core Scheme hackery. One obviously ...
6
votes
2answers
155 views

LilyPond: auto horizontal space for dynamic text

I am missing something basic, I spent hours searching for docs for no avail. Sometimes LilyPond can be really frustrating. Look at this picture: Obviously, ppp overlaps with the bar line. According ...
8
votes
1answer
216 views

LilyPond: how to avoid spaces around \bold{}?

It seems like \bold markup in LilyPond automatically adds surrounding spaces. Is there a way to avoid it? Here is an example: You can clearly see spaces between the brackets and the inside text. Here ...
7
votes
1answer
293 views

LilyPond: auto horizontal space for piano pedal

Is it possible to tell LilyPond to automatically add extra space for piano pedal symbols, so they don't overlap? If not, how to add the space manually? Here is what I am trying to achieve: This is ...
6
votes
1answer
235 views

Setting changed key signature before volta in Lilypond

I'm scoring Mozart's first piece, K1 - Minuet and Trio. The structure is essentially 4 repeats. After the first two repeats, the key signature changes from G Major to C Major. I've split the right ...
5
votes
1answer
43 views

Lilypond Markup Alignment

I have a fairly large note on how to program the keyboard in my piece that I would like to put between the right-hand staff and the left-hand staff. When I R1*3/4^\markup{\left-column{"G126 Vibra....
4
votes
1answer
61 views

\unfoldrepeat and \repeat with midi output in lilypond

I have a piece of lilypond code here: trebleNotesOne = { \unfoldRepeats {\repeat volta 2 { r8 a'16 b'16 c''8 b'16 c''16 d''2 | r8 b'16 a'16 b'8 a'16 g'16 f'2 }} } bassNotesOne = {\clef bass ...
1
vote
1answer
31 views

Starting temporary second voice in LilyPond

I'm scoring Bach BWV927 in LilyPond. For each hand, at various measures there are two voices. The left-hand second voice starts in the first measure, but the right-hand second voice starts in the ...
4
votes
2answers
246 views

Unattached decrescendo in a single measure/single chord in lilypond

How to code the single measure/single chord decrescendo in lilypond? |\> <ees' aes' c''>1 \!| the above code gives a warning in lilypond: unterminated decrescendo.
10
votes
3answers
298 views

How to increase LilyPond horizontal spacing?

I'm trying to create some very simple music note worksheets with LilyPond. I'm afraid I'm still not familiar with the language itself, but here is what I'm looking for: \version "2.20.0" \relative c'...
4
votes
1answer
69 views

Lilypond: Controlling beaming with partcombine

I would like to find a way to reproduce: using \partCombine. My current progress looks like: upperVoice = \relative { \partCombineApart c'8[ \partCombineAutomatic f] } lowerVoice = \relative { c'...
2
votes
1answer
30 views

How can I use custom macros with lilypond-book fragments?

I am preparing a booklet using lilypond-book and have some snippets formatted with \begin{lilypond}[fragment]. These generally do what I want, but I would like to use some custom macros that I defined ...
4
votes
2answers
140 views

Note and dotted note on the same line - Lilypond

I have a note here: What do these notes (a quarter note and dotted quarter note on the same line) mean? It's note a, in LilyPond, bottom of the bass clef. How is this coded in LilyPond? Full measure ...
3
votes
1answer
115 views

Manual beam with chord and single note in lilypond

I want to make a manual beam - on left side its a chord and to the right a single note. What I tried was <f''8 a''8> [c'8] which gives : 'error: syntax error, unexpected UNSIGNED' How to ...
1
vote
2answers
359 views

Appearance of extra empty measure in the treble clef

I have a piece of lilypond code here: \version "2.20.0" #(set-global-staff-size 20) \score{ \new GrandStaff << \new Staff { \tempo 4 = 126 << \new Voice { \...
-2
votes
1answer
74 views

How to engrave music note by note in a measure in lilypond

A measure is shown here: How to notate this is in lilypond on a note by note basis on a grand staff. The note F5 in the treble clef is given as two lists, one for notes and other for duration F5 ->...
5
votes
2answers
286 views

Lilypond: wrong type for argument 1 of \note. Expecting duration

Here's a very simplified bit of lilypond source: \version "2.22.0" { c'4^\markup { \note #"4" #UP } c' c' c' } I'm trying to make a quarter note appear above the staff. However, ...
1
vote
1answer
83 views

How to print notehead with actual notevalues and octaves in lilypond

I need the note heads to be printed in notes with octave. The below code in lilypond prints C, D, E, F, G, A, B in notehead: \version "2.20.1" { \easyHeadsOn \clef treble <c d e f g a ...
6
votes
3answers
79 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
1answer
55 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
133 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
50 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
267 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
264 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
65 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
660 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
117 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
196 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
62 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
569 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
103 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 ...
3
votes
1answer
141 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
519 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
90 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
39 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
225 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
70 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 ...
5
votes
2answers
302 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
97 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
70 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
62 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
83 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
38 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
48 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
118 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
52 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
60 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
72 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
61 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&...

1
2 3 4 5
7