Questions tagged [lilypond]

GNU LilyPond is Free Software for engraving music, with a strong emphasis on very high quality output.

LilyPond is a computer program for music engraving. One of LilyPond's major goals is to produce scores that are engraved with traditional layout rules, reflecting the era when scores were engraved by hand.

LilyPond is different from conventional commercial typesetting software in that the input is code written in plain text, which LilyPond compiles into output formats such as PostScript, PDF, and MIDI. There are various front-ends available to make editing of this code easier.

LilyPond is available for several common operating systems. It is released as part of the GNU project, and under the terms of the GNU General Public License, it is Free Software.

LilyPond uses the Scheme programming language, both as part of the input syntax, and as internal mechanism to glue modules of the program together. [...]

LilyPond uses the GNU Guile implementation of Scheme, which is based on the Scheme “R5RS” standard.

— from the LilyPond documentation - Scheme tutorial.

160 questions
1
vote
0 answers

LIlypond custom global note heads

In lilypond I would create a custom note head by doing this: myGNote = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = \markup { \general-align #Y #CENTER { \epsfile #X #2…
FabricioG
  • 3,107
  • 6
  • 35
  • 74
1
vote
1 answer

Custom note heads in LilyPond

I am attempting to replace the default note heads with custom graphics in Lilypond. I've read the documentation under A. 10.3 Graphic which explains how to use \markup to add graphics to a score, however I'm stuck at being able to use those to…
FabricioG
  • 3,107
  • 6
  • 35
  • 74
1
vote
2 answers

Lilypond not automatically starting a new row of bars when lyrics and music too long to fit on single line

I have the following script: \version "2.16.0" \header {title = "He came down"} upper = \relative c'' { \easyHeadsOn \clef treble \key g \major \numericTimeSignature \time 4/4 %He came down that we may have love; d,8
user1023733
  • 805
  • 5
  • 14
1
vote
3 answers

Lilypond Mac OS X build issue

I am trying to do a clean build of Lilypond on a clean install of Mac OS X. Dependencies have been installed using Brew. I do ./configure && make all in the Lilypond dir. It gets through the configure and starts building but ends on ERROR: In…
Ben Englert
  • 583
  • 5
  • 17
1
vote
1 answer

Align stanzas horizontally

I have typeset some notes using Lilypond. Unfortunately, the stanza numbers do not align over several lines. Here is a stripped-down example: \score { \new Staff << \new Voice \relative c'' { \key d \major \time 2/2 \partial…
hochl
  • 12,524
  • 10
  • 53
  • 87
1
vote
1 answer

Lilypond: How can I map numbers to notes with Scheme

I'm trying to create a function where, for an example, \generateNote #3 #4 would generate an f4 - this would help to write functions to quickly generate scales etc. generateNote = #(define-music-function (parser location note) (number?) …
UTF_or_Death
  • 864
  • 11
  • 19
1
vote
1 answer

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 } \new Staff { \transpose c c { \music } …
scaramouche
  • 461
  • 2
  • 12
1
vote
0 answers

custom paper size on the command line?

I'm working with three different paper sizes, i.e. the same music formatted for different page sizes. This works fine for established paper dimensions. lilypond -dpaper-size=\"letter\" -o "outFile-L" sourceFile.ly or lilypond…
jwvh
  • 50,871
  • 7
  • 38
  • 64
1
vote
2 answers

Figured-bass accidental only in brackets (lilypond syntax)

In lilypond I need to put only the accidental of a figured-bass numeral in brackets--not the whole figure. Does the syntax allow this or is there a workaround? In the non-working example below, I can put the whole figure in brackets with < [6-] >…
musarithmia
  • 216
  • 3
  • 9
1
vote
0 answers

How can I add 2 articulations to a note as part of a post-event?

I copied this example from here, and it works fine, working as if I had simply entered ->. dashPlus = #(let ((m (make-music 'ArticulationEvent 'articulation-type "accent"))) (set! (ly:music-property m 'tweaks) …
ksoo
  • 434
  • 1
  • 3
  • 15
1
vote
2 answers

What is causing this error in changing the default music font in a Lilypond document?

The first few lines of my file clarinettrio.ly look like this (with several lines of comments removed for your convenience): \version "2.18.0" \paper { #(define fonts (set-global-fonts #:music "Improviso" )) …
ksoo
  • 434
  • 1
  • 3
  • 15
1
vote
2 answers

Percussive non-tonal Note in Melodic Staff

Would like to make the final note in this passage non-tonal, like and x with a stem, or percussive note: \times 2/3 { gis gis gis } gis4 cis |
MikeiLL
  • 6,282
  • 5
  • 37
  • 68
1
vote
1 answer

Show measure bars when StaffSymbol #'line-count = #1

(I can't tell if this is meant to be SO or SU, so please move it as necessary.) Lilypond automatically puts in measure bars for me, but only if there's more than one line. I'm writing a part for which I'm doing: \override StaffSymbol #'line-count =…
Ken
  • 437
  • 7
  • 10
1
vote
1 answer

How do I limit the Staff.NoteHead overrides?

I often have a string of harmonics, so I decided to use a music function (the function is a tangent; if I place the override directly with the notes I get the same problem. The issue is the override itself): harmonics = #(define-music-function …
Ryan Frame
  • 285
  • 1
  • 16
1
vote
2 answers

Lilypond: repeat bar line do not show in polymeter music

I am working with some polymetric music (i.e., different time signatures for individual instruments), and obviously the bar lines will not always coincide. To do this, I substitute the layout { } for the following code: \layout { \context {…
gilbertohasnofb
  • 1,984
  • 16
  • 28