Re: Removing (or not) empty staves

2023-01-17 Thread Xavier Scheuer
On Wed, 18 Jan 2023 at 04:12, Ralph Palmer wrote: > > Hi - > > Thanks for all your work, for helping users, and for LilyPond itself. I've been using LilyPond and Frescobaldi for a long time, mostly on Linux/Ubuntu. > > I'm currently running LilyPond 2.24.0 and Frescobaldi 3.2 on Linux/Ubuntu. > >

Re: irrational meters

2023-01-17 Thread David Nalesnik
On Tue, Jan 17, 2023 at 6:47 PM H. S. Teoh via LilyPond user discussion < lilypond-user@gnu.org> wrote: > On Tue, Jan 17, 2023 at 07:08:41PM -0500, David Zelinsky wrote: > > Kieren MacMillan writes: > > > > > Hi Silvain, > > > > > >> I wonder about the term “irrational” meter. Should not we say

Re: irrational meters

2023-01-17 Thread David Zelinsky
Jean Abou Samra writes: > Le 18/01/2023 à 01:29, David Zelinsky a écrit : >> No, it's really not quirky. A "rational" number is a ratio of two >> integers. An irrational number is one that cannot be so expressed. The >> word "ratio" comes from Latin for calculation. The common english usage

Re: Spontini-Editor 1.20 released

2023-01-17 Thread Paolo Prete
There is an executable for Linux too. Download it here: Spontini-Editor-1.20_alfa-linux_x86_64.tar.gz then click on SpontiniServer (_not_ SpontiniServer.py) and the program runs without

Re: Spontini-Editor 1.20 released

2023-01-17 Thread Knute Snortum
On Mon, Jan 16, 2023 at 10:07 AM Paolo Prete wrote: > You just have to run the executable, not the .py file. But I'm on Linux. -- Knute Snortum

Re: irrational meters

2023-01-17 Thread Saul Tobin
Doesn't "Night Fantasies" by Elliott Carter use an extremely obscure structural polyrhythm? Not an actual irrational meter but similar idea. On Tue, Jan 17, 2023 at 4:47 PM H. S. Teoh via LilyPond user discussion < lilypond-user@gnu.org> wrote: > On Tue, Jan 17, 2023 at 07:08:41PM -0500, David

Re: irrational meters

2023-01-17 Thread H. S. Teoh
On Tue, Jan 17, 2023 at 07:08:41PM -0500, David Zelinsky wrote: > Kieren MacMillan writes: > > > Hi Silvain, > > > >> I wonder about the term “irrational” meter. Should not we say > >> “irregular” ?? as in mathematics, an irrational number is a number > >> which cannot be represented as a

Re: irrational meters

2023-01-17 Thread Jean Abou Samra
Le 18/01/2023 à 01:29, David Zelinsky a écrit : No, it's really not quirky. A "rational" number is a ratio of two integers. An irrational number is one that cannot be so expressed. The word "ratio" comes from Latin for calculation. The common english usage of "rational" meaning sensible

Re: irrational meters

2023-01-17 Thread David Zelinsky
Jean Abou Samra writes: > Le 18/01/2023 à 01:08, David Zelinsky a écrit : >> As another professional number theorist and musician (though not a >> composer), I also find this use of "irrational" to mean "non-dyadic" >> very grating. But I once said as much on the Music Engraving Tips >>

Re: irrational meters

2023-01-17 Thread Jean Abou Samra
Le 18/01/2023 à 01:08, David Zelinsky a écrit : As another professional number theorist and musician (though not a composer), I also find this use of "irrational" to mean "non-dyadic" very grating. But I once said as much on the Music Engraving Tips facebook group, and got summarily shot down

Re: irrational meters

2023-01-17 Thread David Zelinsky
Kieren MacMillan writes: > Hi Silvain, > >> I wonder about the term “irrational” meter. Should not we say “irregular” ?? >> as in mathematics, an irrational number is a number which cannot be >> represented as a fraction... > > As both a published composer *and* a published number theorist, I >

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Graham King
Thanks William, that's very useful. and thanks to everyone who has helped out tonight. The lilypond community is truly a great advert for our species. -- Graham > On 17 Jan 2023, at 21:27, William Rehwinkel > wrote: > > Dear Graham, > > This can actually be solved with layers. You can

