Re: Setting relative pitch as a global declaration?
Alasdair,I am not sure to correctly understand what you want to do...Do you have a small example ?ThanksRémyenvoyé : 9 février 2022 à 08:16de : Alasdair McAndrew à : lilypond-user@gnu.orgobjet : Setting relative pitch as a global declaration?I'm sorry about all these damn-fool queries of mine; I promise to go back under my rock soon. Anyway:In the current 18th century suite I'm typesetting (for two treble instruments without bass), there is a separate variable (containing the notes) for each part of each movement. Then there are global declarations about the instruments, and the key and time-signature of each movement; and these are all brought together in score blocks.The one thing I don't know how to do is to declare the relative pitch globally. Thus, each music variable looks likemovement1_part1 = \new Voice \relative c'' { notes, notes, and more notes }The difficulty is that I want to re-set the second part for a bass instrument, so it might start off asmovement1_part2 = \new Voice \relative c { notes, notes, and more notes }Currently this means changing the relative pitch for each movement individually. It would be much more efficient to be able to do this just once at the beginning, with an appropriate global declaration. Can this be done? Is there a way to set the relative pitch of some music in a \global block?(Note, I have indeed RTFM, but it's quite hard - even with the search function - to find answers to this, or examples of such use. Hence this message...)Thank you,Alasdair-- 0432 854 858https://numbersandshapes.net
Re: LilyPond 2.23.6 released
Am Dienstag, dem 08.02.2022 um 22:35 +0100 schrieb Mats Bengtsson: > I tried the Guile 2.2 version on a Windows 10 box where I don't have > any admin rights, and even with the simplest input file, I get the > following error message: > C:\Nobackup\lilypond-2.23.6\bin\lilypond.exe test.ly > GNU LilyPond 2.23.6 (running Guile 2.2) > ;;; note: source file > C:/Nobackup/lilypond-2.23.6/share/guile/2.2/ice-9/eval.scm > ;;; newer than compiled > C:/Nobackup/lilypond-2.23.6/lib/guile/2.2/ccache/ice-9/eval.go > ERROR: In procedure apply-smob/1: > Wrong number of arguments to # Thanks for reporting, I had hoped that we fixed this. How did you extract the zip archive, using the Windows Explorer or some external program? Did you move / copy the extracted directory to C:\Nobackup ? > There's quite a long delay (~30s) before it prints "ERROR:" and then > another 6-7s delay before the rest of the error message. Perhaps it's > trying to rebuild the font cache, but the delay is the same when I > repeat the command several times. I tried both from CMD and > Powershell. > /Mats signature.asc Description: This is a digitally signed message part
Re: Setting relative pitch as a global declaration?
On 09/02/2022 07:16, Alasdair McAndrew wrote: I'm sorry about all these damn-fool queries of mine; I promise to go back under my rock soon. Anyway: In the current 18th century suite I'm typesetting (for two treble instruments without bass), there is a separate variable (containing the notes) for each part of each movement. Then there are global declarations about the instruments, and the key and time-signature of each movement; and these are all brought together in score blocks. The one thing I don't know how to do is to declare the relative pitch globally. Thus, each music variable looks like movement1_part1 = \new Voice \relative c'' { notes, notes, and more notes } The difficulty is that I want to re-set the second part for a bass instrument, so it might start off as movement1_part2 = \new Voice \relative c { notes, notes, and more notes } Currently this means changing the relative pitch for each movement individually. It would be much more efficient to be able to do this just once at the beginning, with an appropriate global declaration. Can this be done? Is there a way to set the relative pitch of some music in a \global block? (Note, I have indeed RTFM, but it's quite hard - even with the search function - to find answers to this, or examples of such use. Hence this message...) I don't know any way of doing what you want HOW you want. However, in the modern world, I have to do a lot of this sort of thing with \transpose. So what I'd do is notes_movement1_part1 = \relative c'' { notes, notes, and more notes } movement1_part1 = \new Voice \relative c'' { notes_movement1_part1 } movement1_part2 = \new Voice \transpose c c,, { notes_movement1_part1 } In general you should assign any repeated block of notes to a variable, and then massage that variable as required. Here I've assumed the notes are identical across parts apart from place and octave - that's the impression you gave me? Like Pachelbel's Canon? I play trombone, so it's important for me to massage *everything* into concert pitch on input, and then massage it into whatever form is appropriate on output. Consistency makes an easy life ... Cheers, Wol
Re: Setting relative pitch as a global declaration?
Hi Alasdair, Am 09.02.22 um 08:16 schrieb Alasdair McAndrew: I'm sorry about all these damn-fool queries of mine; I promise to go back under my rock soon. Anyway: In the current 18th century suite I'm typesetting (for two treble instruments without bass), there is a separate variable (containing the notes) for each part of each movement. Then there are global declarations about the instruments, and the key and time-signature of each movement; and these are all brought together in score blocks. The one thing I don't know how to do is to declare the relative pitch globally. Thus, each music variable looks like movement1_part1 = \new Voice \relative c'' { notes, notes, and more notes } The difficulty is that I want to re-set the second part for a bass instrument, so it might start off as movement1_part2 = \new Voice \relative c { notes, notes, and more notes } Currently this means changing the relative pitch for each movement individually. It would be much more efficient to be able to do this just once at the beginning, with an appropriate global declaration. Can this be done? Is there a way to set the relative pitch of some music in a \global block? As Rémy already pointed out, a compilable example would make things clearer. But maybe the answer you're seeking is contained in the following list: - There's no way to globally declare your input mode to be relative - If you want to re-use music already entered in a different octave, you can transpose it: \transpose c c, \yourMusicVariable - It's not necessary to write a pitch after \relative (as in \relative c' { notesotesnotes }), you can also just do \relative { notesnotesnotes }; then the first note will be read as "absolute". - It's possible to change the relative octave in mid-entry using \resetRelativeOctave Does this already help? Lukas
Re: Setting relative pitch as a global declaration?
Hello Alasdair, Le mer. 9 févr. 2022 à 08:24, Alasdair McAndrew a écrit : > > The one thing I don't know how to do is to declare the relative pitch > globally. Thus, each music variable looks like > > movement1_part1 = \new Voice \relative c'' { notes, notes, and more notes } > > The difficulty is that I want to re-set the second part for a bass > instrument, so it might start off as > > movement1_part2 = \new Voice \relative c { notes, notes, and more notes } > Perhaps you could use \transpose like \transpose c'' c { \movement1_part2 } to get what you want without changing your initial variables ? Hope I don't misunderstood the point. Cheers, -- JJ Fleck Physique et Informatique PCSI1 Lycée Kléber
Re: LilyPond 2.23.6 released
On 2022-02-09 09:10, Mats Bengtsson wrote: On 2022-02-09 08:41, Jonas Hahnfeld wrote: Am Dienstag, dem 08.02.2022 um 22:35 +0100 schrieb Mats Bengtsson: I tried the Guile 2.2 version on a Windows 10 box where I don't have any admin rights, and even with the simplest input file, I get the following error message: C:\Nobackup\lilypond-2.23.6\bin\lilypond.exe test.ly GNU LilyPond 2.23.6 (running Guile 2.2) ;;; note: source file C:/Nobackup/lilypond-2.23.6/share/guile/2.2/ice-9/eval.scm ;;; newer than compiled C:/Nobackup/lilypond-2.23.6/lib/guile/2.2/ccache/ice-9/eval.go ERROR: In procedure apply-smob/1: Wrong number of arguments to # Thanks for reporting, I had hoped that we fixed this. How did you extract the zip archive, using the Windows Explorer or some external program? Did you move / copy the extracted directory to C:\Nobackup ? I extracted it using Win Explorer ("Extract all"), directly into it's current location. I just tried to extract using 7-Zip instead and then everything works as it should. When I extracted using Win Explorer, it seems that "Date modified" is set to the extraction time, both on folders and individual files, whereas 7-Zip preserves the date from the Zip archive. /Mats Googling around a bit, I found https://www.tenforums.com/general-support/177551-how-do-i-preserve-original-folder-file-timestamp-zip-file.html, which explains how to unblock the extra security "feature" in Explorer that's behind these problems. Unfortunately, doing so requires admin rights on the machine, so for users with a locked machine that don't have 7-Zip installed it seems difficult to keep the file modification times when extracting the Zip. On the other hand, the previous installers can't be installed without admin rights either, so the new Zip distribution is at least a step in the right direction for Win users without admin rights (on the other hand, you shouldn't procrastinate work tasks by typesetting music on your employers computer, should you?) /Mats
Inspecting stencil
Good morning, I want to create a modified version of the flaired hairpin stencil. Is It possibile ti inspect the stencil, to aknowledge me about the making of? Thank you Rip_mus
Re: LilyPond 2.23.6 released
On 2022-02-09 08:41, Jonas Hahnfeld wrote: Am Dienstag, dem 08.02.2022 um 22:35 +0100 schrieb Mats Bengtsson: I tried the Guile 2.2 version on a Windows 10 box where I don't have any admin rights, and even with the simplest input file, I get the following error message: C:\Nobackup\lilypond-2.23.6\bin\lilypond.exe test.ly GNU LilyPond 2.23.6 (running Guile 2.2) ;;; note: source file C:/Nobackup/lilypond-2.23.6/share/guile/2.2/ice-9/eval.scm ;;; newer than compiled C:/Nobackup/lilypond-2.23.6/lib/guile/2.2/ccache/ice-9/eval.go ERROR: In procedure apply-smob/1: Wrong number of arguments to # Thanks for reporting, I had hoped that we fixed this. How did you extract the zip archive, using the Windows Explorer or some external program? Did you move / copy the extracted directory to C:\Nobackup ? I extracted it using Win Explorer ("Extract all"), directly into it's current location. I just tried to extract using 7-Zip instead and then everything works as it should. When I extracted using Win Explorer, it seems that "Date modified" is set to the extraction time, both on folders and individual files, whereas 7-Zip preserves the date from the Zip archive. /Mats There's quite a long delay (~30s) before it prints "ERROR:" and then another 6-7s delay before the rest of the error message. Perhaps it's trying to rebuild the font cache, but the delay is the same when I repeat the command several times. I tried both from CMD and Powershell. /Mats
Re: Setting relative pitch as a global declaration?
On 09/02/2022 08:00, Wols Lists wrote: On 09/02/2022 07:16, Alasdair McAndrew wrote: I'm sorry about all these damn-fool queries of mine; I promise to go back under my rock soon. Anyway: In the current 18th century suite I'm typesetting (for two treble instruments without bass), there is a separate variable (containing the notes) for each part of each movement. Then there are global declarations about the instruments, and the key and time-signature of each movement; and these are all brought together in score blocks. The one thing I don't know how to do is to declare the relative pitch globally. Thus, each music variable looks like movement1_part1 = \new Voice \relative c'' { notes, notes, and more notes } The difficulty is that I want to re-set the second part for a bass instrument, so it might start off as movement1_part2 = \new Voice \relative c { notes, notes, and more notes } Currently this means changing the relative pitch for each movement individually. It would be much more efficient to be able to do this just once at the beginning, with an appropriate global declaration. Can this be done? Is there a way to set the relative pitch of some music in a \global block? (Note, I have indeed RTFM, but it's quite hard - even with the search function - to find answers to this, or examples of such use. Hence this message...) I don't know any way of doing what you want HOW you want. However, in the modern world, I have to do a lot of this sort of thing with \transpose. So what I'd do is notes_movement1_part1 = \relative c'' { notes, notes, and more notes } movement1_part1 = \new Voice \relative c'' { notes_movement1_part1 } movement1_part2 = \new Voice \transpose c c,, { notes_movement1_part1 } In general you should assign any repeated block of notes to a variable, and then massage that variable as required. Here I've assumed the notes are identical across parts apart from place and octave - that's the impression you gave me? Like Pachelbel's Canon? I play trombone, so it's important for me to massage *everything* into concert pitch on input, and then massage it into whatever form is appropriate on output. Consistency makes an easy life ... Whoops ... notes_movement1_part1 = \relative c'' { notes, notes, and more notes } movement1_part1 = \new Voice { notes_movement1_part1 } movement1_part2 = \new Voice \transpose c c,, { notes_movement1_part1 } Cut-n-paste error, sorry. Now you see the dangers of cut-n-paste :-) Cheers, Wol
Re: Setting relative pitch as a global declaration?
> Le 09/02/2022 09:23, Lukas-Fabian Moser a écrit : > > - There's no way to globally declare your input mode to be relative Well ... \version "2.22.1" #(set! toplevel-music-functions (cons #{ \relative c' \etc #} toplevel-music-functions)) { d e f } Though this might not be considered very clean. Best, Jean
Re: LilyPond 2.23.6 released
Am Mittwoch, dem 09.02.2022 um 12:50 +0330 schrieb Omid Mo'menzadeh: > It works with Guile 2.2, but with a lot of the mentioned warnings. > The .nix files I attached describe a recipe for building LilyPond, > and two packages are built in the shell.nix file, so yes, I am > building both, using the same recipe, but one with Guile 1.8, and one > with Guile 2.2. Both are using the same FontConfig for sure. Thanks for clarifying. > The binaries under Nix are not really self-contained, so it would be > a challenge to create a binary. But I will try to isolate the issue. No, that's a misunderstanding. I'm asking if you could try the binaries that we provide, available for download from https://gitlab.com/lilypond/lilypond/-/releases/release%252F2.23.6-1 on your system to see if that works. signature.asc Description: This is a digitally signed message part
Re: LilyPond 2.23.6 released
It works with Guile 2.2, but with a lot of the mentioned warnings. The .nix files I attached describe a recipe for building LilyPond, and two packages are built in the shell.nix file, so yes, I am building both, using the same recipe, but one with Guile 1.8, and one with Guile 2.2. Both are using the same FontConfig for sure. The binaries under Nix are not really self-contained, so it would be a challenge to create a binary. But I will try to isolate the issue. To test the Nix files you don't need a VM, Nix can be installed as a per-user package manager on OSX and almost any GNU/Linux distribution, but a VM may be a cleaner solution for you. On Wed, Feb 9, 2022 at 11:09 AM Jonas Hahnfeld wrote: > Am Mittwoch, dem 09.02.2022 um 00:15 +0330 schrieb Omid Mo'menzadeh: > > Thanks for the amazing work. > > I get a bunch "Fontconfig error: No writable cache directories" warnings > > using Guile 2.2, that I don't get with Lilypond compiled with Guile 1.8. > > This might be a packaging issue, but since I'm using both on the same > > system, I thought I'd share. > > Thanks for reporting. So to make sure I understand, you compile > LilyPond yourself and when using Guile 1.8 it works, but with Guile 2.2 > it doesn't? Both are using the same version of Fontconfig? Would you > mind trying the provided binaries, to rule out that there's something > wrong with LilyPond itself and it's indeed related to packaging? > > > The run-time is also heavily slower using > > Guile 2.2, with 13.37s for Guile 1.8 and 64.68s for Guile 2.2, which > might > > partly be related to the warning I mentioned. > > Some slowdown is expected because we don't have byte-compiled Scheme > files yet, but certainly not in that magnitude. > > > I'm using NixOS unstable. I will attach my shell.nix file to help with > > reproduction if needed.. > > Sounds like I need to install yet another VM... > > Jonas >
Re: Inspecting stencil
> Le 09/02/2022 09:51, Rip _Mus a écrit : > > > Good morning, > I want to create a modified version of the flaired hairpin stencil. > Is It possibile ti inspect the stencil, to aknowledge me about the making of? Yes: (ly:stencil-expr the-stencil) On the other hand, this might be difficult to read, and it's not intended to be a structure that you traverse or modify. Instead, you use the ly:stencil-... functions to create new stencils from existing stencils. There are also various functions to make box stencils, circle stencils, ... Searching http://lilypond.org/doc/v2.23/Documentation/internals/scheme-functions will give you all of them (be sure to read that page in 2.23, as in 2.22 it doesn't include a number of them, more precisely those that are defined in Scheme rather than C++). To understand how an existing stencil is built, I would recommend reading the source code that constructs it rather than trying to interpret the stencil expression. Here is the relevant part of the source: https://gitlab.com/lilypond/lilypond/-/blob/master/scm/output-lib.scm#L1255 Best, Jean
Re: Inspecting stencil
Hello Rip, instead of inspecting the stencil I’d suggest to lookup the function that creates the stencil. For flared hairpins this is flared-hairpin. So get the source code, navigate to the folder scm (which contains all the scheme definitions, grep for flared-hairpin, which you’ll then find in output-lib.scm. Valentin Am Mittwoch, 9. Februar 2022, 09:51:42 CET schrieb Rip _Mus: > Good morning, > I want to create a modified version of the flaired hairpin stencil. > Is It possibile ti inspect the stencil, to aknowledge me about the making > of? > > Thank you > > Rip_mus signature.asc Description: This is a digitally signed message part.
Re: Setting relative pitch as a global declaration?
Hello Alasdair, I don’t think anyone here has a problem with you asking questions. After all this list is for users to help users. And in the Lilypond manual it can be hard to find very specific things. Anyway. What you want to do is very well possible, see this example: test = { c a } \relative c' { c \test } The important think is to have the \relative { } around everything you want to have relative. Maybe you’re only having it for the first variable? Cheers, Valentin Am Mittwoch, 9. Februar 2022, 08:16:37 CET schrieb Alasdair McAndrew: > I'm sorry about all these damn-fool queries of mine; I promise to go back > under my rock soon. Anyway: > In the current 18th century suite I'm typesetting (for two treble > instruments without bass), there is a separate variable (containing the > notes) for each part of each movement. Then there are global declarations > about the instruments, and the key and time-signature of each movement; and > these are all brought together in score blocks. > > The one thing I don't know how to do is to declare the relative pitch > globally. Thus, each music variable looks like > > movement1_part1 = \new Voice \relative c'' { notes, notes, and more notes } > > The difficulty is that I want to re-set the second part for a bass > instrument, so it might start off as > > movement1_part2 = \new Voice \relative c { notes, notes, and more notes } > > Currently this means changing the relative pitch for each movement > individually. It would be much more efficient to be able to do this just > once at the beginning, with an appropriate global declaration. Can this be > done? Is there a way to set the relative pitch of some music in a \global > block? > > (Note, I have indeed RTFM, but it's quite hard - even with the search > function - to find answers to this, or examples of such use. Hence this > message...) > > Thank you, > Alasdair signature.asc Description: This is a digitally signed message part.
Re: LilyPond 2.23.6 released
I can confirm that this is a packaging issue now. I patched the official binary to see the glibc on my system, and it works without any warnings. It's also considerably faster than my own compiled version (4.31s vs. 6.43s on a single file). I suppose I should go on debugging this on my own, but asking for tips, is there any difference in building with Guile 2.2 versus Guile 1.8, except the Guile available on PATH? On Wed, Feb 9, 2022 at 12:56 PM Jonas Hahnfeld wrote: > Am Mittwoch, dem 09.02.2022 um 12:50 +0330 schrieb Omid Mo'menzadeh: > > It works with Guile 2.2, but with a lot of the mentioned warnings. > > The .nix files I attached describe a recipe for building LilyPond, > > and two packages are built in the shell.nix file, so yes, I am > > building both, using the same recipe, but one with Guile 1.8, and one > > with Guile 2.2. Both are using the same FontConfig for sure. > > Thanks for clarifying. > > > The binaries under Nix are not really self-contained, so it would be > > a challenge to create a binary. But I will try to isolate the issue. > > No, that's a misunderstanding. I'm asking if you could try the binaries > that we provide, available for download from > https://gitlab.com/lilypond/lilypond/-/releases/release%252F2.23.6-1 on > your system to see if that works. >
Concatenating LilyPond scores with different staff sizes.
To create a single PDF of a full score and parts it is convenient in Denemo to simply concatenate the LilyPond; something like this: \version "2.22.0" #(set-global-staff-size 20) \markup "First" { c d e} #(set-global-staff-size 10) \markup "Second" {e f g} This runs into the problem that the full score is often needed at a smaller font size and in the above code the last set-global-staff-size is, naturally, the one used for both \score{}s. I realize it may be a long shot, and a bit esoteric, but is there any way something like that could be achieved? (I'm not seeking radically different approaches here as this won't be hand-written). Richard Shann
Re: LilyPond 2.23.6 released
OK, it seems that I have found where the problem is. I built LilyPond against FontConfig 2.13.1, and it works just like the official binary. But the version built against FontConfig 2.13.94 and Guile 2.2 emits the same warning I mentioned. There seems to be some sort of soft incompatibility with FontConfig 2.13.94. On Wed, Feb 9, 2022 at 3:27 PM Omid Mo'menzadeh wrote: > I can confirm that this is a packaging issue now. I patched the official > binary to see the glibc on my system, and it works without any warnings. > It's also considerably faster than my own compiled version (4.31s vs. 6.43s > on a single file). > > I suppose I should go on debugging this on my own, but asking for tips, is > there any difference in building with Guile 2.2 versus Guile 1.8, except > the Guile available on PATH? > > On Wed, Feb 9, 2022 at 12:56 PM Jonas Hahnfeld wrote: > >> Am Mittwoch, dem 09.02.2022 um 12:50 +0330 schrieb Omid Mo'menzadeh: >> > It works with Guile 2.2, but with a lot of the mentioned warnings. >> > The .nix files I attached describe a recipe for building LilyPond, >> > and two packages are built in the shell.nix file, so yes, I am >> > building both, using the same recipe, but one with Guile 1.8, and one >> > with Guile 2.2. Both are using the same FontConfig for sure. >> >> Thanks for clarifying. >> >> > The binaries under Nix are not really self-contained, so it would be >> > a challenge to create a binary. But I will try to isolate the issue. >> >> No, that's a misunderstanding. I'm asking if you could try the binaries >> that we provide, available for download from >> https://gitlab.com/lilypond/lilypond/-/releases/release%252F2.23.6-1 on >> your system to see if that works. >> >
Re: LilyPond 2.23.6 released
Sorry for cluttering the list, but the problem is actually with the way FontConfig 2.13.94 is packaged on NixOS. I'll report it on their Github. Thanks for the amazing work again. On Wed, Feb 9, 2022 at 3:59 PM Omid Mo'menzadeh wrote: > OK, it seems that I have found where the problem is. I built LilyPond > against FontConfig 2.13.1, and it works just like the official binary. But > the version built against FontConfig 2.13.94 and Guile 2.2 emits the same > warning I mentioned. There seems to be some sort of soft incompatibility > with FontConfig 2.13.94. > > On Wed, Feb 9, 2022 at 3:27 PM Omid Mo'menzadeh > wrote: > >> I can confirm that this is a packaging issue now. I patched the official >> binary to see the glibc on my system, and it works without any warnings. >> It's also considerably faster than my own compiled version (4.31s vs. 6.43s >> on a single file). >> >> I suppose I should go on debugging this on my own, but asking for tips, >> is there any difference in building with Guile 2.2 versus Guile 1.8, except >> the Guile available on PATH? >> >> On Wed, Feb 9, 2022 at 12:56 PM Jonas Hahnfeld wrote: >> >>> Am Mittwoch, dem 09.02.2022 um 12:50 +0330 schrieb Omid Mo'menzadeh: >>> > It works with Guile 2.2, but with a lot of the mentioned warnings. >>> > The .nix files I attached describe a recipe for building LilyPond, >>> > and two packages are built in the shell.nix file, so yes, I am >>> > building both, using the same recipe, but one with Guile 1.8, and one >>> > with Guile 2.2. Both are using the same FontConfig for sure. >>> >>> Thanks for clarifying. >>> >>> > The binaries under Nix are not really self-contained, so it would be >>> > a challenge to create a binary. But I will try to isolate the issue. >>> >>> No, that's a misunderstanding. I'm asking if you could try the binaries >>> that we provide, available for download from >>> https://gitlab.com/lilypond/lilypond/-/releases/release%252F2.23.6-1 on >>> your system to see if that works. >>> >>
Re: Concatenating LilyPond scores with different staff sizes.
Hello Richard, I do not like to say such things, but read the docs: http://lilypond.org/doc/v2.23/Documentation/notation/setting-the-staff-size set-global-staff-size is by definition used to set the staffsize globally. For affecting one specific score you want to use layout-set-staff-size. Cheers, Valentin 09.02.2022 13:04:16 Richard Shann : > To create a single PDF of a full score and parts it is convenient in > Denemo to simply concatenate the LilyPond; something like this: > > \version "2.22.0" > #(set-global-staff-size 20) > \markup "First" > { c d e} > #(set-global-staff-size 10) > \markup "Second" > {e f g} > > This runs into the problem that the full score is often needed at a > smaller font size and in the above code the last set-global-staff-size > is, naturally, the one used for both \score{}s. > > I realize it may be a long shot, and a bit esoteric, but is there any > way something like that could be achieved? (I'm not seeking radically > different approaches here as this won't be hand-written). > > Richard Shann
Re: Setting relative pitch as a global declaration?
Jean Abou Samra writes: >> Le 09/02/2022 09:23, Lukas-Fabian Moser a écrit : >> >> - There's no way to globally declare your input mode to be relative > > > Well ... > > > \version "2.22.1" > > #(set! toplevel-music-functions (cons #{ \relative c' \etc #} > toplevel-music-functions)) > > { d e f } > > > Though this might not be considered very clean. The word "atrocity" readily suggests itself. I don't think I have thought of using #{ ... \etc #} as kind of a lambda function created with LilyPond before and/or connecting this to toplevel-music-functions now that the functions in there don't need a "parser" argument anymore. So that is a quite appealing piece of code, just that one would wanted to see its power applied for good. -- David Kastrup
Re: Setting relative pitch as a global declaration?
> Le 09/02/2022 14:43, David Kastrup a écrit : > > > Though this might not be considered very clean. > The word "atrocity" readily suggests itself. > > I don't think I have thought of using #{ ... \etc #} as kind of a lambda > function created with LilyPond before and/or connecting this to > toplevel-music-functions now that the functions in there don't need a > "parser" argument anymore. So that is a quite appealing piece of code, > just that one would wanted to see its power applied for good. Oh, but I have good inspiration for that trick. https://lists.gnu.org/archive/html/lilypond-user/2021-07/msg00135.html
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Valentin -- That's exactly the path I've been trying to no avail. I tracked down that folder but the fonts just aren't being recognized as having been installed. Jean -- I always have a bit of anxiety that I'm missing something obvious when I'm planning on writing to the mailing list and this would appear to be such a situation :). I'll look over that thread (which I see now). Thank you! Best, Jesse On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel wrote: > Hello Jesse, > > I cannot say anything for sure (lacking a mac to try this on), but > theoretically you just need to find the folder homebrew installs the > packages > to (according to the internet /usr/local/Cellar), find the folder for > lilypond > and and put the fonts into share/lilypond/current/fonts/ > > Cheers, > Valentin > > Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener: > > Hi all, > > > > Apologies if this has been covered. I couldn't find anything about it in > > the archives. > > > > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond > > install was done with Homebrew. It all works wonderfully well. > > > > My question is: > > > > Is there some way to install alternate music fonts with this setup? > > Obviously there's no .app package to put the fonts into, which makes me > > think that until we have an official LilyPond.app for recent macOS > > releases, there might be no way around this. > > > > But I wanted to put it to the group. Has anyone found a workaround? > > > > I did try placing font files into the 'share' folder that Homebrew > creates > > but that didn't seem to work. Frescobaldi threw errors. > > > > Thank you! > > > > Best, > > Jesse Wiener > > -- Jesse Wiener
Re: Setting relative pitch as a global declaration?
Jean Abou Samra writes: >> Le 09/02/2022 14:43, David Kastrup a écrit : >> >> > Though this might not be considered very clean. >> The word "atrocity" readily suggests itself. >> >> I don't think I have thought of using #{ ... \etc #} as kind of a lambda >> function created with LilyPond before and/or connecting this to >> toplevel-music-functions now that the functions in there don't need a >> "parser" argument anymore. So that is a quite appealing piece of code, >> just that one would wanted to see its power applied for good. > > > Oh, but I have good inspiration for that trick. > > https://lists.gnu.org/archive/html/lilypond-user/2021-07/msg00135.html I am getting old. \transpose is probably not quite as atrocious to use as \relative, but on the other hand \relative is idempotent so its effect is limited to things that haven't already been turned into absolute music explicitly. We'll call it even. -- David Kastrup
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Hello Jesse, might it be that you are installing the fonts wrongly? The font files should directly go into the otf folder, with no subdirectories or whatever. Valentin 09.02.2022 15:21:37 Jesse Wiener : > Valentin -- That's exactly the path I've been trying to no avail. I tracked > down that folder but the fonts just aren't being recognized as having been > installed. > > Jean -- I always have a bit of anxiety that I'm missing something obvious > when I'm planning on writing to the mailing list and this would appear to be > such a situation :). I'll look over that thread (which I see now). Thank you! > > Best, > Jesse > > On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel wrote: >> Hello Jesse, >> >> I cannot say anything for sure (lacking a mac to try this on), but >> theoretically you just need to find the folder homebrew installs the packages >> to (according to the internet /usr/local/Cellar), find the folder for >> lilypond >> and and put the fonts into share/lilypond/current/fonts/ >> >> Cheers, >> Valentin >> >> Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener: >>> Hi all, >>> >>> Apologies if this has been covered. I couldn't find anything about it in >>> the archives. >>> >>> I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond >>> install was done with Homebrew. It all works wonderfully well. >>> >>> My question is: >>> >>> Is there some way to install alternate music fonts with this setup? >>> Obviously there's no .app package to put the fonts into, which makes me >>> think that until we have an official LilyPond.app for recent macOS >>> releases, there might be no way around this. >>> >>> But I wanted to put it to the group. Has anyone found a workaround? >>> >>> I did try placing font files into the 'share' folder that Homebrew creates >>> but that didn't seem to work. Frescobaldi threw errors. >>> >>> Thank you! >>> >>> Best, >>> Jesse Wiener >> > > > -- > Jesse Wiener
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> Valentin -- That's exactly the path I've been trying to no avail. I > tracked down that folder but the fonts just aren't being recognized > as having been installed. If you call the `lilypond` binary on the command line with ``` lilypond --verbose ``` You can see where LilyPond tries to find fonts and other files. Maybe this helps identify the exact location necessary for installing more music fonts. Werner
Re: Concatenating LilyPond scores with different staff sizes.
On Wed, 2022-02-09 at 13:00 +, Valentin Petzel wrote: > Hello Richard, > > I do not like to say such things, but read the docs: > http://lilypond.org/doc/v2.23/Documentation/notation/setting-the-staff-size > > set-global-staff-size is by definition used to set the staffsize > globally. For affecting one specific score you want to use layout- > set-staff-size. I perhaps should have given details of my experimentations with this. It seems that the terminology here is confusing - the set-global-staff- size is *not* equivalent to layout-set-staff-size on each score block as the following shows: \version "2.22.0" %#(set-global-staff-size 44) \score { \layout { #(layout-set-staff-size 44) } {e f g a}} Commenting and un-commenting the set-global-staff-size shows that they are different, and indeed I'm not quite sure what the use-case is for the layout-set-staff-size, it distorts the placement of clefs/time signatures. I was hoping there might be a set of settings which could be used to do what set-global-staff-size does on each score block... Richard > > Cheers, > Valentin > > 09.02.2022 13:04:16 Richard Shann : > > > To create a single PDF of a full score and parts it is convenient > > in > > Denemo to simply concatenate the LilyPond; something like this: > > > > \version "2.22.0" > > #(set-global-staff-size 20) > > \markup "First" > > { c d e} > > #(set-global-staff-size 10) > > \markup "Second" > > {e f g} > > > > This runs into the problem that the full score is often needed at a > > smaller font size and in the above code the last set-global-staff- > > size > > is, naturally, the one used for both \score{}s. > > > > I realize it may be a long shot, and a bit esoteric, but is there > > any > > way something like that could be achieved? (I'm not seeking > > radically > > different approaches here as this won't be hand-written). > > > > Richard Shann
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Thanks Werner. Looks like it's finding the font in the folder, but then crashing midway through the build. Here are the last few lines of the verbose output. ``` Preprocessing graphical objects... Grob count 1289 [/opt/local/share/lilypond/2.23.1/fonts/otf/beethoven-11.otf CFF name for font beethoven-11 is the same.] [/opt/local/share/lilypond/2.23.1/fonts/otf/beethoven-13.otf CFF name for font beethoven-13 is the same.] [beethoven-13_4.2177734375][1]86953 segmentation fault lilypond --verbose testreed.ly ``` Do I need to change the 00-lilypond-fonts.conf file? Thank you! On Wed, Feb 9, 2022 at 11:01 AM Werner LEMBERG wrote: > > > Valentin -- That's exactly the path I've been trying to no avail. I > > tracked down that folder but the fonts just aren't being recognized > > as having been installed. > > If you call the `lilypond` binary on the command line with > > ``` > lilypond --verbose > ``` > > You can see where LilyPond tries to find fonts and other files. Maybe > this helps identify the exact location necessary for installing more > music fonts. > > > Werner > -- Jesse Wiener
Re: Setting relative pitch as a global declaration?
Hello Jean, hello David, hello Lukas, I think Alasdair does not want to specify relative at toplevel, but he has his voices in multiple consecutive parts, and he wants the whole voice to be relative, instead of each part being separately relative. This can of course simply be done using \relative pitch {\partA \partB ...}. Cheers, Valentin 09.02.2022 15:13:14 Jean Abou Samra : >> Le 09/02/2022 14:43, David Kastrup a écrit : >> >>> Though this might not be considered very clean. >> The word "atrocity" readily suggests itself. >> >> I don't think I have thought of using #{ ... \etc #} as kind of a lambda >> function created with LilyPond before and/or connecting this to >> toplevel-music-functions now that the functions in there don't need a >> "parser" argument anymore. So that is a quite appealing piece of code, >> just that one would wanted to see its power applied for good. > > > Oh, but I have good inspiration for that trick. > > https://lists.gnu.org/archive/html/lilypond-user/2021-07/msg00135.html
Re: Tablature - Parenthesizing Tied Notes
Il giorno dom 6 feb 2022 alle 22:55:36 +0100, Stefan E. Mueller ha scritto: Ties over a line break are parenthesized by default in tablature - I was wondering if one could also have parenthesized tablature notes for ties over a bar line. I cannot really help you, but just offer a tip and maybe someone who know the internals will help you. Perhaps this function in property-init.ly can be adapted to work over a bar line? showSplitTiedTabNotes = { \override TabVoice.TabNoteHead.details.tied-properties.break-visibility = #begin-of-line-visible \override TabVoice.TabNoteHead.details.tied-properties.parenthesize = ##t \override TabVoice.TabNoteHead.details.repeat-tied-properties.note-head-visible = ##t \override TabVoice.TabNoteHead.details.repeat-tied-properties.parenthesize = ##t } Minimal example: mus = \relative c' { \repeat unfold 3 { c4 d e f~ | f2 g~ | g1 | f4 e d c~ \break | } } \score { \new StaffGroup << \new Staff { \clef "treble_8" \mus } \new TabStaff \with { stringTunings = #guitar-tuning } \mus >> \layout { } }
Re: Inspecting stencil
Thank you a lot! I'm trying ti do a flared hairpin with a circled tip (as "dal niente"). Conceptually, I have to use some override. But seems not possibile to achive this combination. Have you an idea about the process? Thank you Il mer 9 feb 2022, 12:17 Valentin Petzel ha scritto: > Hello Rip, > > instead of inspecting the stencil I’d suggest to lookup the function that > creates the stencil. For flared hairpins this is flared-hairpin. So get > the > source code, navigate to the folder scm (which contains all the scheme > definitions, grep for flared-hairpin, which you’ll then find in > output-lib.scm. > > Valentin > > Am Mittwoch, 9. Februar 2022, 09:51:42 CET schrieb Rip _Mus: > > Good morning, > > I want to create a modified version of the flaired hairpin stencil. > > Is It possibile ti inspect the stencil, to aknowledge me about the making > > of? > > > > Thank you > > > > Rip_mus > >
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Hi Valentin, After much trial and error with other things, I really thought I had it figured out when I did it that way. I dragged all the individual otf files into the otf folder so it resembled what was already there -- no subdirectories or anything. I tried compiling both using LilyPond directly and using Frescobaldi to no avail. And there are no useful details in the error message. I just get "Exited with return code 11" in Frescobaldi and "fatal error: failed filed:" and then the file name with no additional detail. I appreciate your time. Thank you! Best, Jesse On Wed, Feb 9, 2022 at 9:27 AM Valentin Petzel wrote: > Hello Jesse, > > might it be that you are installing the fonts wrongly? The font files > should directly go into the otf folder, with no subdirectories or whatever. > > Valentin > > 09.02.2022 15:21:37 Jesse Wiener : > > Valentin -- That's exactly the path I've been trying to no avail. I > tracked down that folder but the fonts just aren't being recognized as > having been installed. > > Jean -- I always have a bit of anxiety that I'm missing something obvious > when I'm planning on writing to the mailing list and this would appear to > be such a situation :). I'll look over that thread (which I see now). Thank > you! > > Best, > Jesse > > On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel > wrote: > >> Hello Jesse, >> >> I cannot say anything for sure (lacking a mac to try this on), but >> theoretically you just need to find the folder homebrew installs the >> packages >> to (according to the internet /usr/local/Cellar), find the folder for >> lilypond >> and and put the fonts into share/lilypond/current/fonts/ >> >> Cheers, >> Valentin >> >> Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener: >> > Hi all, >> > >> > Apologies if this has been covered. I couldn't find anything about it >> in >> > the archives. >> > >> > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond >> > install was done with Homebrew. It all works wonderfully well. >> > >> > My question is: >> > >> > Is there some way to install alternate music fonts with this setup? >> > Obviously there's no .app package to put the fonts into, which makes me >> > think that until we have an official LilyPond.app for recent macOS >> > releases, there might be no way around this. >> > >> > But I wanted to put it to the group. Has anyone found a workaround? >> > >> > I did try placing font files into the 'share' folder that Homebrew >> creates >> > but that didn't seem to work. Frescobaldi threw errors. >> > >> > Thank you! >> > >> > Best, >> > Jesse Wiener >> >> > > -- > Jesse Wiener > > -- Jesse Wiener
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Segmentation fault indicates something seriously wrong in what Lilypond is seeing or doing. I don’t have any more to say than that, but it comes from 55+ years of fighting computers and software for a living. __ Mike Andrews udsd...@gmail.com Amateur Radio Station W5EGO From: lilypond-user on behalf of Jesse Wiener Sent: Wednesday, February 9, 2022 9:31:35 AM To: lilypond-user@gnu.org Subject: Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac Hi Valentin, After much trial and error with other things, I really thought I had it figured out when I did it that way. I dragged all the individual otf files into the otf folder so it resembled what was already there -- no subdirectories or anything. I tried compiling both using LilyPond directly and using Frescobaldi to no avail. And there are no useful details in the error message. I just get "Exited with return code 11" in Frescobaldi and "fatal error: failed filed:" and then the file name with no additional detail. I appreciate your time. Thank you! Best, Jesse On Wed, Feb 9, 2022 at 9:27 AM Valentin Petzel mailto:valen...@petzel.at>> wrote: Hello Jesse, might it be that you are installing the fonts wrongly? The font files should directly go into the otf folder, with no subdirectories or whatever. Valentin 09.02.2022 15:21:37 Jesse Wiener mailto:jesse.wie...@gmail.com>>: Valentin -- That's exactly the path I've been trying to no avail. I tracked down that folder but the fonts just aren't being recognized as having been installed. Jean -- I always have a bit of anxiety that I'm missing something obvious when I'm planning on writing to the mailing list and this would appear to be such a situation :). I'll look over that thread (which I see now). Thank you! Best, Jesse On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel mailto:valen...@petzel.at>> wrote: Hello Jesse, I cannot say anything for sure (lacking a mac to try this on), but theoretically you just need to find the folder homebrew installs the packages to (according to the internet /usr/local/Cellar), find the folder for lilypond and and put the fonts into share/lilypond/current/fonts/ Cheers, Valentin Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener: > Hi all, > > Apologies if this has been covered. I couldn't find anything about it in > the archives. > > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond > install was done with Homebrew. It all works wonderfully well. > > My question is: > > Is there some way to install alternate music fonts with this setup? > Obviously there's no .app package to put the fonts into, which makes me > think that until we have an official LilyPond.app for recent macOS > releases, there might be no way around this. > > But I wanted to put it to the group. Has anyone found a workaround? > > I did try placing font files into the 'share' folder that Homebrew creates > but that didn't seem to work. Frescobaldi threw errors. > > Thank you! > > Best, > Jesse Wiener -- Jesse Wiener -- Jesse Wiener
Re: Inspecting stencil
Le 09/02/2022 à 17:28, Rip _Mus a écrit : Thank you a lot! I'm trying ti do a flared hairpin with a circled tip (as "dal niente"). Conceptually, I have to use some override. But seems not possibile to achive this combination. Have you an idea about the process? Thank you Ah, but other people have already wondered about this. Have a look at the code proposed on https://gitlab.com/lilypond/lilypond/-/issues/3357#note_339786938 which still works in current versions. Best, Jena
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> Looks like it's finding the font in the folder, but then crashing > midway through the build. Here are the last few lines of the verbose > output. > > ``` > Preprocessing graphical objects... > Grob count 1289 > [/opt/local/share/lilypond/2.23.1/fonts/otf/beethoven-11.otf > CFF name for font beethoven-11 is the same.] > [/opt/local/share/lilypond/2.23.1/fonts/otf/beethoven-13.otf > CFF name for font beethoven-13 is the same.] > [beethoven-13_4.2177734375][1]86953 segmentation fault lilypond > --verbose testreed.ly > ``` Oh, oh. A crash should never happen. Please try to reduce your input file as much as possible to get an MWE (minimal working example) that still crashes – maybe it crashes with default LilyPond fonts, too? If you are done please send the input file to the list. If some non-free fonts are necessary to reproduce the problem, don't send them. Instead, whoever is going to have a closer look at the issue will ask you to send the fonts privately for further investigation. Werner
Re: Concatenating LilyPond scores with different staff sizes.
Hey, Richard! On Wed, Feb 9, 2022 at 9:13 AM Richard Shann wrote: > On Wed, 2022-02-09 at 13:00 +, Valentin Petzel wrote: > > Hello Richard, > > > > I do not like to say such things, but read the docs: > > > http://lilypond.org/doc/v2.23/Documentation/notation/setting-the-staff-size > > > > set-global-staff-size is by definition used to set the staffsize > > globally. For affecting one specific score you want to use layout- > > set-staff-size. > > I perhaps should have given details of my experimentations with this. > It seems that the terminology here is confusing - the set-global-staff- > size is *not* equivalent to layout-set-staff-size on each score block > as the following shows: > > \version "2.22.0" > %#(set-global-staff-size 44) > \score { > \layout { > #(layout-set-staff-size 44) > } > {e f g a}} > > Commenting and un-commenting the set-global-staff-size shows that they > are different, and indeed I'm not quite sure what the use-case is for > the layout-set-staff-size, it distorts the placement of clefs/time > signatures. > I was hoping there might be a set of settings which could be used to do > what set-global-staff-size does on each score block... > > Richard > > > > > Cheers, > > Valentin > > > > 09.02.2022 13:04:16 Richard Shann : > > > > > To create a single PDF of a full score and parts it is convenient > > > in > > > Denemo to simply concatenate the LilyPond; something like this: > > > > > > \version "2.22.0" > > > #(set-global-staff-size 20) > > > \markup "First" > > > { c d e} > > > #(set-global-staff-size 10) > > > \markup "Second" > > > {e f g} > > > > > > This runs into the problem that the full score is often needed at a > > > smaller font size and in the above code the last set-global-staff- > > > size > > > is, naturally, the one used for both \score{}s. > > > > > > I realize it may be a long shot, and a bit esoteric, but is there > > > any > > > way something like that could be achieved? (I'm not seeking > > > radically > > > different approaches here as this won't be hand-written). > > > > > > Richard Shann > In my own experimentation, there's no convenient way to get what you want in the same output file. The last call to set-global-staff-size affects the current \book. You can then re-call the command if you explicitly callout another \book after that, but that generates a separate output file for each \book block. I'm not sure why this doesn't work within the same \book. Here's an example that shows what I mean: #(set-global-staff-size 26) \book { \markup "First" \score { \relative { c d e } } } #(set-global-staff-size 14) \book { \markup "Second" \score { \relative { e f g } } } Sorry this isn't exactly what you want, but maybe this will spawn some development to make multiple calls to set-global-staff-size work within the same \book. Best, Abraham
Re: Setting relative pitch as a global declaration?
David Wright writes: > On Wed 09 Feb 2022 at 14:24:14 (+), Valentin Petzel wrote: >> >> I think Alasdair does not want to specify relative at toplevel, but >> he has his voices in multiple consecutive parts, and he wants the >> whole voice to be relative, instead of each part being separately >> relative. This can of course simply be done using \relative pitch >> {\partA \partB ...}. > > I think you've misinterpreted "part" as part of a movement, rather > than part being an instrumental part. > > The OP will want to set the music as: > > movement1_part1 = { notes, notes, and more notes } > movement2_part1 = { notes, notes, and more notes } > movement3_part1 = { notes, notes, and more notes } > > to do what they posted, ie, > > \relative c { \movement1_part1 \movement2_part1 \movement3_part1 } > > This will enable them to set part2 for a high- or low-pitched > instrument with one modification, and without changing the > pitch of part1: > > \relative c' { \movement1_part2 \movement2_part2 \movement3_part2 } > > or > > \relative c, { \movement1_part2 \movement2_part2 \movement3_part2 } I find that a pretty bad idea since changes in \movement1_part1 can shift the octave of movement2_part1 around. I think it makes more sense to do octave shifts via \transpose rather than tieing the internals of one passage to the next passage at a completely different place in the source. -- David Kastrup
Re: Concatenating LilyPond scores with different staff sizes.
On Wed, 2022-02-09 at 09:42 -0700, Abraham Lee wrote: > Hey, Richard! > > On Wed, Feb 9, 2022 at 9:13 AM Richard Shann > wrote: > > On Wed, 2022-02-09 at 13:00 +, Valentin Petzel wrote: > > > Hello Richard, > > > > > > I do not like to say such things, but read the docs: > > > > > http://lilypond.org/doc/v2.23/Documentation/notation/setting-the-staff-size > > > > > > set-global-staff-size is by definition used to set the staffsize > > > globally. For affecting one specific score you want to use > > layout- > > > set-staff-size. > > > > I perhaps should have given details of my experimentations with > > this. > > It seems that the terminology here is confusing - the set-global- > > staff- > > size is *not* equivalent to layout-set-staff-size on each score > > block > > as the following shows: > > > > \version "2.22.0" > > %#(set-global-staff-size 44) > > \score { > > \layout { > > #(layout-set-staff-size 44) > > } > > {e f g a}} > > > > Commenting and un-commenting the set-global-staff-size shows that > > they > > are different, and indeed I'm not quite sure what the use-case is > > for > > the layout-set-staff-size, it distorts the placement of clefs/time > > signatures. > > I was hoping there might be a set of settings which could be used > > to do > > what set-global-staff-size does on each score block... > > > > Richard > > > > > > > > Cheers, > > > Valentin > > > > > > 09.02.2022 13:04:16 Richard Shann : > > > > > > > To create a single PDF of a full score and parts it is > > convenient > > > > in > > > > Denemo to simply concatenate the LilyPond; something like this: > > > > > > > > \version "2.22.0" > > > > #(set-global-staff-size 20) > > > > \markup "First" > > > > { c d e} > > > > #(set-global-staff-size 10) > > > > \markup "Second" > > > > {e f g} > > > > > > > > This runs into the problem that the full score is often needed > > at a > > > > smaller font size and in the above code the last set-global- > > staff- > > > > size > > > > is, naturally, the one used for both \score{}s. > > > > > > > > I realize it may be a long shot, and a bit esoteric, but is > > there > > > > any > > > > way something like that could be achieved? (I'm not seeking > > > > radically > > > > different approaches here as this won't be hand-written). > > > > > > > > Richard Shann > > > > > In my own experimentation, there's no convenient way to get what you > want in the same output file. The last call to set-global-staff-size > affects the current \book. You can then re-call the command if you > explicitly callout another \book after that, but that generates a > separate output file for each \book block. yes, it's quite possible then to concatenate the PDFs with ghostscript but the pagination is wrong. I can't help thinking that there might be a set of individual sizes that set-global-staff-size is affecting which could be separately tweaked at score level. The very fact that the variable set-global- staff-size alters the size of the markup for titles etc indicates that the scope of the variable has drifted away from what was originally intended. And the fact that layout-set-staff-size fails to keep clefs and time signatures behaving properly seems strange too, perhaps there is some further variables that will make them behave... it seems this is a case for a LilyPond guru. Richard
Re: Setting relative pitch as a global declaration?
On Wed 09 Feb 2022 at 14:24:14 (+), Valentin Petzel wrote: > > I think Alasdair does not want to specify relative at toplevel, but he has > his voices in multiple consecutive parts, and he wants the whole voice to be > relative, instead of each part being separately relative. This can of course > simply be done using \relative pitch {\partA \partB ...}. I think you've misinterpreted "part" as part of a movement, rather than part being an instrumental part. The OP will want to set the music as: movement1_part1 = { notes, notes, and more notes } movement2_part1 = { notes, notes, and more notes } movement3_part1 = { notes, notes, and more notes } to do what they posted, ie, \relative c { \movement1_part1 \movement2_part1 \movement3_part1 } This will enable them to set part2 for a high- or low-pitched instrument with one modification, and without changing the pitch of part1: \relative c' { \movement1_part2 \movement2_part2 \movement3_part2 } or \relative c, { \movement1_part2 \movement2_part2 \movement3_part2 } Cheers, David.
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Hello Jesse, On the Mac, to place fonts in the typical location (~/Library/Fonts), you need to modify the /opt/local/etc/fonts/local.conf file. I am using MacPorts, which puts /etc in /opt/local; HomeBrew may place it elsewhere. The modification is as follows: In the section, add *~/Library/Fonts* My local.conf file tejoseph fonts % more local.conf false ~/.lilypond-fonts.cache-2 *~/Library/Fonts* Many thanks, mattfong On Wed, Feb 9, 2022 at 9:07 AM Mike Andrews wrote: > Segmentation fault indicates something seriously wrong in what Lilypond is > seeing or doing. I don’t have any more to say than that, but it comes from > 55+ years of fighting computers and software for a living. > > __ > Mike Andrews > udsd...@gmail.com > Amateur Radio Station W5EGO > -- > *From:* lilypond-user > on behalf of Jesse Wiener > *Sent:* Wednesday, February 9, 2022 9:31:35 AM > *To:* lilypond-user@gnu.org > *Subject:* Re: Installing Alternate Music Fonts with Frescobaldi and > Homebrew Installation on M1 Mac > > Hi Valentin, > > After much trial and error with other things, I really thought I had it > figured out when I did it that way. I dragged all the individual otf files > into the otf folder so it resembled what was already there -- no > subdirectories or anything. > > I tried compiling both using LilyPond directly and using Frescobaldi to no > avail. And there are no useful details in the error message. I just get > "Exited with return code 11" in Frescobaldi and "fatal error: failed > filed:" and then the file name with no additional detail. > > I appreciate your time. Thank you! > > Best, > Jesse > > On Wed, Feb 9, 2022 at 9:27 AM Valentin Petzel wrote: > > Hello Jesse, > > might it be that you are installing the fonts wrongly? The font files > should directly go into the otf folder, with no subdirectories or whatever. > > Valentin > > 09.02.2022 15:21:37 Jesse Wiener : > > Valentin -- That's exactly the path I've been trying to no avail. I > tracked down that folder but the fonts just aren't being recognized as > having been installed. > > Jean -- I always have a bit of anxiety that I'm missing something obvious > when I'm planning on writing to the mailing list and this would appear to > be such a situation :). I'll look over that thread (which I see now). Thank > you! > > Best, > Jesse > > On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel > wrote: > > Hello Jesse, > > I cannot say anything for sure (lacking a mac to try this on), but > theoretically you just need to find the folder homebrew installs the > packages > to (according to the internet /usr/local/Cellar), find the folder for > lilypond > and and put the fonts into share/lilypond/current/fonts/ > > Cheers, > Valentin > > Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener: > > Hi all, > > > > Apologies if this has been covered. I couldn't find anything about it in > > the archives. > > > > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond > > install was done with Homebrew. It all works wonderfully well. > > > > My question is: > > > > Is there some way to install alternate music fonts with this setup? > > Obviously there's no .app package to put the fonts into, which makes me > > think that until we have an official LilyPond.app for recent macOS > > releases, there might be no way around this. > > > > But I wanted to put it to the group. Has anyone found a workaround? > > > > I did try placing font files into the 'share' folder that Homebrew > creates > > but that didn't seem to work. Frescobaldi threw errors. > > > > Thank you! > > > > Best, > > Jesse Wiener > > > > -- > Jesse Wiener > > > > -- > Jesse Wiener >
Re: Tablature - Parenthesizing Tied Notes
Le 06/02/2022 à 22:55, Stefan E. Mueller a écrit : Ties over a line break are parenthesized by default in tablature - I was wondering if one could also have parenthesized tablature notes for ties over a bar line. Thanks for any help. Stefan The default logic is in Tie.after-line-breaking, by default tie::handle-tab-note-head in TabStaff. When the span-start property of TabNoteHead is #t, it remains parenthesized even if it would normally be hidden (this is used by default when the tab note head starts a slur or glissando). You can override the default logic to set it also in the case where the tie spans a bar line. \version "2.22.1" #(use-modules (ice-9 match)) #(define (tie::tab-note-head-parenthesized-after-bar-line grob) (match-let* ((left (ly:spanner-bound grob LEFT)) (right (ly:spanner-bound grob RIGHT)) ((left-bar-number . _) (grob::rhythmic-location left)) ((right-bar-number . _) (grob::rhythmic-location right))) (if (and (grob::has-interface right 'tab-note-head-interface) (not (eqv? left-bar-number right-bar-number))) (ly:grob-set-property! right 'span-start #t)) (tie::handle-tab-note-head grob))) \layout { \context { \TabStaff \override Tie.after-line-breaking = #tie::tab-note-head-parenthesized-after-bar-line } } \new TabStaff { c'2~ 2~ 2~ 2~ \break 2~ 2 } Best, Jean
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Hey Matt, ohh -- I'm going to try this today -- I have the fonts installed on the Mac in the usual way (as well as all the games I'm trying to play to be clever) and I had a feeling something needed to change about the configuration. Werner - I've done just that: The file compiles just fine unless I try to change the font. But I'm hoping Matt's advice works. I'll let you know. Thanks all! Best, Jesse On Wed, Feb 9, 2022 at 12:14 PM Matthew Fong wrote: > Hello Jesse, > > On the Mac, to place fonts in the typical location (~/Library/Fonts), you > need to modify the /opt/local/etc/fonts/local.conf file. > I am using MacPorts, which puts /etc in /opt/local; HomeBrew may place it > elsewhere. > > The modification is as follows: > > In the section, add > > *~/Library/Fonts* > > > My local.conf file > > > tejoseph fonts % more local.conf > > > > > false > > > > > ~/.lilypond-fonts.cache-2 > > *~/Library/Fonts* > > > > Many thanks, > mattfong > > On Wed, Feb 9, 2022 at 9:07 AM Mike Andrews wrote: > >> Segmentation fault indicates something seriously wrong in what Lilypond >> is seeing or doing. I don’t have any more to say than that, but it comes >> from 55+ years of fighting computers and software for a living. >> >> __ >> Mike Andrews >> udsd...@gmail.com >> Amateur Radio Station W5EGO >> -- >> *From:* lilypond-user >> on behalf of Jesse Wiener >> *Sent:* Wednesday, February 9, 2022 9:31:35 AM >> *To:* lilypond-user@gnu.org >> *Subject:* Re: Installing Alternate Music Fonts with Frescobaldi and >> Homebrew Installation on M1 Mac >> >> Hi Valentin, >> >> After much trial and error with other things, I really thought I had it >> figured out when I did it that way. I dragged all the individual otf files >> into the otf folder so it resembled what was already there -- no >> subdirectories or anything. >> >> I tried compiling both using LilyPond directly and using Frescobaldi to >> no avail. And there are no useful details in the error message. I just get >> "Exited with return code 11" in Frescobaldi and "fatal error: failed >> filed:" and then the file name with no additional detail. >> >> I appreciate your time. Thank you! >> >> Best, >> Jesse >> >> On Wed, Feb 9, 2022 at 9:27 AM Valentin Petzel >> wrote: >> >> Hello Jesse, >> >> might it be that you are installing the fonts wrongly? The font files >> should directly go into the otf folder, with no subdirectories or whatever. >> >> Valentin >> >> 09.02.2022 15:21:37 Jesse Wiener : >> >> Valentin -- That's exactly the path I've been trying to no avail. I >> tracked down that folder but the fonts just aren't being recognized as >> having been installed. >> >> Jean -- I always have a bit of anxiety that I'm missing something obvious >> when I'm planning on writing to the mailing list and this would appear to >> be such a situation :). I'll look over that thread (which I see now). Thank >> you! >> >> Best, >> Jesse >> >> On Tue, Feb 8, 2022 at 6:34 PM Valentin Petzel >> wrote: >> >> Hello Jesse, >> >> I cannot say anything for sure (lacking a mac to try this on), but >> theoretically you just need to find the folder homebrew installs the >> packages >> to (according to the internet /usr/local/Cellar), find the folder for >> lilypond >> and and put the fonts into share/lilypond/current/fonts/ >> >> Cheers, >> Valentin >> >> Am Mittwoch, 9. Februar 2022, 00:03:34 CET schrieb Jesse Wiener: >> > Hi all, >> > >> > Apologies if this has been covered. I couldn't find anything about it >> in >> > the archives. >> > >> > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond >> > install was done with Homebrew. It all works wonderfully well. >> > >> > My question is: >> > >> > Is there some way to install alternate music fonts with this setup? >> > Obviously there's no .app package to put the fonts into, which makes me >> > think that until we have an official LilyPond.app for recent macOS >> > releases, there might be no way around this. >> > >> > But I wanted to put it to the group. Has anyone found a workaround? >> > >> > I did try placing font files into the 'share' folder that Homebrew >> creates >> > but that didn't seem to work. Frescobaldi threw errors. >> > >> > Thank you! >> > >> > Best, >> > Jesse Wiener >> >> >> >> -- >> Jesse Wiener >> >> >> >> -- >> Jesse Wiener >> > -- Jesse Wiener
Re: Setting relative pitch as a global declaration?
Maybe this does what you want? \version "2.22.1" ref = c' %ref = c << \new Staff \relative \ref { g'4 a b c } \new Staff \relative \ref { c4 d e f } >> On 09/02/2022 07:16, Alasdair McAndrew wrote: I'm sorry about all these damn-fool queries of mine; I promise to go back under my rock soon. Anyway: In the current 18th century suite I'm typesetting (for two treble instruments without bass), there is a separate variable (containing the notes) for each part of each movement. Then there are global declarations about the instruments, and the key and time-signature of each movement; and these are all brought together in score blocks. The one thing I don't know how to do is to declare the relative pitch globally. Thus, each music variable looks like movement1_part1 = \new Voice \relative c'' { notes, notes, and more notes } The difficulty is that I want to re-set the second part for a bass instrument, so it might start off as movement1_part2 = \new Voice \relative c { notes, notes, and more notes } Currently this means changing the relative pitch for each movement individually. It would be much more efficient to be able to do this just once at the beginning, with an appropriate global declaration. Can this be done? Is there a way to set the relative pitch of some music in a \global block? (Note, I have indeed RTFM, but it's quite hard - even with the search function - to find answers to this, or examples of such use. Hence this message...) Thank you, Alasdair -- Timothy Lanfear, Bristol, UK.
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Hey Hans, Yeah - I tried installing them using FontBook before I did anything else. No dice. Matt - unfortunately, creating local.conf file in the Font folder didn't do it either. I know lilypond is looking at the shared lilypond fonts folder because when I try to refer to a font that's not in there, the error I get is that the font isn't there. If I try to use the one I've been testing that *is* in the folder, I get the seg fault & crash. So it's seeing the font - I feel like something else must be going on. Thank you! Best, Jesse On Wed, Feb 9, 2022 at 2:04 PM Hans Åberg wrote: > > > On 9 Feb 2022, at 00:03, Jesse Wiener wrote: > > > > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond > install was done with Homebrew. It all works wonderfully well. > > > > My question is: > > > > Is there some way to install alternate music fonts with this setup? > > I think just installing them as system fonts should work. Open the Font > Book app and drop them there (or put them in /Library/Fonts/ say from the > Finder). > > -- Jesse Wiener
Re: Setting relative pitch as a global declaration?
On Wed 09 Feb 2022 at 18:52:52 (+0100), David Kastrup wrote: > David Wright writes: > > On Wed 09 Feb 2022 at 14:24:14 (+), Valentin Petzel wrote: > >> > >> I think Alasdair does not want to specify relative at toplevel, but > >> he has his voices in multiple consecutive parts, and he wants the > >> whole voice to be relative, instead of each part being separately > >> relative. This can of course simply be done using \relative pitch > >> {\partA \partB ...}. > > > > I think you've misinterpreted "part" as part of a movement, rather > > than part being an instrumental part. > > > > The OP will want to set the music as: > > > > movement1_part1 = { notes, notes, and more notes } > > movement2_part1 = { notes, notes, and more notes } > > movement3_part1 = { notes, notes, and more notes } > > > > to do what they posted, ie, > > > > \relative c { \movement1_part1 \movement2_part1 \movement3_part1 } > > > > This will enable them to set part2 for a high- or low-pitched > > instrument with one modification, and without changing the > > pitch of part1: > > > > \relative c' { \movement1_part2 \movement2_part2 \movement3_part2 } > > > > or > > > > \relative c, { \movement1_part2 \movement2_part2 \movement3_part2 } > > I find that a pretty bad idea since changes in \movement1_part1 can > shift the octave of movement2_part1 around. I think it makes more sense > to do octave shifts via \transpose rather than tieing the internals of > one passage to the next passage at a completely different place in the > source. I agree entirely. And being a non-schemer, if I wanted to do what the OP does, I would likely use an external method to achieve it (like awk/sed). I've never transposed a single part, but I do, for example, have an automatic system for transposing Anglican chants into keys that fit into a sequence. That's straightforward, of course, just changing \score { \transpose f f \new ChoirStaff << … >> }. So my post wasn't an idea for an implementation, but a more extended illustration of what the OP's meaning of "part" (as in partbook, or instrumental parts) implies. The OP is welcome to confirm or correct this. Cheers, David.
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> On 9 Feb 2022, at 00:03, Jesse Wiener wrote: > > I have an M1 mac running Monterey. I use Frescobaldi and my LilyPond install > was done with Homebrew. It all works wonderfully well. > > My question is: > > Is there some way to install alternate music fonts with this setup? I think just installing them as system fonts should work. Open the Font Book app and drop them there (or put them in /Library/Fonts/ say from the Finder).
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Werner -- this is on a mac, FYI. On Wed, Feb 9, 2022 at 2:37 PM Werner LEMBERG wrote: > > > Werner - I've done just that: The file compiles just fine unless I > > try to change the font. [...] > > This very much smells like a bug in LilyPond's font handling, probably > specific to the Windows platform (otherwise we would have seen from > Abrahan, the author of the Beethoven fonts0. It might be a problem in > LilyPond itself or in one of the used libraries. > > Jonas, do you have any idea how to let Jesse create a backtrace > easily? > > > Werner > -- Jesse Wiener
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
>> Werner - I've done just that: The file compiles just fine unless I >> try to change the font. [...] > > This very much smells like a bug in LilyPond's font handling, > probably specific to the Windows platform (otherwise we would have > seen from Abrahan, the author of the Beethoven fonts0. It might be > a problem in LilyPond itself or in one of the used libraries. > > Jonas, do you have any idea how to let Jesse create a backtrace > easily? Doh, not Windows but Mac, of course. Werner
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
I figured it was a typo. Just wanted to be sure everyone's on the same page. Thanks so much for the help!! On Wed, Feb 9, 2022 at 2:49 PM Werner LEMBERG wrote: > > >> Werner - I've done just that: The file compiles just fine unless I > >> try to change the font. [...] > > > > This very much smells like a bug in LilyPond's font handling, > > probably specific to the Windows platform (otherwise we would have > > seen from Abrahan, the author of the Beethoven fonts0. It might be > > a problem in LilyPond itself or in one of the used libraries. > > > > Jonas, do you have any idea how to let Jesse create a backtrace > > easily? > > Doh, not Windows but Mac, of course. > > > Werner > -- Jesse Wiener
Re: LilyPond 2.23.6 released
Am Mittwoch, dem 09.02.2022 um 09:23 +0100 schrieb Mats Bengtsson: > Googling around a bit, I foundhttps://www.tenforums.com/general- > support/177551-how-do-i-preserve-original-folder-file-timestamp-zip- > file.html, which explains how to unblock the extra security "feature" > in Explorer that's behind these problems. Hell, what?! This also explains why it works for me, I copy the zip archive via a USB stick, to test it even before I upload it... > Unfortunately, doing so requires admin rights on the machine, so for > users with a locked machine that don't have 7-Zip installed it seems > difficult to keep the file modification times when extracting the > Zip. Fortunately, there's an easy workaround for this issue: We don't care for the exact timestamps, all we need is that .go files are newer than their .scm sources. We can trick Windows into creating this situation by putting the .go files *after* the .scm files (right now things are sorted, so lib/ goes before share/). I found and used this solution in the "old" proof-of-concept, but thought it wasn't needed with the current way of creating the archive. Little did I know that Windows treats files copied from USB sticks differently than downloaded files from the internet... > On the other hand, the previous installers can't be installed without > admin rights either, so the new Zip distribution is at least a step > in the right direction for Win users without admin rights Yes, this is one of the motivations *not* to use an installer. It also makes having multiple versions and removal of old versions no-brainers 🙂 Jonas signature.asc Description: This is a digitally signed message part
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
I'm a liar -- I don't think this makes much of a difference, but this install is via *MacPorts*, not HomeBrew. On Wed, Feb 9, 2022 at 2:53 PM Jesse Wiener wrote: > I figured it was a typo. Just wanted to be sure everyone's on the same > page. > > Thanks so much for the help!! > > On Wed, Feb 9, 2022 at 2:49 PM Werner LEMBERG wrote: > >> >> >> Werner - I've done just that: The file compiles just fine unless I >> >> try to change the font. [...] >> > >> > This very much smells like a bug in LilyPond's font handling, >> > probably specific to the Windows platform (otherwise we would have >> > seen from Abrahan, the author of the Beethoven fonts0. It might be >> > a problem in LilyPond itself or in one of the used libraries. >> > >> > Jonas, do you have any idea how to let Jesse create a backtrace >> > easily? >> >> Doh, not Windows but Mac, of course. >> >> >> Werner >> > > > -- > Jesse Wiener > -- Jesse Wiener
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> Werner - I've done just that: The file compiles just fine unless I > try to change the font. [...] This very much smells like a bug in LilyPond's font handling, probably specific to the Windows platform (otherwise we would have seen from Abrahan, the author of the Beethoven fonts0. It might be a problem in LilyPond itself or in one of the used libraries. Jonas, do you have any idea how to let Jesse create a backtrace easily? Werner
Re: LilyPond 2.23.6 released
Am Mittwoch, dem 09.02.2022 um 12:07 +0800 schrieb Jinsong Zhao: > Hello developers, > > Thanks a lot for the transition towards Guile 2.2. I've switched to > 2.23.6/guile 2.2 on Windows 10. > > The only issue I have currently encountered is when the filename is in > Chines, for example "中文.ly", then lilypond could not generate PDF > file. It could generate corrected "中文.midi", and also could generate > correct ps and svg file, but the filenames are unreadable characters. I can confirm it's not working with the version using Guile 2.2 - however I remember that I tested this in the past and made it work, after fixing something in the LilyPond code. I'll have to dig up details and figure out what broke / changed... signature.asc Description: This is a digitally signed message part
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> On 9 Feb 2022, at 20:12, Jesse Wiener wrote: > > Yeah - I tried installing them using FontBook before I did anything else. No > dice. I use LilyPond 2.23.6, MacPorts version on Intel, MacOS 12.2, and it worked right now with SMuFl and the font Bravura.otf. I can send you the sample. I get the warning below repeated a number of times; It would be good if somebody could explain. % lilypond test-e53smufl.ly GNU LilyPond 2.23.6 (running Guile 1.8) Processing `test-e53smufl.ly' Parsing... Interpreting music... warning: cannot find property type-check for `glyph-name-alist' (backend-type?). perhaps a typing error? warning: skipping assignment …
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Le 09/02/2022 à 21:23, Hans Åberg a écrit : I get the warning below repeated a number of times; It would be good if somebody could explain. % lilypond test-e53smufl.ly GNU LilyPond 2.23.6 (running Guile 1.8) Processing `test-e53smufl.ly' Parsing... Interpreting music... warning: cannot find property type-check for `glyph-name-alist' (backend-type?). perhaps a typing error? warning: skipping assignment … You need to run convert-ly on the file that is using the glyph-name-alist property. Regards, Jean
Re: LilyPond 2.23.6 released
Jonas Hahnfeld via LilyPond user discussion writes: > Am Mittwoch, dem 09.02.2022 um 09:23 +0100 schrieb Mats Bengtsson: > >> On the other hand, the previous installers can't be installed without >> admin rights either, so the new Zip distribution is at least a step >> in the right direction for Win users without admin rights > > Yes, this is one of the motivations *not* to use an installer. It also > makes having multiple versions and removal of old versions no-brainers > 🙂 One of the selling points of Frescobaldi is that it can entertain multiple installed versions of LilyPond. -- David Kastrup
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> On 9 Feb 2022, at 21:28, Jean Abou Samra wrote: > > Le 09/02/2022 à 21:23, Hans Åberg a écrit : >> I get the warning below repeated a number of times; It would be good if >> somebody could explain. >> % lilypond test-e53smufl.ly >> GNU LilyPond 2.23.6 (running Guile 1.8) >> Processing `test-e53smufl.ly' >> Parsing... >> Interpreting music... >> warning: cannot find property type-check for `glyph-name-alist' >> (backend-type?). perhaps a typing error? >> warning: skipping assignment >> … > > You need to run convert-ly on the file that is using > the glyph-name-alist property. Thanks, it helped. The nee name is alteration-glyph-name-alist.
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
I'll update LilyPond via MacPorts and see what I find. Also, I acknowledge that I need to get better about quoting previous emails. It's been a long long time since I was an active participant in a mailing list. On Wed, Feb 9, 2022 at 3:36 PM Hans Åberg wrote: > > > On 9 Feb 2022, at 21:28, Jean Abou Samra wrote: > > > > Le 09/02/2022 à 21:23, Hans Åberg a écrit : > >> I get the warning below repeated a number of times; It would be good if > somebody could explain. > >> % lilypond test-e53smufl.ly > >> GNU LilyPond 2.23.6 (running Guile 1.8) > >> Processing `test-e53smufl.ly' > >> Parsing... > >> Interpreting music... > >> warning: cannot find property type-check for `glyph-name-alist' > (backend-type?). perhaps a typing error? > >> warning: skipping assignment > >> … > > > > You need to run convert-ly on the file that is using > > the glyph-name-alist property. > > Thanks, it helped. The nee name is alteration-glyph-name-alist. > > > -- Jesse Wiener
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> On 9 Feb 2022, at 21:51, Jesse Wiener wrote: > > I'll update LilyPond via MacPorts and see what I find. Also, I acknowledge > that I need to get better about quoting previous emails. It's been a long > long time since I was an active participant in a mailing list. Indeed, if it prevails with the MacPOrts version, it might be the architecture.
Re: LilyPond 2.23.6 released
Am Mittwoch, dem 09.02.2022 um 21:35 +0100 schrieb David Kastrup: > Jonas Hahnfeld via LilyPond user discussion > writes: > > > Am Mittwoch, dem 09.02.2022 um 09:23 +0100 schrieb Mats Bengtsson: > > > > > On the other hand, the previous installers can't be installed without > > > admin rights either, so the new Zip distribution is at least a step > > > in the right direction for Win users without admin rights > > > > Yes, this is one of the motivations *not* to use an installer. It also > > makes having multiple versions and removal of old versions no-brainers > > 🙂 > > One of the selling points of Frescobaldi is that it can entertain > multiple installed versions of LilyPond. Yes, if you manage to install them. IIRC the Windows installer proposes to uninstall previous versions of LilyPond. You can specify a versioned directory for installation, but that's a manual step that the majority of users probably won't take. signature.asc Description: This is a digitally signed message part
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Ok in 2.23.6, it works! I have to put the font into the share/lilypond/2.23.6/fonts/otf folder but the font does change and I don't get the seg fault. However... unfortunately... Edition Engraver does not work with 2.23.6, so I'm kinda back to square one on the main file (I've been experimenting with a test file). That being said, I'm going to see if there is an intervening version that works with both. Fingers crossed! On Wed, Feb 9, 2022 at 4:07 PM Hans Åberg wrote: > > > On 9 Feb 2022, at 21:51, Jesse Wiener wrote: > > > > I'll update LilyPond via MacPorts and see what I find. Also, I > acknowledge that I need to get better about quoting previous emails. It's > been a long long time since I was an active participant in a mailing list. > > Indeed, if it prevails with the MacPOrts version, it might be the > architecture. > > > -- Jesse Wiener
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Le 09/02/2022 à 22:25, Jesse Wiener a écrit : Ok in 2.23.6, it works! I have to put the font into the share/lilypond/2.23.6/fonts/otf folder but the font does change and I don't get the seg fault. What 2.23.6? The difference could from whether you install via the official binaries or install via MacPorts and what Guile version you have if you chose the official 2.23.6 installers.
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> > What 2.23.6? I just updated to the latest version in MacPorts on the 'lilypond-devel' port. The difference could from whether you install via the > official binaries or install via MacPorts and what Guile version you > have if you chose the official 2.23.6 installers. > I haven't had time to *really* focus on this and I don't want to break everything so what I would like to do is eliminate the MacPorts install and do the official install with the 1.8 version of Guile (I'm guessing Guile 2.2 is what's breaking the scheme functions in Edition Engraver). But until I have time to focus on it, I don't want to go down that road. On Wed, Feb 9, 2022 at 4:27 PM Jean Abou Samra wrote: > > > Le 09/02/2022 à 22:25, Jesse Wiener a écrit : > > Ok in 2.23.6, it works! I have to put the font into the > > share/lilypond/2.23.6/fonts/otf folder but the font does change and I > > don't get the seg fault. > > > What 2.23.6? The difference could from whether you install via the > official binaries or install via MacPorts and what Guile version you > have if you chose the official 2.23.6 installers. > > > -- Jesse Wiener
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
Le 09/02/2022 à 22:33, Jesse Wiener a écrit : I haven't had time to /really/ focus on this and I don't want to break everything so what I would like to do is eliminate the MacPorts install and do the official install with the 1.8 version of Guile (I'm guessing Guile 2.2 is what's breaking the scheme functions in Edition Engraver). But until I have time to focus on it, I don't want to go down that road. As far as I can see from quick tests, the Edition Engraver would need a few updates for current development versions that are not related to Guile 2. Jean
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> > As far as I can see from quick tests, the Edition Engraver would need a > few updates for current development versions that are not related to > Guile 2. Agreed. Looks like the MacPorts version uses Guile 1.8 so that wasn't it anyway. Looks like I need to stick to my stock fonts until I can spend a day on this. On Wed, Feb 9, 2022 at 4:51 PM Jean Abou Samra wrote: > Le 09/02/2022 à 22:33, Jesse Wiener a écrit : > > I haven't had time to /really/ focus on this and I don't want to break > > everything so what I would like to do is eliminate the MacPorts > > install and do the official install with the 1.8 version of Guile (I'm > > guessing Guile 2.2 is what's breaking the scheme functions in Edition > > Engraver). But until I have time to focus on it, I don't want to go > > down that road. > > > As far as I can see from quick tests, the Edition Engraver would need a > few updates for current development versions that are not related to > Guile 2. > > Jean > > -- Jesse Wiener
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> On 9 Feb 2022, at 22:25, Jesse Wiener wrote: > > Ok in 2.23.6, it works! I have to put the font into the > share/lilypond/2.23.6/fonts/otf folder but the font does change and I don't > get the seg fault. I think I used something like that at first with the 32-bit app, but then one has to put them in again when upgrading, so I switched to put them in as system fonts. It does not work in ~/Library/Fonts/ though, so one has to make sure they are under the "Computer" heading in the Font Book app, or /Library/Fonts/.
Re: Installing Alternate Music Fonts with Frescobaldi and Homebrew Installation on M1 Mac
> > It does not work in ~/Library/Fonts/ though, so one has to make sure they > are under the "Computer" heading in the Font Book app, or /Library/Fonts/. O that would explain it (at least that aspect). They're totally in the ~/Library and not the /Library. Let me see if that changes anything. On Wed, Feb 9, 2022 at 5:16 PM Hans Åberg wrote: > > > On 9 Feb 2022, at 22:25, Jesse Wiener wrote: > > > > Ok in 2.23.6, it works! I have to put the font into the > share/lilypond/2.23.6/fonts/otf folder but the font does change and I don't > get the seg fault. > > I think I used something like that at first with the 32-bit app, but then > one has to put them in again when upgrading, so I switched to put them in > as system fonts. It does not work in ~/Library/Fonts/ though, so one has to > make sure they are under the "Computer" heading in the Font Book app, or > /Library/Fonts/. > > > -- Jesse Wiener
Re: Setting relative pitch as a global declaration?
Thank you all so much for your help and advice. Given that there might have been some confusion about what I was asking, I've added below a sort of template of what I'm doing. Note that this is a duet, and the notes for the first part (first instrument) are given as variables *_one; and for the second part (second instrument) as *_two. The use of the "french" clef is just to check with the original - they will be changed to "\clef treble" before final typesetting. What I want to do is to produce a version of this where the second part is taken by a bass instrument. This will require two things: first a change of the \global_two decoration, and second a change of relative pitch in its music. There are 8 movements, which would mean - in my example - changing the relative pitch for each variable containing music for this second part. Given that I like to separate the notes from the movement and instrument descriptions, I was hoping that this could be done "in one go" as it were. I was wondering if it would be possible to define one's own version of \Voice in such a way that included a relative pitch - maybe using a Scheme function. Anyway, I shall read all your messages with greater focus later today. Again, many thanks. Alasdair -- global_one = { \set Staff.instrumentName = #"Recorder" \override Staff.InstrumentName.self-alignment-X = #RIGHT \set Staff.midiInstrument = #"recorder" \clef french } global_two = { \set Staff.instrumentName = #"Recorder" \override Staff.InstrumentName.self-alignment-X = #RIGHT \set Staff.midiInstrument = #"recorder" \clef french } global_prelude = { \time 4/4 \key c \major } global_menuet = { \time 3/4 \key c \minor } prelude_one = \new Voice \relative c'' { notes notes notes } prelude_two = \new Voice \relative c'' { notes notes notes } menuet_one = \new Voice \relative c'' { notes notes notes } menuet_two = \new Voice \relative c'' { notes notes notes } \score { \new StaffGroup << \new Staff << \global \global_one \global_prelude \prelude_one >> \new Staff << \global \global_two \global_prelude \prelude_two >> >> \layout { } \header{ piece = \markup {\fontsize #2 {Prelude}} } \midi { \tempo 4 = 144} } \score { \new StaffGroup << \new Staff << \global \global_one \global_menuet \menuet_one >> \new Staff << \global \global_two \global_menuet \menuet_two >> >> \layout { } \header{ piece = \markup {\fontsize #2 {Menuet}} } \midi { \tempo 4 = 144} } On Wed, Feb 9, 2022 at 6:16 PM Alasdair McAndrew wrote: > I'm sorry about all these damn-fool queries of mine; I promise to go back > under my rock soon. Anyway: > In the current 18th century suite I'm typesetting (for two treble > instruments without bass), there is a separate variable (containing the > notes) for each part of each movement. Then there are global declarations > about the instruments, and the key and time-signature of each movement; > and > these are all brought together in score blocks. > > The one thing I don't know how to do is to declare the relative pitch > globally. Thus, each music variable looks like > > movement1_part1 = \new Voice \relative c'' { notes, notes, and more notes } > > The difficulty is that I want to re-set the second part for a bass > instrument, so it might start off as > > movement1_part2 = \new Voice \relative c { notes, notes, and more notes } > > Currently this means changing the relative pitch for each movement > individually. It would be much more efficient to be able to do this just > once at the beginning, with an appropriate global declaration. Can this > be > done? Is there a way to set the relative pitch of some music in a \global > block? > > (Note, I have indeed RTFM, but it's quite hard - even with the search > function - to find answers to this, or examples of such use. Hence this > message...) > > Thank you, > Alasdair > -- > 0432 854 858 > https://numbersandshapes.net > -- Alasdair McAndrew mob: 0432 854 858 https://numbersandshapes.net
Add text to score without affecting spacing
Hello, I am trying to get some debug text into the output of a score. This text should not at all affect spacing but just mark specific rhythmic position in the score. Is there any reasonable way of doing this? I know there are some debugging outputs that do this, but do we have any proper interface for doing this with arbitrary texts? Cheers, Valentin signature.asc Description: This is a digitally signed message part.
Re: Add text to score without affecting spacing
Hi Valentin, > I am trying to get some debug text into the output of a score. This text > should not at all affect spacing but just mark specific rhythmic position in > the > score. Is there any reasonable way of doing this? \markup \with-dimensions-from \null "foobar" Hope that helps! Kieren.
Re: Add text to score without affecting spacing
Hi Kieren, thank you. Yes, currently I am using some tweaked Rehearsal Marks mit 0- dimensions and some tweaks. Just asking if there was a better way. Cheers, Valentin Am Donnerstag, 10. Februar 2022, 01:08:29 CET schrieb Kieren MacMillan: > Hi Valentin, > > > I am trying to get some debug text into the output of a score. This text > > should not at all affect spacing but just mark specific rhythmic position > > in the score. Is there any reasonable way of doing this? > > \markup \with-dimensions-from \null "foobar" > > Hope that helps! > Kieren. signature.asc Description: This is a digitally signed message part.
Re: Add text to score without affecting spacing
On 2022-02-09 4:12 pm, Valentin Petzel wrote: Hi Kieren, thank you. Yes, currently I am using some tweaked Rehearsal Marks mit 0- dimensions and some tweaks. Just asking if there was a better way. There are a number of grobs that normally have no visual representation. You could attach your content there: \version "2.22.0" overlayText = #(define-music-function (grob-path text) (key-list? markup?) (define (print-with-point-outline grob) (ly:stencil-outline (ly:text-interface::print grob) point-stencil)) (define (proc grob . args) (ly:grob-set-property! grob 'font-size -6) (ly:grob-set-property! grob 'layer 1000) (ly:grob-set-property! grob 'stencil print-with-point-outline) (ly:grob-set-property! grob 'text text)) #{ \applyOutput $grob-path #proc #}) { b'4 \overlayText Score.PaperColumn \markup \general-align #Y #UP "Lorem" 4 \overlayText Score.NoteColumn \markup \vcenter \whiteout \box "Ipsum" 2 } -- Aaron Hill
Re: LilyPond 2.23.6 released
On Wed, Feb 9, 2022 at 1:19 PM Jonas Hahnfeld via LilyPond user discussion < lilypond-user@gnu.org> wrote: > Am Mittwoch, dem 09.02.2022 um 21:35 +0100 schrieb David Kastrup: > > Jonas Hahnfeld via LilyPond user discussion > > writes: > > > > > Am Mittwoch, dem 09.02.2022 um 09:23 +0100 schrieb Mats Bengtsson: > > > > > > > On the other hand, the previous installers can't be installed without > > > > admin rights either, so the new Zip distribution is at least a step > > > > in the right direction for Win users without admin rights > > > > > > Yes, this is one of the motivations *not* to use an installer. It also > > > makes having multiple versions and removal of old versions no-brainers > > > 🙂 > > > > One of the selling points of Frescobaldi is that it can entertain > > multiple installed versions of LilyPond. > > Yes, if you manage to install them. IIRC the Windows installer proposes > to uninstall previous versions of LilyPond. You can specify a versioned > directory for installation, but that's a manual step that the majority > of users probably won't take. > Hmm. . . I actually hadn't considered that. What I have done is to rename the current directory to , then install the new LilyPond version. If I ever have to use the older version, I can simply rename directories and get Frescobaldi to recognize the version I'm switching to. Hope that's understandable! All the best, Ralph -- Ralph Palmer Seattle USA (he, him, his) palmer.r.vio...@gmail.com
Re: edition engraver problems (was: Installing Alternate Music Fonts)
Le 10/02/2022 à 08:25, Werner LEMBERG a écrit : Alas, Urs is out of the game currently for various reasons; it alsoseems that Jan-Peter has no time either for the edition engraverproject. If you have a set of patches to fix those issues please file a pull request – maybe Urs or Jan-Peter finds time to handle that, or maybe they can even give you write access. I don't, I just compiled on of the test files in the repository and looked at the first issues that surfaced. I currently have way too much on my plate to hack on the edition engraver, sorry. Jean