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
2
votes
1answer
38 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
64 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
38 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 ...
2
votes
2answers
104 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
76 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
44 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
72 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 ...
10
votes
3answers
605 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
54 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
49 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
45 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
45 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
71 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
53 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
58 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 ...
5
votes
1answer
58 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 ...
3
votes
1answer
77 views

LilyPond - supress/skip MIDI generation

When I work on my LilyPond scores, especially in the end when I just tweak on some graphical settings, it would be quite nice if it was possible to skip the Midi generation, even though it is not very ...
4
votes
1answer
42 views

LilyPond - compile midi output only

Is there a way/command-line option, to make LilyPond only compile the \midi {} output, even though there is a \layout {} block in the source.ly file? Just been going through The Command Line Options ...
4
votes
1answer
41 views

lilypond-book cropping the bottom of a png, Any way around this?

I am working on a purely personal project. Unfortunately technology is getting in my way. Included at imgur are two images, one is correct the other has the bottom cut off. Is there anyway of ...
13
votes
2answers
946 views

LilyPond - how to write a basic makefile

During the last years I tought myself to write scores using LilyPond and furthermore to make file handling easier by using Bash scripts. Recently I started a project a little bigger than only one or ...
1
vote
1answer
44 views

LilyPond - changing the output format and resolution of a preview image

I use the folowing command to get preview images of my scores: lilypond -d preview -o preview/ my_file.ly -d sets the output to the first line including titles -o to select a different output ...
5
votes
1answer
127 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 ...
3
votes
1answer
73 views

How to express in sheet music that pedals and dynamics are “on” the performer

I transcribe music into sheet music. In a piece of music I am working on it is imperative that the performer him/herselves decides how he/she uses piano pedals and dynamics (the music must be '...
2
votes
1answer
40 views

LilyPond – omit first page-number when numbering formatted by markup

I use this snippet to reformat the LilyPond page numbering: pagenumcol = \markup { \column { \vspace #0.5 \fromproperty #'page:page-number-string } } copyrightcol = \markup { \fill-...
2
votes
3answers
51 views

Consistent use of LIlypond Transpose Function

From the current lilypond doucmentation: http://lilypond.org/doc/v2.18/Documentation/notation/changing-multiple-pitches I see the following explanation for the function \transpose: \transpose ...
4
votes
2answers
112 views

Music engraving - chord with different note lengths (half and quarter)

Another engraving question arised from the same book Sebastian Lee; Op. 70 In Nr. 40 there are two chords, containing half and quarter notes: since this is a cello score, and you can not play three ...
5
votes
2answers
665 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 ...
2
votes
1answer
35 views

Second ending is shifting note values for remainder of song

I am currently working on a Christmas setlist for bagpipes. The second ending doesn't seem to count the note from the previous measure and as a result, it shifts the high a eight note to the next ...
2
votes
1answer
44 views

Is there a way to get two songs on a single page using lilypond-book?

I am currently using Frescobaldi to edit my lilypond files. I have several short songs (a half-page or less) that I would like to combine into a set with more than one song on each page. Currently, ...
3
votes
1answer
44 views

Coloring chord names in LilyPond

How do you color chords in LilyPond? For example, in the following fragment, how can you print chord names in red? << \chords { r8 d4 g4 a4 d4 d4:sus4 d4 } \relative { \time 2/4 \key d \...
3
votes
1answer
86 views

Force bar numbers below the staff and chord names above in LilyPond

In the documentation for the bar number engraver, it's quite clear that the bar numbers were only ever intended to go above the staff. How do I override that behavior? It would make a part I'm ...
3
votes
1answer
84 views

Display time signature as single number above the staff

Sometimes, when a piece of music has a frequently-changing time signature, the time signature is printed above the staff. In the following example, only the numerator is printed (the denominator is 4 ...
3
votes
1answer
71 views

How to make unpitched percussion and a pitched instrument share a staff in LilyPond?

For parts where the percussionist switches from vibraphone to maracas, for example, is there a way to combine the two on the same staff? IIRC, LilyPond treats normal staves and percussion staffs ...
3
votes
1answer
74 views

lilypond: How to display changed chord names only?

In German songbooks chordnames are only displayed if they have changed. Lilypond shows chordnames at the beginning of a new line even if the chordname has not changed. Is it possible to change this ...
5
votes
1answer
65 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. ...
4
votes
1answer
90 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 \...
5
votes
3answers
712 views

Notation: grace note played on the beat with a chord

I want to write a four note chord in which three notes are held but one note is played and released very quickly. The extra note is played on the beat with the rest of the chord so is not an ...
5
votes
1answer
140 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 "...
4
votes
2answers
81 views

Merge rests in lilypond

I write a program which produces scores in lilypond. Due to some limitations in this program, the rests are written as if they were seperate notes: r2 r4. r8 | r2 r4. e''8 | r4 r4 e''2 Is there ...
4
votes
1answer
84 views

Creating two-staved ossia in Lilypond

How can I create an ossia in lilypond with two staves (for piano). I want the ossia to be smaller in size than the regular music and if possible have the dotted line connecting it to the actual music ...
2
votes
1answer
107 views

Lilypond Swing Feeling

How to properly write sheet music in swing-feeling with lilypond? Just for clarification: in MuseScore, this can be achieved as explained here. I'm a bit confused as I did not find anything useful ...
2
votes
3answers
1k views

Time signature inconsistent

I'm trying to write the first measure of the Moonlight in Lilypond From my very basic knowledge the first measure is 4 x 3 x 1/8 = 3/2 long, but the special symbol (alla breve) seams to be a 2/2. ...
4
votes
0answers
65 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
1answer
66 views

lilypond: Odd horizontal spacing with two voices

In the example below I get an unwanted large horizontal gap between the d and the c. I think it has to do with a conflict between \voiceOne an \voiceTwo, because alone they are typeset properly. ...
6
votes
3answers
160 views

Lilypond acciaccatura slur position

Lilypond issue: I'm trying to get the slurs in acciaccatura to look like this (generated in Musescore): Notice that the slur is beneath the grace note. However, Lilypond insists on putting the slur ...
7
votes
2answers
215 views

Migrating from commercial music notation software to free alternative

A friend of mine dislikes composing music on the commercial software he owns (Si..us). The main reason is that he is into modern, avant-garde music and the notation on his current system is just not ...
5
votes
1answer
255 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 ...
6
votes
1answer
426 views

Lines too long in piece with two sections for different instruments

I'm trying to use Lilypond 2.18.2 to engrave a piece with two staff groups: a verse for piano (18 bars), and a chorus for choir (8 bars). I'm trying to follow the Lilypond example "Solo Verse and Two-...
5
votes
1answer
86 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
80 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 ...

1
2 3 4 5