Re: Help understanding event listeners

2023-01-17 Thread Saul Tobin
Yeah, I played around with it a bit more and discovered the same thing. So the autoTransposeEngraver is listening to the event, and it's transposing the pitch-alist, but the Key_engraver is still actually engraving the untransposed version. A slightly different problem than what I initially

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread William Rehwinkel
Dear Graham, This can actually be solved with layers. You can configure which glyphs will be drawn after each other, so that the whiteout does not infringe on them. You could do a little bit like the following: -William \version "2.24.0" \new PianoStaff << \new Staff \with { } { s1 s1

Re: Help understanding event listeners

2023-01-17 Thread Jean Abou Samra
Le 17/01/2023 à 10:10, Saul Tobin a écrit : What I can't figure out is why when my autoKeysigEngraver broadcasts a KeyChangeEvent, it gets picked up by the Key_engraver but not by the autoTransposeEngraver. What do you mean? If I insert ly:message calls, I see the event from

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Graham King
On 2023-01-17 20:52, Graham King wrote: On 2023-01-17 20:06, Lukas-Fabian Moser wrote: Hi, As a secondary question: Is there a straightforward way to avoid collisions of mensurstriche with beams? Do you have an example? Here's an extract from the de Wert, that illustrates the "problem"

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Valentin Petzel
Hello Graham, hello Jean, this is a proof of concept how something like this could be done (which is not necessarily a *should* be done): \layout { \context { \Voice \remove Note_heads_engraver \consists Completion_heads_engraver \override Tie.before-line-breaking =

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Graham King
On 2023-01-17 20:06, Lukas-Fabian Moser wrote: Hi, As a secondary question: Is there a straightforward way to avoid collisions of mensurstriche with beams? Do you have an example? Here's an extract from the de Wert, that illustrates the "problem" (lilypond 2.25.0): The way I see it, this

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Lukas-Fabian Moser
I am afraid this would be exceedingly difficult technically. Engravers run way earlier than line breaking, so the only option would be to let the engraver create both notations (with notes straddling over bar lines and with tied notes), and remove one of them later, but there is a lot of code

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Lukas-Fabian Moser
Hi, As a secondary question: Is there a straightforward way to avoid collisions of mensurstriche with beams? Do you have an example? Here's an extract from the de Wert, that illustrates the "problem" (lilypond 2.25.0): The way I see it, this would be a case for just accepting the

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Jean Abou Samra
Le 17/01/2023 à 20:33, Graham King a écrit : I'm not really sure what best practice is here; it might be that these collisions are just to be expected? (I can certainly live with them). I don't have experience with this type of music, but my first question would be: what is the

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Graham King
> On 17 Jan 2023, at 17:56, Jean Abou Samra wrote: > > Le 17/01/2023 à 18:31, Graham King a écrit : >> I'm preparing an edition of de Wert's motet "Ascendente Jesu in naviculam" >> which has an extended stretto section with dotted rhythms across barlines. >> For this, Harm's Mensurstriche

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread David Poon
Note that some durations still require a tie despite using barless notation (e.g. semibreve + crochet), so it wouldn't be completely heretical to have a few ties across barlines. The whole problem lies in using scores instead of partbooks. :) I've seen one engraver use custodes at the end of a

Re: irrational meters

2023-01-17 Thread Hans Åberg
I gave an example [1] where the numerator is an irrational number, 8+2√5. It is implementable in LilyPond using continued fractions. 1. https://lists.gnu.org/archive/html/lilypond-user/2014-06/msg00237.html > On 17 Jan 2023, at 18:40, Silvain Dupertuis > wrote: > > Thanks for the reference.

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Jean Abou Samra
Le 17/01/2023 à 18:31, Graham King a écrit : I'm preparing an edition of de Wert's motet "Ascendente Jesu in naviculam" which has an extended stretto section with dotted rhythms across barlines. For this, Harm's Mensurstriche example in the Learning Manual produces a mostly beautiful result.

Re: irrational meters

2023-01-17 Thread David Poon
My $0.02 on terminology: if you think of the maths definition of "irrational" as "cannot be represented as a ratio of two integers", we can translate this definition into music as "cannot be represented as a ratio of an integer and a non-dotted, non-tuplet note value". I.e., treat the

Re: irrational meters

2023-01-17 Thread Silvain Dupertuis
Thanks for the reference. This wikipedia article in English does not have it's counterpart in my language (French), but a corresponding but different French article which does not mention this notion. So this term “irrational” is indeed used that way in music (at least in English) ­­— but I

Completion_heads_engraver for line-ends only?

2023-01-17 Thread Graham King
I'm preparing an edition of de Wert's motet "Ascendente Jesu in naviculam" which has an extended stretto section with dotted rhythms across barlines. For this, Harm's Mensurstriche example in the Learning Manual produces a mostly beautiful result. However, for the sake of those singers who,

Re: irrational meters

2023-01-17 Thread Karim Haddad
Thank you a lot Leo for your advice. I'll hence stick with solution #1 which looks preferable. @all Now about "irrational meter" (or "irrational" rhythms), well this denomination is from the fifties. I am aware that mathematically this is not correct since it is a fraction.However, "irregular"

Re: irrational meters

2023-01-17 Thread Hans Åberg
> On 17 Jan 2023, at 15:20, Silvain Dupertuis > wrote: > > I wonder about the term “irrational” meter. Should not we say “irregular” ?? > as in mathematics, an irrational number is a number which cannot be > represented as a fraction... The denominator is not a power of two. See:

Re: Help understanding event listeners

2023-01-17 Thread Kieren MacMillan
Hi Saul, > I've been tinkering with the auto-transpose engraver from OLL, trying to > automatically print key signatures if the transposition has been changed. I'm just here to say (or maybe even sing?) “Did you ever know that you’re my hero?”. :) Kieren.

Re: irrational meters

2023-01-17 Thread Kieren MacMillan
Hi Silvain, > I wonder about the term “irrational” meter. Should not we say “irregular” ?? > as in mathematics, an irrational number is a number which cannot be > represented as a fraction... As both a published composer *and* a published number theorist, I wholeheartedly concur with your

Re: irrational meters

2023-01-17 Thread J Martin Rushton
I would have thought so. I assumed this post was about weird modern music. Irregular grabs my attention though, I occasionally try to set plainchant.Martin On Tue, 2023-01-17 at 15:20 +0100, Silvain Dupertuis wrote: > I wonder about the term “irrational” > meter. Should not we say

Re: irrational meters

2023-01-17 Thread Silvain Dupertuis
I wonder about the term “irrational” meter. Should not we say “irregular” ?? as in mathematics, an irrational number is a number which cannot be represented as a fraction... Le 17.01.23 à 13:30, Leo Correia de Verdier a écrit : Hi Karim! Your first example seems to work to me (I don’t do

Re: irrational meters

2023-01-17 Thread Leo Correia de Verdier
Hi Karim! Your first example seems to work to me (I don’t do irrational meters everyday, so there might be something I’m missing. I would probably write the tuplets explicitly rather than use \scaleDurations). \set Staff.timeSignatureFraction is superfluous, the time signature already does

irrational meters

2023-01-17 Thread Karim Haddad
Hi, I am wondering which is the best way to write irrational meters (with tempo modulations) 1) % \version "2.24.0" \score { { \clef "G" \scaleDurations 4/5 { \time 4/5 \set Staff.timeSignatureFraction = #'(4 . 5) \mark \markup

Help understanding event listeners

2023-01-17 Thread Saul Tobin
I've been tinkering with the auto-transpose engraver from OLL, trying to automatically print key signatures if the transposition has been changed. In the original code it looks like the plan was to have the engraver broadcast a KeyChangeEvent, but when I tried that it ended up in an infinite loop