Hello Paul, this I suppose is either a bug or UB. So what is happening is that you have two 8th notes, one is hidden — and hidden does also mean that everything is hidden, head, stem, flag, accidentals, beam.
And as you can see here
{
\once\hideNotes 8 8 8 8
8 \once\hideNotes 8 8 8
8 8 \once\hideNotes 8 8
8 8 8 \once\hideNotes 8
}
whether this has an effect for beams depends on whether the beam was created
before \hideNotes was set (the Beam displays) or after that (the Beam does not
display.
In your particular case you have a beam between
\once \hideNotes cf8) \tweak NoteHead.color "red" f,8
that is transparent as it starts on the cf.
Note that you don’t actually want the beam to display though — rather you want
the f,8 to be displayed as beamless.
The cleanest way to do this would be to except the hidden note from beaming:
%%%
\version "2.26.0"
\language "english"
\header { title = "MWE" }
prepStaff = { \key g \major \time 2/4 }
tenor = \relative c' { r8 e <ef cf>4 }
bass = \relative c' {
c4( \once \hideNotes cf8\noBeam)
\tweak NoteHead.color "red" f,8
| bf, bf,
}
\score {
\new PianoStaff <<
\new Staff = "left"
{ \clef bass \prepStaff << \tenor \\ \bass >> }
>>
\layout { }
}
%%%
Cheers,
Tina
Am Samstag, 29. August 2026, 15:30:20 Mitteleuropäische Sommerzeit schrieb Paul
McKay:
> Hi
> I am transcribing some music which contains the following. My question is:
> How do I make the red note show as a quaver?
> Thanks in advance
> Paul McKay
>
> % ----- Start MWE
> \version "2.26.0"
> \language "english"
>
> \header { title = "MWE" }
> prepStaff = { \key g \major \time 2/4 }
> tenor = \relative c' { r8 e <ef cf>4 }
>
> bass = \relative c' {
> c4( \once \hideNotes cf8)
> \tweak NoteHead.color "red" f,8
>
> | bf, bf,
>
> }
>
> \score {
> \new PianoStaff <<
> \new Staff = "left"
> { \clef bass \prepStaff << \tenor \\ \bass >> }
>
> \layout { }
> }
> % ----- End MWE
signature.asc
Description: This is a digitally signed message part.
