Questions tagged [lily-scheme]

Scheme is a programming language in the Lisp family, it is used internally by the higher level language LilyPond — for music engraving.

Filter by
Sorted by
Tagged with
4 votes
2 answers
196 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 ...
facetus's user avatar
  • 823
4 votes
1 answer
74 views

Modify markup with a scheme function

This seems quite straightforward, but I've spent far too much time struggling. I frequently using markup of the form: \markup \with-url#"https:\\youtu.be ..... t=214" {ref} This creates a ...
Ken Ledeen's user avatar
3 votes
2 answers
1k views

How to define a LilyPond function to return set of notes given a pitch?

I'm working on a song with a repetitive rhythm that changes pitch. As this would normally involve a large amount of repeated typing, so I would like to define a LilyPond function to do this for me. I'...
cat40's user avatar
  • 354
3 votes
1 answer
112 views

Create new \score-like context/template in Lilypond

My current project is to create a number of short snippets for doumbek. To create each snippet, I use the following \score block: \header { piece = "Name here" } % different for each ...
cjm's user avatar
  • 1,083
2 votes
1 answer
239 views

correctly calling a lilypond scheme function

I have some general questions regarding calling a scheme function which I will ask using the following example code (which gives no errors and produces an output pdf): \version "2.20.0" ...
Kjara's user avatar
  • 728