Re: Usings tag to optionally hide the staff yet still retain lyric alignment

2025-01-26 Thread Valentin Petzel
Hello Walt, > Here is a MWE. Not quite minimal ... > The next desired results should look the same except that only chords > and lyrics are to be shown (don't blame me - that's what they want the > rhythm guys). > > So my though was to use tag for the staff notes. And then use NullVoice > to a

Usings tag to optionally hide the staff yet still retain lyric alignment

2025-01-26 Thread Walt North
I have a case where I'm trying to use tags to either show or not show the Staff line. Here is a MWE.  The first line in the screen shot shows the desired results when staff is to be printed. The next desired results should look the same except that only chords and lyrics are to be shown (don

Re: Flexible lyric alignment

2022-11-22 Thread Jean Abou Samra
Le 22/11/2022 à 16:51, Abraham Lee a écrit : Ok, I can confirm that it works as expected. Thanks, again, Jean! No doubt I will be using this quite a lot over the coming months. Now added as https://lsr.di.unimi.it/LSR/Item?id=1154 (I didn't bother "downgrading" it to 2.22 because 2.24 should

Re: Flexible lyric alignment

2022-11-22 Thread Abraham Lee
On Mon, Nov 21, 2022 at 11:21 PM Abraham Lee wrote: > > > On Mon, Nov 21, 2022 at 6:36 PM Jean Abou Samra > wrote: > >> Hi, >> >> >> Le 20/11/2022 à 21:50, Kieren MacMillan a écrit : >> >> Kieren, you've got to try this out! It will blow your mind! >> > I just took Jean’s example, and compared t

Re: Flexible lyric alignment

2022-11-21 Thread Abraham Lee
On Mon, Nov 21, 2022 at 6:36 PM Jean Abou Samra wrote: > Hi, > > > Le 20/11/2022 à 21:50, Kieren MacMillan a écrit : > >> Kieren, you've got to try this out! It will blow your mind! > > I just took Jean’s example, and compared the output with and without the > \include step… Truly astonishing. >

Re: Flexible lyric alignment

2022-11-21 Thread Jean Abou Samra
Hi, Le 20/11/2022 à 21:50, Kieren MacMillan a écrit : Kieren, you've got to try this out! It will blow your mind! I just took Jean’s example, and compared the output with and without the \include step… Truly astonishing. (I haven’t tried it with my Real World Scores™, but can’t wait to do so!

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-20 Thread Kieren MacMillan
Hi all, > Kieren, you've got to try this out! It will blow your mind! I just took Jean’s example, and compared the output with and without the \include step… Truly astonishing. (I haven’t tried it with my Real World Scores™, but can’t wait to do so!) > Jean, seriously, this is amazing! Agreed

Re: Flexible lyric alignment

