Re: Need help with \force-hshift or \shiftO... (off, on, onn, onnn, etc.)
On Mon, Mar 28, 2022 at 4:42 AM Paul Hodges wrote: > > I think you mean \mergeDifferentlyDotted > >> From: Mats Bengtsson >> >> You don't happen to have a \mergeDifferentlyHeadedOn somewhere in your full >> score code, do you? Ah. I had both: Due to my continued inability to hold the whole of it in my head, I've been working from a Frankensteinian template that I cobbled together which, up until now, has worked for the stuff I've been transcribing. The template had both \mergeDifferentlyHeadedOn and \mergeDifferentlyDottedOn. (I don't recall which scores in the book wanted those.) Anyway, I removed both and all is looking good now. Thanks.
Re: Need help with \force-hshift or \shiftO... (off, on, onn, onnn, etc.)
I think you mean \mergeDifferentlyDotted Paul From: Mats Bengtsson To: , Kevin Cole Sent: 28/03/2022 7:50 Subject: Re: Need help with \force-hshift or \shiftO... (off, on, onn, onnn, etc.) On 2022-03-28 03:54, Kevin Cole wrote: Ah. I think you're right. And, when I do what you suggested in the minimal example, it works as described: Your example looks like the image I sent. But when I inject it into the full score I get the attached, which still merges the dotted eighth with the sixteenth at the start of the measure. You don't happen to have a \mergeDifferentlyHeadedOn somewhere in your full score code, do you? /Mats
Re: Need help with \force-hshift or \shiftO... (off, on, onn, onnn, etc.)
On 2022-03-28 03:54, Kevin Cole wrote: Ah. I think you're right. And, when I do what you suggested in the minimal example, it works as described: Your example looks like the image I sent. But when I inject it into the full score I get the attached, which still merges the dotted eighth with the sixteenth at the start of the measure. You don't happen to have a \mergeDifferentlyHeadedOn somewhere in your full score code, do you? /Mats
Re: Need help with \force-hshift or \shiftO... (off, on, onn, onnn, etc.)
On Sun, Mar 27, 2022 at 5:04 PM Carl Sorensen wrote: > > On Sun, Mar 27, 2022 at 2:01 PM Kevin Cole wrote: >> >> In my more-than-minimal example, the b16 from the first voice gets >> merged with the b8. from the second voice. When I tried to create a >> minimum (non-working) example, the two didn't merge. But, what I want >> below is for the b8. from the first voice to merge with the b8. from >> the second voice. >> >> In other words, it should look like b16 b8. g16 with the b8. in the >> middle having stems going both directions. Looking at examples that >> were over my head, I attempted \override \once \force-hshift in >> various places, but didn't accomplish anything. > > > Kevin, > > If you want the heads to merge, they need to be at the same time step. > > I think you are misinterpreting the original music. The original music has > two downstemmed notes (b natural sixteenth plus b natural eighth) at the same > time as one upstemmed note (b dotted eighth). > > To get the output in the image, just do this: > > \version "2.20.0" > \language "english" > > \layout { > \autoBeamOff > } > > global = { > \key ef \major > \time 4/4 > } > > melody = { > \relative { > \global > << > { \voiceOne b'8. } > \new Voice > { \voiceTwo b16 b8 } > >> > \oneVoice > a8 b8 c4 r8 d8 > } > } > > \score { > \new Staff { \melody } > } Ah. I think you're right. And, when I do what you suggested in the minimal example, it works as described: Your example looks like the image I sent. But when I inject it into the full score I get the attached, which still merges the dotted eighth with the sixteenth at the start of the measure.
RE: Need help with \force-hshift or \shiftO... (off, on, onn, onnn, etc.)
Kevin, Form what I see, the voices are interchanged. What is in voiceOne should be voiceTwo and vice versa. See: https://lilypond.org/doc/v2.22/Documentation/learning/i_0027m-hearing-voices Mark -Original Message- From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Kevin Cole Sent: Sunday, March 27, 2022 1:01 PM To: lilypond-user mailinglist Subject: Need help with \force-hshift or \shiftO... (off, on, onn, onnn, etc.) In my more-than-minimal example, the b16 from the first voice gets merged with the b8. from the second voice. When I tried to create a minimum (non-working) example, the two didn't merge. But, what I want below is for the b8. from the first voice to merge with the b8. from the second voice. In other words, it should look like b16 b8. g16 with the b8. in the middle having stems going both directions. Looking at examples that were over my head, I attempted \override \once \force-hshift in various places, but didn't accomplish anything. % \version "2.20.0" \language "english" \layout { \autoBeamOff } global = { \key ef \major \time 4/4 } melody = { \relative { \global << { \voiceOne b'16 b8. } \new Voice { \voiceTwo b8. g16 } >> \oneVoice a8 b8 c4 r8 d8 } } \score { \new Staff { \melody } } % P.S. I think I'm interpreting the attached image correctly, but I could be wrong about that. In any case, that's what I'm trying to achieve in LilyPond.
Re: Need help with \force-hshift or \shiftO... (off, on, onn, onnn, etc.)
On Sun, Mar 27, 2022 at 2:01 PM Kevin Cole wrote: > In my more-than-minimal example, the b16 from the first voice gets > merged with the b8. from the second voice. When I tried to create a > minimum (non-working) example, the two didn't merge. But, what I want > below is for the b8. from the first voice to merge with the b8. from > the second voice. > > In other words, it should look like b16 b8. g16 with the b8. in the > middle having stems going both directions. Looking at examples that > were over my head, I attempted \override \once \force-hshift in > various places, but didn't accomplish anything. > Kevin, If you want the heads to merge, they need to be at the same time step. I think you are misinterpreting the original music. The original music has two downstemmed notes (b natural sixteenth plus b natural eighth) at the same time as one upstemmed note (b dotted eighth). To get the output in the image, just do this: \version "2.20.0" \language "english" \layout { \autoBeamOff } global = { \key ef \major \time 4/4 } melody = { \relative { \global << { \voiceOne b'8. } \new Voice { \voiceTwo b16 b8 } >> \oneVoice a8 b8 c4 r8 d8 } } \score { \new Staff { \melody } } HOpe this helps, Carl