Re: note head direction not automatically rearranged for two adjacent pitches when two voices are used instead of a chord
I did try \partCombine but it doesn't work for me. I need a more manual control because of subtle differences between the two voices (e.g. grace notes and voice-specific ties and slurs). For example, the notes in the example below are not auto-merged as chords because of these differences. instrumentOne = { \time 3/4 \relative c'' { \partial 4 gis4( e'2. dis) c8[ d e \acciaccatura g f g f] } } instrumentTwo = { \time 3/4 \relative c'' { \partial 4 gis4~ gis2. fisis e8[ f g a b a] } } << \new Staff \partCombine \instrumentOne \instrumentTwo >> On Tue, May 24, 2022 at 9:46 PM Jean Abou Samra wrote: > > > Le 24/05/2022 à 14:43, Jean Abou Samra a écrit : > > Le 24/05/2022 à 13:36, Soo Lee a écrit : > >> I isolated these notes to create a tiny example, but the context > >> suggests that it makes more sense to view them as two voices. This is > >> a Chopin piece and unlike e.g. Bach, two voices often are expressed > >> like a chord. I wanted to avoid going back and forth between one > >> voice and two voices too often. > >> I guess it is possible to just use a chord in this case. I'll try to > >> think about other work-arounds. However, I think an ideal behavior > >> would still be to automatically rearrange the note head direction in > >> a case like this. > > > > > > > > I don't think this syntax is the right tool for your > > purpose. With \new Voice, you're telling LilyPond that > > you want separate voices. With \voiceOne and \voiceTwo, > > you specify stem directions for both voices. Then, with > > \stemUp, you kind of contradict what you just said. It's > > tricky for LilyPond to interpret this input. Rather, I > > suspect you want to use the part combining feature in > > order to merge notes in one single stem when the rhythm > > is the same. > > > > > https://lilypond.org/doc/v2.22/Documentation/notation/multiple-voices.html#automatic-part-combining > > > > > > Jean > > > > > To expand: consider > > \version "2.22.2" > > \new Staff << >\new Voice { \voiceOne g''8 8 8 8 } >\new Voice { \voiceTwo \once \stemUp a,8 a'8 \once \stemUp a,8 a'8 } > >> > > > If the \stemUp made the stems merge, this use case would no longer work. > > Jean > >
Re: fingering of a grace note overlaps with beam
Thank you! On Mon, May 23, 2022 at 12:51 AM Martín Rincón Botero < martinrinconbot...@gmail.com> wrote: > Hi Soo, > > this seems to be caused by the fact that there's no outside-staff-priority > set for Fingerings (see https://gitlab.com/lilypond/lilypond/-/issues/6346). > Setting it apparently to whatever value fixes your problem for now. > > \relative c'' { > > > \override Fingering.outside-staff-priority = 0 > > > g8[ \acciaccatura b-5 a g] > > } > > > > > Cheers, > > Martín. > > www.martinrinconbotero.com > > > On May 22, 2022 at 3:17 PM, > wrote: > > Hi, > > In the example below, the fingering on the grace note B does not show well > because it overlaps with the beam. I do want to keep the stems up and the > fingering up because there will be another voice. What is the best way to > avoid this overlap? Thank you! > > \relative c'' { > g8[ \acciaccatura b-5 a g] > } > > Best, > Soo > >
Re: note head direction not automatically rearranged for two adjacent pitches when two voices are used instead of a chord
I isolated these notes to create a tiny example, but the context suggests that it makes more sense to view them as two voices. This is a Chopin piece and unlike e.g. Bach, two voices often are expressed like a chord. I wanted to avoid going back and forth between one voice and two voices too often. I guess it is possible to just use a chord in this case. I'll try to think about other work-arounds. However, I think an ideal behavior would still be to automatically rearrange the note head direction in a case like this. On Mon, May 23, 2022 at 12:40 AM Jean Abou Samra wrote: > Le 22/05/2022 à 12:33, Soo Lee a écrit : > > \new Staff > > << > > \new Voice = "first" > > { \voiceOne g'4 } > > \new Voice= "second" > > { \voiceTwo \stemUp f'4 } > > >> > > This example shows G and F note heads are drawn in an overlapping way. > > I did not want to use a chord but wanted them to be merged to look > > like a chord. Is there an option to do this? > > Thank you! > > > This sounds like an XY question to me. What is the reason for > not using a chord construct if the goal is to obtain a chord? > > Best, > Jean > >
fingering of a grace note overlaps with beam
Hi, In the example below, the fingering on the grace note B does not show well because it overlaps with the beam. I do want to keep the stems up and the fingering up because there will be another voice. What is the best way to avoid this overlap? Thank you! \relative c'' { g8[ \acciaccatura b-5 a g] } Best, Soo
piano sustain pedal between notes
Hi Is it possible to put a sustain pedal off between notes? It is common to have a pedal between notes. Thank you! Best, Soo
note head direction not automatically rearranged for two adjacent pitches when two voices are used instead of a chord
\new Staff<<\new Voice = "first" { \voiceOne g'4 }\new Voice= "second" { \voiceTwo \stemUp f'4 }>> This example shows G and F note heads are drawn in an overlapping way. I did not want to use a chord but wanted them to be merged to look like a chord. Is there an option to do this? Thank you! Best, Soo