2022-11-20 Thread Kieren MacMillan
Hi Jean, > This is a vast refinement of the initial \autoMove function I love that you generate “magic” solutions with such facility, and that you still care enough to respect existing parameters (e.g., minimum-distance) and include new useful ones (e.g., details.strength). > - As said in a pr

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-19 Thread Abraham Lee
On Sat, Nov 19, 2022 at 6:59 PM Abraham Lee wrote: > > > On Sat, Nov 19, 2022 at 6:50 PM Abraham Lee > wrote: > >> >> >> On Sat, Nov 19, 2022 at 5:16 PM Jean Abou Samra >> wrote: >> >>> >>> >>> Le 20 nov. 2022 à 01:11, Abraham Lee a >>> écrit : >>> >>> Still running into compiler errors. I fig

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-19 Thread Abraham Lee
On Sat, Nov 19, 2022 at 6:50 PM Abraham Lee wrote: > > > On Sat, Nov 19, 2022 at 5:16 PM Jean Abou Samra > wrote: > >> >> >> Le 20 nov. 2022 à 01:11, Abraham Lee a >> écrit : >> >> Still running into compiler errors. I figured my version was just out of >> date, but after downloading 2.23.81, I

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-19 Thread Abraham Lee
On Sat, Nov 19, 2022 at 5:16 PM Jean Abou Samra wrote: > > > Le 20 nov. 2022 à 01:11, Abraham Lee a > écrit : > > Still running into compiler errors. I figured my version was just out of > date, but after downloading 2.23.81, I still get the following log: > > %<-SNIP

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-19 Thread Jean Abou Samra
Le 20 nov. 2022 à 01:11, Abraham Lee a écrit :Still running into compiler errors. I figured my version was just out of date, but after downloading 2.23.81, I still get the following log:%<-SNIP---Starting lilypond.exe 2.23.81 [tricky-lyrics.ly]...Processing `K:/musi

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-19 Thread Abraham Lee
On Sat, Nov 19, 2022 at 4:34 PM Abraham Lee wrote: > > > On Sat, Nov 19, 2022 at 3:23 PM Jean Abou Samra > wrote: > >> Le 17/11/2022 à 23:02, Jean Abou Samra a écrit : >> > Le 17/11/2022 à 23:01, Werner LEMBERG a écrit : >> > But how do you take into account the constraints from lyrics here?

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-19 Thread Abraham Lee
On Sat, Nov 19, 2022 at 3:23 PM Jean Abou Samra wrote: > Le 17/11/2022 à 23:02, Jean Abou Samra a écrit : > > Le 17/11/2022 à 23:01, Werner LEMBERG a écrit : > > But how do you take into account the constraints from lyrics here? > > That is the whole problem. > They should be complet

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-19 Thread Jean Abou Samra
Le 17/11/2022 à 23:02, Jean Abou Samra a écrit : Le 17/11/2022 à 23:01, Werner LEMBERG a écrit : But how do you take into account the constraints from lyrics here? That is the whole problem. They should be completely ignored. In that case, it should be completely doable even in Scheme now. (I

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-17 Thread David Kastrup
Jean Abou Samra writes: > Le 17/11/2022 à 23:01, Werner LEMBERG a écrit : > But how do you take into account the constraints from lyrics here? > That is the whole problem. They should be completely ignored. >>> In that case, it should be completely doable even in Scheme now. >>> (I s

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-17 Thread Jean Abou Samra
Le 17/11/2022 à 23:01, Werner LEMBERG a écrit : But how do you take into account the constraints from lyrics here? That is the whole problem. They should be completely ignored. In that case, it should be completely doable even in Scheme now. (I started writing some code yesterday in response to

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-17 Thread Werner LEMBERG
>>> But how do you take into account the constraints from lyrics here? >>> That is the whole problem. >> >> They should be completely ignored. > > In that case, it should be completely doable even in Scheme now. > (I started writing some code yesterday in response to Abraham that > does essentia

Re: Flexible lyric alignment

2022-11-16 Thread Jean Abou Samra
Le 17/11/2022 à 08:06, Werner LEMBERG a écrit : * In the first pass, typeset everything without stuff marked for a follow-up pass. Namely, typeset all notes? Yes. But how do you take into account the constraints from lyrics here? That is the whole problem. They should be completely ignore

Re: Flexible lyric alignment,Re: Flexible lyric alignment

2022-11-16 Thread Werner LEMBERG
>> * In the first pass, typeset everything without stuff marked for a >> follow-up pass. > > Namely, typeset all notes? Yes. > But how do you take into account the constraints from lyrics here? > That is the whole problem. They should be completely ignored. My idea was to make the first pa

Re: Flexible lyric alignment

2022-11-16 Thread David Kastrup
Jean Abou Samra writes: > Le 16/11/2022 à 10:05, Werner LEMBERG a écrit : >> I draw my idea from LaTeX, for example handling multi-page tables (see >> the 'longtable' package). > > > I looked at the documentation > (https://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/macros/latex/required/too

Re: Flexible lyric alignment

2022-11-16 Thread Jean Abou Samra
Le 16/11/2022 à 10:05, Werner LEMBERG a écrit : I draw my idea from LaTeX, for example handling multi-page tables (see the 'longtable' package). I looked at the documentation (https://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/macros/latex/required/tools/longtable.pdf). The footnote on th

Re: Flexible lyric alignment

2022-11-16 Thread Werner LEMBERG
>> I think that such a fine granularity of automatic lyric adjustment >> would only be possible with LilyPond doing (at least) two >> typesetting passes, if at all. > > Can you elaborate? What would it help with? I draw my idea from LaTeX, for example handling multi-page tables (see the 'longtab

Re: Flexible lyric alignment

2022-11-16 Thread Jean Abou Samra
> Le 16 nov. 2022 à 09:36, Werner LEMBERG a écrit : > > I think that such a fine granularity of automatic lyric adjustment > would only be possible with LilyPond doing (at least) two typesetting > passes, if at all. Can you elaborate? What would it help with? > In general, implementing a

Re: Flexible lyric alignment

2022-11-16 Thread Werner LEMBERG
> The main problematic measures are 5, 7, and 9/10. My tweaks are > good bandaids, but not ideal, nor perfect, but they get the job > done. I think that such a fine granularity of automatic lyric adjustment would only be possible with LilyPond doing (at least) two typesetting passes, if at all.

Re: Flexible lyric alignment

2022-11-15 Thread Abraham Lee
Ok, I realize this isn't really a MWE, but I needed a more real example of some of the issues I ran into. So, here we go. You'll find some of my favorite preferences for Lyrics in the extra global overrides. And, yes, I realize they are part of the problem, but even without them, the problems are s

Re: Flexible lyric alignment

2022-11-15 Thread Abraham Lee
This looks awesome, Jean! Thanks so much for this great start! And thanks to everyone else who has chimes in on this. We may get to a great solution yet! In my recent score, again, a single vocal staff with two piano staves below, I had instances where there were 2, 3, and 4-syllable clusters wher

Re: Flexible lyric alignment

2022-11-14 Thread Kieren MacMillan
Hi again! Given the success of my first sortie, here's another snippet that might be automated. (Note that this one matches the OP's situation.) This is definitely a tweak I do on a very regular basis in my music-with-text scores: sliding a text backwards, potentially under previous grobs. This

Re: Flexible lyric alignment

2022-11-14 Thread Kieren MacMillan
Hi Jean, > this example isn't specific to lyrics, although this situation > probably occurs more often in lyrics than in other contexts. Definitely. > Here's one way to do this, but don't be too excited: not only > is it hacky (in "fixable" ways), but it makes lots of assumptions > that hold in

Re: Flexible lyric alignment

2022-11-14 Thread Kieren MacMillan
Hi Jean, > This just removes the lyric syllable's presence in horizontal > spacing, then adjusts its placement if it collides with its > right neighbor. It works in this case because there is nothing > on the left that the lyric syllable in question could collide > with. (It also does not handle c

Re: Flexible lyric alignment

2022-11-14 Thread Jean Abou Samra
Le 14/11/2022 à 17:11, Kieren MacMillan a écrit : Hi again! Given the success of my first sortie, here's another snippet that might be automated. (Note that this one matches the OP's situation.) This is definitely a tweak I do on a very regular basis in my music-with-text scores: sliding a te

Re: Flexible lyric alignment

2022-11-14 Thread Jean Abou Samra
The bit with LyricHyphen was not working, this will be better: \version "2.23.81" #(ly:set-option 'compile-scheme-code) \layout {   \context {     \Lyrics     \consists   #(lambda (context) (let ((previous #f))    (make-engraver     (acknowledgers ((lyr

Re: Flexible lyric alignment

2022-11-13 Thread Jean Abou Samra
Le 12/11/2022 à 16:38, Kieren MacMillan a écrit : Hi all, I know many of you follow a “Do first” process… so even though that’s not my process, here goes. ;) Here's a small example of this spacing “thorn”, and one way I might tweak it to fix the problem. Notes: – I realize it's constructed

Re: Flexible lyric alignment

2022-11-12 Thread Kieren MacMillan
Hi all, I know many of you follow a “Do first” process… so even though that’s not my process, here goes. ;) Here's a small example of this spacing “thorn”, and one way I might tweak it to fix the problem. Notes: – I realize it's constructed to avoid the very issue(s) that Jean raises (i.e.,

Re: Flexible lyric alignment

2022-11-11 Thread Jean Abou Samra
Le 12/11/2022 à 00:23, Carl Sorensen a écrit : IIUC, columns are spaced with springs and rods considering collisions between adjacent columns. The hope was that one could create negative space in the column with no lyricText, thus allowing the adjacent column to overlap the column with no lyr

Re: Flexible lyric alignment

2022-11-11 Thread Carl Sorensen
On Fri, Nov 11, 2022 at 12:33 PM Jean Abou Samra wrote: > > > > Le 10 nov. 2022 à 18:22, Carl Sorensen a > écrit : > > > > Thinking about this in terms of Excel cells, where they can extend as > far as possible as long as there are no contents in adjacent cells > > > > Might it be possible f

Re: Flexible lyric alignment

2022-11-11 Thread Jean Abou Samra
> Le 11 nov. 2022 à 15:11, Kieren MacMillan a > écrit : > Now of course I realize the implementation of this idea is not necessarily > trivial… but I don't think we need to throw the whole spacing engine under > the bus on the first step of an [attempted] improvement plan. Before being able

Re: Flexible lyric alignment

2022-11-11 Thread Jean Abou Samra
> Le 10 nov. 2022 à 18:22, Carl Sorensen a écrit : > > Thinking about this in terms of Excel cells, where they can extend as far as > possible as long as there are no contents in adjacent cells > > Might it be possible for the lyrics engraver to add something like a > lyricPlaceholder g

Re: Flexible lyric alignment

2022-11-11 Thread Kieren MacMillan
Hi Carl, > Thinking about this in terms of Excel cells, where they can extend as far as > possible as long as there are no contents in adjacent cells > > Might it be possible for the lyrics engraver to add something like a > lyricPlaceholder grob into adjacent note columns that had no lyric

Re: Flexible lyric alignment

2022-11-10 Thread Carl Sorensen
On Wed, Nov 9, 2022 at 3:05 PM Jean Abou Samra wrote: > > To tackle this, the first step would be sitting down with paper, > formulating what new kind of problem we want, and figuring out > an algorithm to solve it, maybe a variant of the existing algorithm > to solve springs&rods problems (in li

Re: Flexible lyric alignment

2022-11-09 Thread Jean Abou Samra
Le 10/11/2022 à 00:16, Kieren MacMillan a écrit : As I've described to you before, that is my preferred approach to coding. :) Would be more than happy to do that — with or without you "live" (via video-conference) — and then watch as you take the next step(s): Sorry, I already have some b

Re: Flexible lyric alignment

2022-11-09 Thread Kieren MacMillan
Hi Jean, > This is not easy to do and it cannot be done with Scheme only. That was clear the moment Janek and I started working on the problem… > To tackle this, the first step would be sitting down with paper, > formulating what new kind of problem we want, and figuring out > an algorithm to so

Re: Flexible lyric alignment

2022-11-09 Thread Jean Abou Samra
Le 09/11/2022 à 19:51, Kieren MacMillan a écrit : Thoughts? I'm afraid my own Scheme skills aren't up to the task for this. I'm also fully aware that I can adjust this manually at the problematic places. I'd like to avoid that if possible, but will do that if needed. Please let's talk with som

Re: Flexible lyric alignment

2022-11-09 Thread Kieren MacMillan
Hi Abraham, (Great to see you on-list again!) > It's been some time since I've posted anything here, but a recent project has > caused me to jump back into creating scores. I'm working on a relatively > simple choral piece with piano accompaniment and seeing all the ways the > lyric syllables

Re: Lyric alignment

2017-11-10 Thread Abraham Lee
Hi, Sam! On Fri, Nov 10, 2017 at 3:12 PM, Samuel Speer wrote: > Try this: >> >> \override Lyrics.LyricText.extra-spacing-width = #'(-inf.0 . +inf.0) >> >> HTH, >> Abraham >> > > Thank you very much! That was very helpful. > > For the benefit of anyone who reads this archive in the future, the >

Re: Lyric alignment

2017-11-10 Thread Samuel Speer
> > Try this: > > \override Lyrics.LyricText.extra-spacing-width = #'(-inf.0 . +inf.0) > > HTH, > Abraham > Thank you very much! That was very helpful. For the benefit of anyone who reads this archive in the future, the positive should actually come before the negative: \override Lyrics.LyricTex

Re: Lyric alignment

2017-11-10 Thread Abraham Lee
Hi, Sam! On Fri, Nov 10, 2017 at 11:49 AM, Samuel Speer wrote: > Lily naturally spaces measures beautifully when there are no lyrics, but > when lyrics are added, she gets thrown off quite a bit. There have been > several discussions about that already on the list. > > Is there a way to have Lil

Lyric alignment question

2017-11-10 Thread tyronicus
Hi list members, Lily naturally spaces measures beautifully when there are no lyrics, but when lyrics are added, she gets thrown off quite a bit. There have been several discussions about that already on the list. Is there a way to have Lily act as if syllables have no width? What I would like

Lyric alignment question

2017-11-10 Thread Samuel Speer
Hi list members, Lily naturally spaces measures beautifully when there are no lyrics, but when lyrics are added, she gets thrown off quite a bit. There have been several discussions about that already on the list. Is there a way to have Lily act as if syllables have no width? What I would like

Lyric alignment

2017-11-10 Thread Samuel Speer
Hi list members, Lily naturally spaces measures beautifully when there are no lyrics, but when lyrics are added, she gets thrown off quite a bit. There have been several discussions about that already on the list. Is there a way to have Lily act as if syllables have no width? What I would like t

Re: Lyric alignment under Second intervals

2012-01-22 Thread Janek Warchoł
Hi Frank, 2012/1/17 Frank Steinmetzger : > Sorry about the wrong subject, it was supposed to be this one instead.  (I > used > another message in the list to extract the To: address and forgot to change > the > subject before sending.) > > For possible replies, here's the question again. This L

Lyric alignment under Second intervals

2012-01-16 Thread Frank Steinmetzger
Sorry about the wrong subject, it was supposed to be this one instead. (I used another message in the list to extract the To: address and forgot to change the subject before sending.) For possible replies, here's the question again. The "ness" syllables are not aligned to one another, because a

Re: Lyric alignment problem with custom Voice

2010-02-25 Thread Bertalan Fodor (LilyPondTool)
Roman Stawski wrote: This short polyphony employs A trivial customised Voice but the lyrics ignore the first note in the score -- that's not the behaviour of choice. Wow! Valentin, I think this is the first Bug Poem for the LilyPond report. __

Re: Lyric alignment problem with custom Voice

2010-02-25 Thread Roman Stawski
On 25/02/2010 23:05, Xavier Scheuer wrote: > > On 25 February 2010 21:04, Roman Stawski wrote: > >> This short polyphony employs >> A trivial customised Voice >> but the lyrics ignore >> the first note in the score -- >> that's not the behaviour of choice. > Hi, > > That's the same as issue 7

Re: Lyric alignment problem with custom Voice

2010-02-25 Thread Xavier Scheuer
On 25 February 2010 21:04, Roman Stawski wrote: > This short polyphony employs > A trivial customised Voice >  but the lyrics ignore >  the first note in the score -- > that's not the behaviour of choice.Hi, That's the same as issue 770, isn't it? http://code.google.com/p/lilypond/issues/detail?

Lyric alignment problem with custom Voice

2010-02-25 Thread Roman Stawski
This short polyphony employs A trivial customised Voice but the lyrics ignore the first note in the score -- that's not the behaviour of choice. - \version "2.13.11" \layout { ragged-right = ##t } \layout { \context { \Voice \name MainVoice \alias Voice } \context {

Re: Trouble with lyric alignment

2005-11-23 Thread Mats Bengtsson
Basically the same question is answered for example in http://lists.gnu.org/archive/html/lilypond-user/2005-11/msg00268.html in the mailing list archives. /Mats onix wrote: I am a little bit confused about why my lyrics are not printing under the first note in this piece. For some reason, t

Trouble with lyric alignment

2005-11-22 Thread onix
I am a little bit confused about why my lyrics are not printing under the first note in this piece. For some reason, they are starting on the second note. Any clue? Another anomaly is that not all the lyrics printed for this line. I want to get this cleared up before I go farther. lilypond 2.6

Lyric Alignment Problem

2002-10-31 Thread Matthew Sachs
I'm attempting to typeset a piece which has multiple parts (SATB), each of which have two verses of lyrics. I can't get the lyrics to align at all with the notes, either via \addlyrics or by manually specifying the duration of each syllable. I'm pretty new to Lilypond, pardon if I'm missing s