lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ugly french-beaming hack messes with lyrics


From: N. Andrew Walsh
Subject: Re: ugly french-beaming hack messes with lyrics
Date: Tue, 26 Jan 2016 14:33:22 +0100

Hi Simon,

ah, now I see why I wasn't using something like your example. Look at what happens when the last note is raised a fourth:

\version "2.19.35"
<<
  \relative c'' {
    c4 d f
    \override Stem.stemlet-length = #0.5
    \override Stem.details.beamed-lengths = #'(5)
    r8.[ b16]
  }
  \addlyrics {
    this is a test
  }
>>

You'll note that the rest is also displaced vertically. To avoid this, I have to set the beamed-lengths property to 6.5. I'd like the beam to be a bit closer vertically to the rest; is there a property to set that achieves this without having to specify the vertical position of the rest? What I'd prefer is to keep the rests in such figures in their default positions, and have the stem lengths adjust  accordingly, rather than having to manually set the stem lengths to the length needed to leave the rests centered.

Thanks for the help,

A

On Sun, Jan 17, 2016 at 5:17 PM, N. Andrew Walsh <address@hidden> wrote:
Hi Simon,

thanks for getting back to me (and for the more complete example). Odd, when I tried that last time the rests would be vertically displaced, but now it does what it's supposed to do. Welp, now I can't reproduce the problem I was having with just using "r" instead of "b\rest" or whatever, so I'm going to count it as "problem doesn't actually exist" and move on.

Cheers,

A

On Sun, Jan 17, 2016 at 5:04 PM, Simon Albrecht <address@hidden> wrote:
Hi Andrew,

On 17.01.2016 16:50, N. Andrew Walsh wrote:
Hi list,

I ran into an issue when using what is admittedly an ugly hack for forcing French beaming,

French beaming is a different thing: it means that mid-beam stems only extend to the innermost beam, not through the last beam as per default.

when *also* working with a voice with lyrics.

What I want, when I have (pseudo-code):

{ r8.[ e16] }

is for the rest to be roughly in the middle, with a stemlet, beamed together with the following note. Since this didn't work right (the rest was always shoved way out of the middle of the staff to be roughly aligned with the attached note), I resorted to the following (ugly pseudo-code):

\version "2.19.36" ¹
{
c4 d f
 \override Stem.stemlet-length = #0.5
 \override Stem.details.beamed-lengths = #'(5)
b,8.\rest[ f'16]
  \revert Stem.details.beamed-lengths
  \revert Stem.stemlet-length
}

This got me what I wanted in terms of placing the rest and getting stemlets and having the stems the right length, but it apparently doesn't work very well when in a voice with lyrics. Apparently the lyrics part jumps right over the both the { b,8.\rest[ } and the following { f16] } parts, aligning the syllable to the next note.

I don't actually much care about this in my present use-case, because it's a voice part that wouldn't normally be beamed anyway. However, I could imagine some use case where a rest might be beamed to some following note, and expect to have that note get lyrics attached.

So, just out of curiosity, is there a better way to achieve what I'm looking for here?

That’s a lot of complicated text, and the example seems to be incomplete, especially since there are no Lyrics in it. That tends to be annoying for anybody willing to help.
Anyway, the following works fine for me:

\version "2.19.35"
<<
  \relative c'' {
    c4 d f
    \override Stem.stemlet-length = #0.5
    \override Stem.details.beamed-lengths = #'(5)
    r8.[ f16]
  }
  \addlyrics {
    this is a test
  }
>>

What would your problem be with that?

Best, Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]