Re: Starting Piano music with acciaccatura on upper voice

2023-02-11 Thread Alberto Simões
Hi
Thanks.
I tried googling, but it looks like it didn't help much :-)
Thank you

On Sat, Feb 11, 2023 at 11:42 AM David Kastrup  wrote:

> Alberto Simões  writes:
>
> > Hi
> >
> > I am starting a piano music this way:
> >
> > upper = \relative c'' {
> >   \clef treble
> >   \key g \major
> >   \time 4/4
> >
> >   \acciaccatura ais8 b8. 
> > }
> >
> > and the lower voice as
> >
> > lower = \relative c {
> >   \clef bass
> >   \key g \major
> >   \time 4/4
> >   fis8
> > }
> >
> > but the lower staff starts with a treble clef followed by the bass clef
> > with the key signature.
> > This is quite weird
> >
> > What am I doing wrong?
> > Thanks
>
> <
> https://lilypond.org/doc/v2.24/Documentation/notation/special-rhythmic-concerns#index-grace-note_002c-synchronization
> >
>
> --
> David Kastrup
>


Re: Starting Piano music with acciaccatura on upper voice

2023-02-11 Thread David Kastrup
Alberto Simões  writes:

> Hi
>
> I am starting a piano music this way:
>
> upper = \relative c'' {
>   \clef treble
>   \key g \major
>   \time 4/4
>
>   \acciaccatura ais8 b8. 
> }
>
> and the lower voice as
>
> lower = \relative c {
>   \clef bass
>   \key g \major
>   \time 4/4
>   fis8
> }
>
> but the lower staff starts with a treble clef followed by the bass clef
> with the key signature.
> This is quite weird
>
> What am I doing wrong?
> Thanks



-- 
David Kastrup



Re: Starting Piano music with acciaccatura on upper voice

2023-02-11 Thread Andrew Bernard

Known issue. Grace note synchronisation.

Add a spacer in the other staff.


Andrew




upper = \relative c'' {
  \clef treble
  \key g \major
  \time 4/4

  \acciaccatura ais8 b8.
}

lower = \relative c {
  \clef bass
  \key g \major
  \time 4/4
  \acciaccatura s8 fis8
}

\score {
  \new PianoStaff <<
    \new Staff { \upper }
    \new Staff { \lower }
  >>
}





Starting Piano music with acciaccatura on upper voice

2023-02-11 Thread Alberto Simões
Hi

I am starting a piano music this way:

upper = \relative c'' {
  \clef treble
  \key g \major
  \time 4/4

  \acciaccatura ais8 b8. 
}

and the lower voice as

lower = \relative c {
  \clef bass
  \key g \major
  \time 4/4
  fis8
}

but the lower staff starts with a treble clef followed by the bass clef
with the key signature.
This is quite weird

What am I doing wrong?
Thanks