Hi Knute, Speaking as a keyboard player (and lilypond novice) I would recommend re-spelling the a flat as a g sharp! Sometimes, theory has to take a backseat to readability. If the a natural is supposed to sound before the a flat, I might write that one as a grace note to an arpeggiated dyad. That said, I’ll let someone else give an answer that more specifically answers what you’re hoping to achieve :)
Best, Charlie On Thu, Feb 3, 2022 at 10:14 Knute Snortum <ksnor...@gmail.com> wrote: > Hi everyone, > > I've run into a situation where I need to engrave a chord that has the > same note twice, but with different accidentals. Like this (third > chord): > > %%% > \version "2.22.1" > \language "english" > > \relative { > \key ef \major > \time 3/4 > <bf' af' f'>8-.\arpeggio <bf af' bf>\arpeggio( <bf af'! a>\arpeggio > <bf af' bf>\arpeggio <bf af' c>\arpeggio <bf af' bf>\arpeggio) | > } > %%% > > I have a screenshot of the "default" way that LilyPond engraves this > attached ("default" in the sense that I only placed a bang after the > af). Keyboard players: would you be able to sight read this quickly? > Is there a different way that would be better, like the second > attachment? > > To get that "y-stem" in LP, the snippets say to do this: > > %%% > \version "2.22.1" > > fixA = { > \once \override Stem.length = #11 > } > > fixB = { > \once \override NoteHead.X-offset = #1.7 > \once \override Stem.length = #7 > \once \override Stem.rotation = #'(45 0 0) > \once \override Stem.extra-offset = #'(-0.1 . -0.2) > \once \override Flag.style = #'no-flag > \once \override Accidental.extra-offset = #'(4 . -.1) > } > > \relative c' { > << { \fixA <b d!>8 } \\ { \voiceThree \fixB dis } >> s > } > %%% > > But my problem with that is I can't get the beam to "attach" to the > notes in other voices. > > To sum up: a) what's the best way to engrave this kind of chord, and > b) how do I do it? I appreciate any feedback you can give me. > > -- > Knute Snortum >