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
5
votes
2answers
42 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~ ...
3
votes
1answer
34 views

Lilypond: how to align lyrics vertically if the melody is split into variables?

In Lilypond, I'd like to split a melody into variables in order to easily see which syllables belong to which notes. Unfortunately, I am doing it in a way that seems to mess up the vertical alignment ...
3
votes
1answer
33 views

Placing lyrics above the staff in LilyPond

In the following MWE, I somehow can't find a way to place the lyrics above the staff: \version "2.19.84" soprano = { c''4 d'' e'' } alto = { g' a' b' } tenor = { c' d' e' } words = ...
6
votes
2answers
117 views

Exporting tabs from TuxGuitar to Lilypond

I am writing tabs from TuxGuitar and then export it to lilypond (Because I find it easier to do it in TuxGuitar). Here before exporting it to lilypond everything seems nice: But when I export and ...
4
votes
1answer
82 views

How to get note names below staff in Lilypond?

I am a beginner at creating scores with Lilypond and I wonder if is there any way to make Lilypond automatically put note names below the staff (or above)? I searched the documentation but could not ...
2
votes
1answer
45 views

New to Lilypond, I want a guitar chord box above each bar of the staff , does anyone have a template?

I am new to Lilypond, I want to print blank guitar chord box(es) above each of the 32 bars of the blank staff , does anyone have a template?
2
votes
1answer
48 views

Use of fractional time signatures in Lilypond

I am trying to recreate this time signature of 2 and a half over 4 in lilypond. I cannot figure out how to get the fraction in there, and for this project, I am required to keep as many engraving ...
0
votes
1answer
40 views

Writing dynamics separately with Lilypond

I've recently been engraving more and more with Lilypond, and I stumbled upon a .ly file on Mutopia (public domain scores engraved with Lilypond) where the dynamics and articulations are written ...
6
votes
2answers
365 views

How to write after a score wih Lilypond

So I want to write not just at the end of a score, but after it, like the dal segno on this snippet : I find it really neat, but don't find how to do it. It is not a text script, spanner or mark. It ...
2
votes
2answers
42 views

Aligning cross-staff stems when the same pitch is involved with Lilypond

I am engraving a bit for piano, where there is a chord spanning cross staff (played with the left hand). One of the pitches of the chord also appears on the right hand, and that messes up my engraving,...
7
votes
1answer
204 views

Printing all accidentals with Lilypond

I am trying to print all the accidentals within a staff (or within the score, both would work) while engraving with Lilypond. Currently, it's because I'm engraving 80+ bar, multi-staff unmetered music ...
5
votes
1answer
86 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 ...
1
vote
1answer
37 views

Custom text in volta with Lilypond

I'm trying to put custom text in voltas when engraving with Lilypond. The problem is not to add text, but to add it with the formatting I want. I am aware that a similar question was asked and ...
2
votes
1answer
53 views

How to separate introduction from main theme with Lilypond

I'm trying to reproduce a music sheet with Lilypond, and it has an introduction separate from the main theme, but still on the same "line / staff / group of staves", just like so : And I don't know ...
8
votes
3answers
327 views

How to typeset a chord with variable note length in Lilypond?

I am typesetting a score using Lilypond but I am struggling with the following bar: I tried <fa la> <<fa4 {la8 sib}>> … but it does not render properly. Global settings. \version "...
2
votes
3answers
39 views

Correct way to hide/suppress the sustainOff symbol?

In Lilypond, I'm engraving a chunk of piano music which uses the Ped. symbol, but does not use the corresponding * to end the pedalling. Here's a chunk of code which gets the right visual result: \...
5
votes
1answer
33 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 ...
4
votes
1answer
36 views

Aligning the start of a hairpin at the start of a bar despite acciaccatura

I'd like to get a hairpin to start at the beginning of a bar, when the bar begins with an acciaccatura, and I'm not having any luck. This is what I want: Here's what I've got instead: \version "2....
0
votes
2answers
67 views

explicit positioning of middle C in the middle of double (piano) staff with lilypond

With Lilypond, in a piano staff (with double staff), a middle C belongs either to the treble or to the bass staff, so that it is not displayed aligned the middle of the staves. Is there a way to ...
6
votes
1answer
109 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 } \\ ...
0
votes
1answer
39 views

Rest Collision Error on in lilypond

In a project of mine, one of the staves, whenever I put anything in it that isn't a full bar rest throws up a "cannot resolve rest collision: rest direction not set" error. It will still render but it ...
3
votes
1answer
38 views

How do I use full bar rests in lilypond with long bar lengths

I am working with a file that has some bars of very long duration (the first bar of the piece is in 20/8), and simply putting R1 will not give me a full bar rest. In the following bar of 8/8, it works ...
3
votes
1answer
39 views

Cross Staff Beaming in parts using more than two staves

So I have two somewhat related questions. Firstly, is there a native way in lilypond to work with piano scores with more than two staves? I am hopefully beginning work on a project soon where I will ...
3
votes
1answer
51 views

Change in horizontal lyric spacing in 2.20.0?

I have been typesetting liturgical chants with reciting notes. Using lilypond version 2.18.2, I get what I want, but when I switched to 2.20.0, there is way too much space between syllables in some ...
5
votes
1answer
231 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 ...
1
vote
3answers
55 views

Custom dynamic mark attached to a note, but not postponning the next

I am in the process of engraving a piano sheet, and I wrote a custom dynamic mark with the look of which I am very happy, but the behavior, not totally. It is the following : mff = \tweak DynamicText....
2
votes
1answer
32 views

