> nostaffmidi =
> #(define-scheme-function () ()
>(if TrackPerVoice #{ \context { \Staff \remove "Staff_performer" } #}))
Ah, that proves me wrong. I didn't recall the parser was smart enough for this.
> Although, I don't understand why the contents of the scheme functions cannot
> be
> I would like to include some Staff and Voice context settings in the
> \midi block only if a flag is set to ##t and I have not been able to
> figure out how to do this. When I try to wrap the \context blocks
> in a code block with #{…#} I get this error:
> trackPerVoiceMWE.ly:31:16: error:
> I run into a problem when I create a (very high) single-page PDF file from a
> Lilypond score. 'After a certain time', the rest of the page is rendered in
> white.
>
> In my use case, I wanted to make a large system staff, and white-on-black
> music, because of readability-reasons.
> This is a very basic question. I have see some examples that use
> constants like "$SELECTION" or ""$CURSOR'$ANCHOR". but despite doing all the
> obvious things (searching the documentation, etc.) I've not found any relevant
> information.
>
> I would sincerely appreciate being pointed in the
> Le 19 mai 2024 à 02:53, Walt North a écrit :
>
> David, thanks, this did indeed accomplish my goal - so I'm happy.
Well, \bookpart will work *if* you are happy with having a page break between
the two scores.
> Le 19 mai 2024 à 01:56, David Wright a écrit :
>
> Perhaps
>
> https://lists.gnu.org/archive/html/lilypond-user/2024-04/msg00247.html
Indeed, but there was a more technical one, with Lukas I think.
> Hi. I have a case where I want to have different vertical spacing between two
> different scores. I can get system-system spacing to change for both scores
> using a \paper variable. But if I'm understanding the documentation correctly
> I should be able to use the same variable in a distinct
> \set Score.repeatCommands = #'((volta ,voltaOpt))
^^^
This should be ` not ' .
signature.asc
Description: This is a digitally signed message part
> Quick question on coloring dots in fret-diagrams. There is an option to use
> predefined colors from normal, CSS or X11 palettes which works perfectly well
> in the fret-diagram-verbose with the snippet below:
>
> > (place-fret 3 6 3 dodgerblue2)
>
> For some reason I cannot get it working
Le mercredi 15 mai 2024 à 17:05 -0400, David Olson a écrit :
> Suppose the lyrics contain two contradictory propositions:
>
> Ma -- the -- ma -- tics is in -- vent -- ed.
> Ma -- the -- ma -- tics is dis -- cov -- ered.
>
> Is this the only way to put the second proposition in italics?
>
> I've tried placing the new bar in 3 different places on the treble
> staff. In the current pdf, the first 2 are commented out and the third
> -- which I expected to work -- is active: placement after the >>.
> Somehow a spurious bar is inserted, but I don't know where it's coming from.
> I've freshly installed Frescobaldi using mac port. When lauching the
> frescobaldi.app,
Are you sure that this is the Frescobaldi that was installed by MacPorts?
It rather sounds like the (buggy) .app distributed in the Frescobaldi
releases. I think the MacPorts-installed Frescobaldi should
>
> % \after 2 \< \after 8*7 \!\> \after 2 \!
> s2 d8(c b2)
Make that
s2 d8(\< c \after 8 \> b2) <>\!
\after doesn't work the way you indented your code suggests you
think it does. The syntax is
\after DURATION ARTICULATION MUSIC
and gives something roughly equivalent to
> Regarding MacOs porting, a valid alternative would be to run
> the linux version of Frescobaldi from a Docker container
Perhaps, but from the perspective of building .app bundles, that replaces
a headache (shipping Qt, PyQt, Poppler and python-poppler-qt5) with what
sounds like an even larger
> I'm an intermediate-level python programmer but I might be able to help with
> busy work like typing and documenting functions, with some feedback. Anything
> to give back to a project that I use all the time!
Thanks. However, without wanting to stop you from contributing, I'll reiterate
that
Le lundi 06 mai 2024 à 14:05 +, Steph Phillips a écrit :
> Well, I'm glad you asked about feedback because I'm curious what other
> folks who contribute to Frescobaldi might think.
>
> After digging around in the codebase, I'm wondering if the application
> might benefit from a more
> Hey all, I've been looking over the Frescobaldi codebase for the last
> few days, and it seems to be within the realm of something I could pick
> up maintenance for.
>
> There would definitely be a learning curve, so hopefully it doesn't
> reach it's EOL too soon... But, I don't know, I
> I’m wondering if the Frescobaldi approach is actually working out. Keep in
> mind that originally Frescobaldi was just a project for adding support for
> Lilypond to KATE, then it became a KDE parts solution, then it started to do
> everything itself for more control. And this means you’ll
> The technical stuff is way over my head, but this reads like the top-
> level description of a GSOC project (in case the mentioned friend
> doesn't take the bait)...
GSoC projects are nice for doing focused work on some specific part
of the code base. For overhauling just about everything,
> > If you look at the first measure of the third system, you can see
> > that the note spacing is distorted by various things (lyrics,
> > accidentals, etc.). But clearly there’s more than enough horizontal
> > room to make those eighth notes absolutely even — in fact, that kind
> > of thing is
> FYI, what I like the most about Frescobaldi are:
>
> * Templates and wizards
> * Snippets
> * Point and Click selection
> * Syntax highlighting
>
> If Frescobaldi for Mac does indeed vanish, what are my alternatives for a
> Lilypond editor?
Syntax highlighting should be doable in Emacs,
Le lundi 29 avril 2024 à 06:31 -0500, Jason Yip a écrit :
> Hi,
>
> Does anyone know how to manually set the midi channel # for a staff to
> something other than the default of channel 0/1? Without having to
> create dummy staffs with just `s256` as the voice content preceding the
> desired
> yeah, I just had the package-manager in gentoo downgrade to the previous
> version of snappy, and then filed a bug with gentoo. It's a workaround for
> now.
>
> As another workaround, I'm trying to get my latex editor to use lilypond-book,
> but since it's on a nonstandard path, I don't seem
> It gets a bit more complicated now. See this bug:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278633
>
> That bug is for freeBSD, but I expect it applies to other
> distros as well (it certainly applies to gentoo, as I'm
> getting the exact same error). In short, snappy (an archiver)
>
> Would it maybe make things a bit easier to leave the whole MacOS
> business aside and take care of the Linux-specific stuff first?
Linux is not really causing us any specific problems. Packaging is a lot
easier, thanks to Linux distributions and Flatpak.
The only wrinkle is the oddities on
> […]
> Well, the explanation wasn't that brief. Sorry that I didn't have
> time to write a shorter one, as they say.
PS: Maybe I should mention that at the time I went down the rabbit
hole of Python packaging in general because of Frescobaldi, I wrote
two articles on the LinuxFR site, which may
> unfortunately, as I noted above, the problem seems to be that frescobaldi
> depends on a now-deprecated version of qtwebengine, and without updating
> it we'll eventually reach a point where it no longer runs. I looked into
> this because qtwebengine-5.15 failed to compile on my machine this
> I own a bunch of Macs. In fact, right here in my studio I have two late-2014
> Mac Minis with fresh Monterey installs which are completely unused. I also
> have a *really* excellent [fibre] internet connection — it usually hovers near
> 900Mbps up and down (though right now it’s only at 200Mbps
> Just had a quick look. It seems to me we need to create a python-poppler-qt6,
> port qpageview to Qt6 and of course frescobaldi itself. I would hope that
> qpageview and frescobaldi both basically mean moving from PyQt5 to PyQt6 which
> I expect to be mostly busy work. The poppler bindings seem
> If there is busy work that needs to be done on the project, I can do that, but
> I also don't own a Mac.
Thanks, but unfortunately the kind of work needed is deeply technical, not busy
work.
signature.asc
Description: This is a digitally signed message part
> Is Frescobaldi the most common tool on Linux, or what do the majority of
> Lilypond users use?
Frescobaldi is the most common LilyPond editor, on all OSes.
signature.asc
Description: This is a digitally signed message part
> Doing some system updates today, I see that frescobaldi is the only program
> that requires PyQtWebEngine:5, which in turn requires qtwebengine:5. Looking
> at the frescobaldi page, I see a somewhat concerning note that the project is
> on the verge of being unmaintained, due to this dependency
> That works for the last line of the whole score. The line I want to be
> "ragged" is the last line of a page. with more music on the next page.
There is no way to make just one system ragged except the last one in the score.
I'm afraid you need a second \score block if you want to do this.
> I note that in one solution one uses \remove and in the other \omit to
> achieve the same thing.
>
> Is there any prospect of moving to a situation where only one operator
> is used to achieve a result, possibly by having a preferred and
> deprecated options first? This is a general point,
> Is there any reason for expecting me to install an unwanted program, in
> order to get a program I do want? Or are you trying to force everybody
> to use Frescobaldi? Why?
The default installation tutorial use Frescobaldi because it's a
newcomer-friendly IDE. That doesn't mean we're trying
> Is Lilypond compatible with iMac sonoma 14.2?
Yes. As written on https://lilypond.org/download.html , current
versions of LilyPond are compatible with macOS 10.15 Catalina
and higher.
signature.asc
Description: This is a digitally signed message part
> Many thanks for the clarification that this approach will not work and
> alternative suggestions.
>
> I presume that /image will only include PNGs in a SVG output and not EPS (the
> documentation reads a little unclearly on this as the section on backends is
> elided with comments on coloured
> It would be possible to convert EPS to SVG with pstoedit or via PDF and
> Inkscape. Both would avoid rastering vectors into a pixel image.
True, but LilyPond so far doesn't support including SVG images either.
(It does support \markup \path in SVG though.)
signature.asc
Description: This
> An alternative, if you can use raster graphics, would be a PNG file added
> with the \image command.
P.S. \image is new in 2.25
https://lilypond.org/doc/v2.25/Documentation/notation/graphical-markup
(and I remember now that I wrote down what does and doesn't
support EPS in the 2.25
> I am trying to include an epsfile as a top-level markup (it is not in
> a score) and then output as SVG.
You can't (this should indeed be mentioned in the documentation). EPS files
are included by basically inlining them into the PS code that LilyPond
generates,
which is then converted to
Le mardi 09 avril 2024 à 23:55 +0200, Maurits Lamers via LilyPond user
discussion a écrit :
> Hey all,
>
> I encountered a situation where the PianoPedalBracket setting to-barline
> doesn't always do what you'd expect. Given the following code, the pedal
> bracket is not extended to the end of
> I'm using \transpose pretty heavily, and I'm running into an issue I don't
> quite know how to solve. I'm aware of the \naturalizeMusic hack described
> in the LilyPond documentation. I'm looking for something similar, but for
> key signatures.
This was discussed in the past, for example I
Le lundi 08 avril 2024 à 09:22 -0700, Paul Scott a écrit :
> Many years ago I could nest square brackets in Lilypond. How can I write
> this now incorrect code:
>
> a16[[ 16 16] 16[ 16 16]] i.e. two groups of 3 beamed 16th notes joined
> by a single beam.
>
> I have looked at NR 1,2,4
A
> I know how to get the properties from a music object - but how about the name?
> I cannot figure out how to get the name from a music object.
(ly:music-property the-object 'name)
HTH
Jean
signature.asc
Description: This is a digitally signed message part
> My Lilypond knowledge is small but have you tried the "\unset" command ??
\unset will simply remove the value. Werner is looking for
something that resets the previous value.
signature.asc
Description: This is a digitally signed message part
Le lundi 25 mars 2024 à 07:31 +, Werner LEMBERG a écrit :
> LilyPond provides `\temporary` and `\revert` to set a grob property
> temporarily, and afterwards the value of the grob property is the same
> as before.
>
> Is there a similar possiblity for `\set` (or something usable in
> Scheme)?
> https://lilypond.org/doc/v2.23/Documentation/58/lily-fa68165d.ly
That's the LilyPond 2.23 documentation.
> I am using lilypond 2.22.1
Now you should understand the problem :)
signature.asc
Description: This is a digitally signed message part
> Hi Jean,
>
> As always… remarkable.
>
> One question: How hard would it be to have this output more precise
> timings (e.g., 1/4 or 1/10th or 1/100th of a second, or SMPTE timecode
> in minutes:seconds:frames)? I could imagine this being *very* useful
> for film/video/media composers.
To get
> “This sounds like a job for… Custom Engraver!!” :)
\version "2.24.2"
#(define (Custom_engraver!! context)
(define (format-time seconds)
(let ((minutes (euclidean-quotient seconds 60))
(rest (euclidean-remainder seconds 60)))
(string-append (if (zero? minutes) ""
> Mahalo, X. I am using the naturalizeMusic function and will look into
> extending that. Maybe that has some nuggets to mine.
`\naturalizeMusic` is not going to work well on `\chordmode` music (it will
destroy the interval in chords, leading to wrong chord names), but you can use
code like
> I cannot figure out how to revert or reverse "\omit TupletNumber".
\undo \omit TupletNumber
Best,
Jean
signature.asc
Description: This is a digitally signed message part
Le dimanche 10 mars 2024 à 18:33 +, Werner LEMBERG a écrit :
>
> Can you provide some additional sentence or sentences for the
> documentation so that we have something to start with?
See also https://gitlab.com/lilypond/lilypond/-/issues/6439
signature.asc
Description: This is a
Try
```
\version "2.24.2"
\paper {
#(add-text-replacements!
'(("1↑" . "1")))
}
{ c'^\markup "1↑" }
```
Best,
Jean
signature.asc
Description: This is a digitally signed message part
Le vendredi 01 mars 2024 à 16:21 -0800, carsonm...@ca.rr.com a écrit :
> Went to \users\Mark\lilypond 2.24.3\gs
The program you should add is ...\lilypond(.exe), not ...\gs.
signature.asc
Description: This is a digitally signed message part
Just replace `4\repeatTie` with `4`?
signature.asc
Description: This is a digitally signed message part
Hi Morten,
Le jeudi 22 février 2024 à 23:00 +0100, Morten Lemvigh a écrit :
> \version "2.24.1"
>
> double =
> #(define-music-function (music)(ly:music?)
> (let ((notes (ly:music-property music 'elements)))
> (make-music 'SequentialMusic
> 'elements
>
> Do you know how I can solve this problem? Consider that I have no error
> messages.
We'll need an example where it fails. Preferably
[tiny](https://lilypond.org/tiny-examples.html), but your full score (if you
can share it) would work too.
Best,
Jean
signature.asc
Description: This is
> I was just waxing nostalgic about that fabulous Salzburg conference in 2020,
> and noted that in Jan 2025 — just under a year from now! — it will have been
> five years since we got together, talked music/notation, and raised [more
> than] a few pints together.
>
> Any chance for a repeat? :)
> As some of us know, this does not work:
>
> <<
> \staffIGot
> { s1*5 \break }
> >>
>
> It introduces an extra staff. Not wanted.
The classic fix is
<<
\new Devnull { s1*5 \break }
\staffIGot
>>
Best,
Jean
signature.asc
Description: This is a digitally signed message part
> I have recently upgraded from 2.22.2 to 2.24.3. However, as I only use
> LTS distributions of ubuntu, I had to download the tar.gz package. No
> problem. But how may I obtain the documentation in texinfo format for
> use with emacs? In fact, looking through the archive, it does not
> appear that
It's not a bug — by default, LilyPond forbids line breaks on a bar line when
there are notes straddling on that bar line. You can change this with
```
\layout {
\context {
\Voice
\remove Forbid_line_break_engraver
}
}
```
Best,
Jean
signature.asc
Description: This is a
> Am I misunderstanding something, or is this a bug? Since the "r4" at the
> start of the second measure is fully qualified, I was expecting the "4"s that
> follow it to be quarter rests as well, but I'm seeing "c"s in the rendered
> output.
>
> ```
> \version "2.25.6"
>
> {
> c'4 r
Try
```
#(define (should-not-print-arranger layout props)
(equal? "" (chain-assoc-get 'header:arranger props)))
```
For one thing, `'header:arranger` just gives a
[symbol](https://extending-lilypond.gitlab.io/en/scheme/quoting.html), it
doesn't look up the arranger. A symbol is never
There is a known bug when combining `\tocItem` and `\bookpart`. See [issue
#6355](https://gitlab.com/lilypond/lilypond/-/issues/6355). I've just posted a
workaround on the issue.
signature.asc
Description: This is a digitally signed message part
Try the code here?
https://lists.gnu.org/archive/html/lilypond-user/2022-04/msg00036.html
Best,
Jean
signature.asc
Description: This is a digitally signed message part
Hello,
This is the English-speaking list. You probably meant to send this to the
French forum, user-fr@lilypond.community .
Raphael:
> That strikes me as being a programmer's response, and I speak as a
> programmer for over 50 years. Using <> works, but it is unintuitive. If
> s0 is more intuitive then that should be considered for future inclusion.
s1*0 works and is more or less equivalent to <> .
John:
> The
Le lundi 08 janvier 2024 à 12:04 -1000, John Helly a écrit :
> My default search engine is Google but I've also tried DuckDuckGo and Bing
> with similar, but different, results. So, this problem falls into a use-case
> that I usually call 'the completeness and consistency of a search'.
Is
> If you do a web search for
>
> lilypond "#f"
>
> is the very first hit not sufficiently helpful?
In defense of the OP, the first hit for me on Qwant is
http://lilypond.org/doc/v2.25/Documentation/usage/advanced-command_002dline-options-for-lilypond
which would not be exactly helpful if I
This doesn't exist, sorry. It wouldn't be *that* straightforward to implement,
because there are multiple code paths for output (GhostScript via API,
GhostScript
via subprocess, SVG backend and Cairo). I'm not even sure that direct PDF output
in GhostScript's PS → PDF conversion is not going
You've mistyped "positions" as "position" (hence the warning “cannot find the
property type-check…”).
signature.asc
Description: This is a digitally signed message part
Hi,
> Thank you Jean. I just now wanted to apply your tip, but it's not quite what
> I expected. If I copy your script litterally, the number overlaps with the
> \header (piece title, composer etc.). If I delete the \with-outline the
> overlap is gone, but the number appears below the header,
> I fully agree. However, what I don't understand is why a zero-width
> non-musical paper column has a non-zero ideal spring distance.
> Additionally, this 0.5 value is hard-coded and undocumented,
> apparently present in the code since the very beginning.
Well, it's not zero-width, since it
> it's the minimum distance to the last
Correction: the *ideal* distance
signature.asc
Description: This is a digitally signed message part
> Why does the `NonMusicalPaperColumn` grob have a width of 0.5 units? Where it
> is defined?
Are you referring to the blue arrow from the second-to-last non-musical column
to the last rest? That's not a width, it's the minimum distance to the last
rest's musical column.
Also, why would
This is not https://bugzilla.redhat.com/show_bug.cgi?id=2208744 but rather
https://bugzilla.redhat.com/show_bug.cgi?id=2253842 , which is being fixed. The
updates are in the "Testing" repositories. See
https://bugzilla.redhat.com/show_bug.cgi?id=2253842#c3 for how to install the
update on
See https://lists.gnu.org/archive/html/lilypond-user/2023-11/msg00152.html
signature.asc
Description: This is a digitally signed message part
> What is the minimum x for it to work as documented?
It's 6. See
https://gitlab.com/lilypond/lilypond/-/commit/1346d30d183e38cb693c7d61f2ac76785130e449
What's the exact value of x in 2.25.x?
> I am on version Frescobaldi 3.2 and Lilypond 2.22.1 and do not appear
> to have that option. At least, I have not found it. Anyway, I have
> "automatic engraving" on.
It's in Edit > Preferences > LilyPond Preferences > Running LilyPond > Save
document if possible, but I don't think it's going
> [Later] The error I am getting now is:
> Processing `/tmp/frescobaldi-duowk0s5/tmpz726e77a/testGit.ly'
> Parsing...fatal: not a git repository (or any of the parent
> directories): .git
If the path is in `/tmp/`, it means that you did not save your file before
compiling, so
> I keep my Lilypond files in a git repository. I would like to
> interpolate the repo's version number in the Lilypond output by running
> a command like "git log|head -1". I can do this from raw Scheme using
> the system() function, but this does not seem to work in Lilypond.
How does it
> There's may be one extra paren in there because it threw a syntax error.
Yes, sorry.
> Is that a proper fix, or is something else wrong?
I wouldn't call it a “proper” fix because it's a bit too dependent on details
that can easily change (specifically, whether the default `NoteName` text is
This code is too big for me to digest it, but the basic problem is that
```
(let* ((default-name (ly:grob-property grob 'text))
(new-name (assoc-get default-name newnames)))
```
is doing a lookup in your `newnames` alist with the value of `text` as the key.
In more recent
See [issue #6639](https://gitlab.com/lilypond/lilypond/-/issues/6639).
signature.asc
Description: This is a digitally signed message part
> One thing occurred to me. If the original \score did not have a \midi
> block, would it be possible to ask lilypond to produce midi output
> without modifying the input file?
No, this is not currently possible, although it would be a nice addition.
signature.asc
Description: This is a
> If I can find a way to append to the input file, I can probably get rid
> of that scraping/parsing code completely. I came across -dread-file-
> list. If I understand I would need to create a file:
>
> ```
> $ cat list-of-files.txt
> first.ly
> song.ly
> last.ly
> ```
>
> And then
>
> ```
>
> There is a case where I want to create a narrower page for a narrower
> screen. I can easily append a /paper {} block to the original file to
> do this. However, any manual breaks will probably not work at this
> newer width. How would you recommend dealing with this?
Put
```
break = {}
> We need a copy so we can introduce the space time dumper code which
> boils down to a simple /include statement at the very top of the file.
You can do that via the `-dinclude-settings` option instead.
> It looks like ly2video also removes any \break, \noBreak, and
> \pageBreak it finds in
> Is there any way to produce png output without --png in the command?
No, sorry.
signature.asc
Description: This is a digitally signed message part
> I know I can run lilypond on song.ly and it will implicitly wrap it in
> a \score block, but is that contained in an intermediate file somewhere
> I can get access to?
No, there is no such file. The implicit wrapping happens at the level of
LilyPond's data structures, it's not a textual macro
Never mind, I can reproduce it after updating my own system. Filed as
[https://bugzilla.redhat.com/show_bug.cgi?id=2253842](https://bugzilla.redhat.com/show_bug.cgi?id=2253842)
For now, please try `sudo dnf install ghostscript-10.01.2`
signature.asc
Description: This is a digitally signed
There must be some other error message before this one that is causing it.
Please include it as well.
signature.asc
Description: This is a digitally signed message part
The option is working as
[documented](https://lilypond.org/doc/v2.25/Documentation/usage/advanced-command_002dline-options-for-lilypond.html)
(although the failure mode could be better).
There is simply not "png" backend. The three available backends are "ps"
(generates PostScript, and PDF or
> The line breaks come out before the rest of the measure does. I would
> expect the first line break print to appear after the third
> ly2videoBar.
Are you relying on the order in which after-line-breaking callbacks are run?
You shouldn't, as the order is completely undefined and has no
> The after-line-breaking callback appears to be in stable/2.20 from git.
> At least in system.cc.
Yes, but it was not called for System specifically until
commit 782f5528e014cc3c7f705298a83f777306541e89
Author: Jean Abou Samra
Date: Mon Mar 21 21:21:28 2022 +0100
Also call afte
> Documentation question from trying to understand *location* in David's
> solution:
>
> I found that function in the IR documentation[1], but I could not find the
> definition of a sip:
> >
> > Function: ly:input-file-line-char-column sip
> > Return input location in sip as (file-name line
> Thanks for your reply. Regarding scheme code: it seems to me that the
> simplest solution would be to modify event-listener.ly so that instead of
> storing point-and-click data (row and column within the lily file), it
> instead stores the pixel coordinate X, Y of the note’s (or rest’s)
Hi,
> I spent much of the last week converting my compositions from MIDI files to
> Lily format. I tried midi2ly first, but found it lacking, and decided to roll
> my own in C++. I gather there are other converters around, as I saw at least
> one on GitHub. I may put mine on GitHub too, after
> OK, thanks. But what about accessing the `input-file-name` variable?
> Shouldn't this work within `delay-stencil-evaluation`?
delay-stencil-evaluation or not, during backend processing,
input-file-name is set to the filename of the main file,
not the filename of the file where the markup
1 - 100 of 2218 matches
Mail list logo