Bug in \relative parsing?

Luca Fascione <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.devel
Message-ID <CAN3Q5NhyOCAOg0fRDzDH6Q8VPxnh_ZeM_t=isJ-Vqk2BeQybmQ@mail.gmail.com>
Hi folks,
I noticed that this

\score {
  \new Staff {
    f
  \relative a'4 { c }
  }
}

behaves unexpectedly (I'm using 2.24.4): it renders f3, f3, c3 in violin
clef.
In my head, the c3 is expected, because the \relative in this case is
parsed like this I'm guessing

f \relative { a'4 } { c }

ie. an f3 in absolute mode, an a'4 in relative mode (defaulting its
reference pitch to c3), then a one-note block in absolute mode. Except that
the note rendered should be a3, not f3.

HTH,
L


-- 
Luca Fascione
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.