Re: Unneeded accidental in accidentalStyle piano

2021-08-20 Thread Knute Snortum
Thanks! I should have checked the issues first.

--
Knute Snortum


On Fri, Aug 20, 2021 at 12:23 PM Xavier Scheuer  wrote:
>
> On Fri, 20 Aug 2021 at 20:49, Knute Snortum  wrote:
> >
> > There is an unwanted behavior with \accidentalStyle piano and a
> > PianoStaff.  To illustrate this, imagine you have a note with an
> > accidental in the bass clef tied across two measures, and in the
> > treble clef, in the second measure, you have this same note (can be a
> > different octave) repeated.  The second repeated note will have an
> > unneeded accidental.  This is much easier to see than explain, so here
> > is a MWE with a PNG attached.
> >
> > (snip)
> >
> > This looks like a bug, but I want to run it past y'all.
>
> Hello,
>
> It is a bug. It has been commented as another instance of #3466
> https://gitlab.com/lilypond/lilypond/-/issues/3466#note_344003849
>
> You can remove the unwanted accidental with \omit Accidental .
>
> Cheers,
> Xavier
>
> --
> Xavier Scheuer 
>



Re: Unneeded accidental in accidentalStyle piano

2021-08-20 Thread Xavier Scheuer
On Fri, 20 Aug 2021 at 20:49, Knute Snortum  wrote:
>
> There is an unwanted behavior with \accidentalStyle piano and a
> PianoStaff.  To illustrate this, imagine you have a note with an
> accidental in the bass clef tied across two measures, and in the
> treble clef, in the second measure, you have this same note (can be a
> different octave) repeated.  The second repeated note will have an
> unneeded accidental.  This is much easier to see than explain, so here
> is a MWE with a PNG attached.
>
> (snip)
>
> This looks like a bug, but I want to run it past y'all.

Hello,

It is a bug. It has been commented as another instance of #3466
https://gitlab.com/lilypond/lilypond/-/issues/3466#note_344003849

You can remove the unwanted accidental with \omit Accidental .

Cheers,
Xavier

-- 
Xavier Scheuer 


Unneeded accidental in accidentalStyle piano

2021-08-20 Thread Knute Snortum
There is an unwanted behavior with \accidentalStyle piano and a
PianoStaff.  To illustrate this, imagine you have a note with an
accidental in the bass clef tied across two measures, and in the
treble clef, in the second measure, you have this same note (can be a
different octave) repeated.  The second repeated note will have an
unneeded accidental.  This is much easier to see than explain, so here
is a MWE with a PNG attached.

%%%
\version "2.23.3"
\language "english"

rightHand = \relative c' {
  fs4 fs fs fs |
  fs4 fs fs fs |
}

leftHand = \relative c {
  \clef bass
  fs1 ~ |
  fs1 |
}

\new PianoStaff <<
  \accidentalStyle piano
  \new Staff \rightHand
  \new Staff \leftHand
>>
%%%

This looks like a bug, but I want to run it past y'all.

--
Knute Snortum