How to turn off lilypond automatic staff width

So if I engrave music with LilyPond, and I write a few bars, the staves may initially stop in the middle of page (horizontally speaking). I write some more, and eventually, it reach the edge of the ...
0
votes
1answer
32 views

Lilypond: output to iPhone and iPad

How can I generate pdf outputs that fit best on iPad and iPhone? I could not find the right paper sizes in Lilypond's predefined paper sizes
1
vote
1answer
41 views

How to Get Lilypond Music Engraver to Render File in SVG Format

I am looking to get Lilypond to output my scores in SVG format. I'm working on the Windows 10 platform. So far I have only been able to get png outputs using the following command in the command line: ...
2
votes
1answer
40 views

Can't make my (phrasing) slur end where I want it to with LilyPond

I am trying to write a phrasing slur on a << {} \\ {} >> construction, and it seems like the slur doesn't end where it should. My code is as follows : %%%%%%%%%% %% VERSION %%%%%%%%%% \...
3
votes
1answer
43 views

(Dis)aligning lyrics to a melody with LilyPond

I am trying to write a score for piano and voice. The piano actually has staves associated with it, but because the melody is already common and known by the intended audience, there is no staff for ...
1
vote
2answers
46 views

Complex beam in Lilypond

I'm trying to reproduce a scanned score with Lilypond. The original (the part of interest, at least), looks like this : My Lilypond code is the following (I put the crescendo in the upper staff) : %%...
5
votes
2answers
53 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, ...
2
votes
1answer
75 views

Lilypond: How to create an ossia Staff above a PianoStaff?

When trying to create an ossia Staff, that is used multiple times, above a PianoStaff, Lilypond does not reuse the context, but creates a new one. How can I tell Lilypond to find the existing context ...
2
votes
1answer
34 views

How to convert Humdrum files to Lilypond format?

I have some Humdrum krn score files and want to make Lilypond files out of it for further processing and output generation. What ist the best way to do this? I tried the user interface Frescobaldi ...
2
votes
1answer
42 views

LiliyPond: Is it possible to create an instrument switch that goes from a Staff to a DrumStaff and back?

I'm typesetting a piece where a singer alternates between singing and playing maracas while never doing both at the same time. I would like to use a single stave and make an instrument switch using \...
2
votes
1answer
93 views

How do I get this in Lilypond? [closed]

Can you please help me on how to get this notation in Lilypond please? Thank you.
2
votes
2answers
45 views

Lilypond: temporarily disable grace notes synchronization over staves

In a piano score, is it possible to have grace notes not being 'synchronized' to the other staff? I know there is \override Score.SpacingSpanner.strict-grace-spacing = ##t, but this applies to the ...
3
votes
2answers
128 views

Lilypond: Looking for script to analyze .ly file

I have a lot of lilypond files each representing a single musical piece. There are many kinds of instrumentations in the lilypond files. I want to get some simple statistics from a single lilypond ...
1
vote
1answer
83 views

lilypond bug with octave change/whole note

I'm using lilypond with Frescobaldi to notate a piano score. My time signature is 4/4, and I just did a clef change, changing the bottom clef to treble for a few notes. I returned the clef to bass, ...
4
votes
1answer
53 views

Include \markup in define-music-function

I want a custom \breathe sign that can be freely positioned, like: I have some shortcut code for this: place = #(define-music-function (parser location xy) (pair?) #{ ...
4
votes
2answers
84 views

LilyPond: Combine parts when identical, but split into staves when different

I'm arranging the second movement of Ravel's Ma mere l'Oye for recorder ensemble. There are two parts for tenor recorder, and I'd like to combine them into one written part. Sometimes, the two parts ...
11
votes
3answers
629 views

In Lilypond, silence parts of midi output

I need to engrave a choir piece, where some voices have unpitched parts, like whispered, spoken or screamed words. I want to engrave this using cross-headed notes, like in the following piece of music:...
3
votes
1answer
74 views

LilyPond: passing music symbols as arguments to a function / markup-command

I am preparing in LilyPond a music book divided into many sections, each having a title. I want to keep the formatting of all titles in a single place, to make future format changes easier, and know ...
4
votes
2answers
62 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
52 views

In Lllypond, connect half note with 8th note beams for guitar arpeggio

I've come across guitar sheets several times where the bass note of an arpeggiated chord, written as a half note (to keep the string ringing) is connected to the beam of the 8th notes following, for ...
3
votes
1answer
52 views

lilypond:: tacet

In German music-notation, we know the term "tacet" in order to say the musician not to play his chords for a while. How can that be typeset with lilypond? It's similar to "N.C.", but in most common ...
4
votes
1answer
80 views

How do I raise or lower Lilypond's “repeat percent” symbol?

Lilypond's "\repeat percent" construct enables you to express a repeating musical snippet by writing the first occurrence in full then using a symbol as a sort of "ditto" mark for the later ones. ...
3
votes
1answer
63 views

Can Lilypond chordmode be made to recognize inversions?

There are times when it's convenient for me to write something like: << e a c >> or \chordmode { e:1.4.6- } in my harmony. In staff notation, everything's find, but when I engage ...
4
votes
1answer
61 views

Bar lines in wrong place after removing staff lines

I need to set a rhythm-only piece in lilypond without staff lines. The following almost works but it puts the bar lines in the wrong place. It thinks I'm in 4/4 when I set it to 3/4. \score { \new ...

1
2 3 4 5 6