> 2 voices, set voiceOne/voiceTwo

Phil,
When using separate voices, I've used:
accN = {
        \once \override Voice.Accidental #'stencil = ##f
        \once \override Voice.Accidental #'X-extent = #'(0 . 0)
}

Then, in whatever voice needs an invisible accidental, it would be:
\accN cs4

I've needed to adjust the X-extent when using this to hide accidentals on
tied notes after line breaks, as the space was still reserved (quite
contrary to other "stencil = ##f" situations). I'm not sure you'll need that
line of code. Just be aware, if that voice has a chord, none of the pitches
in the chord will have accidentals.
David

-- 
View this message in context: 
http://old.nabble.com/Removing-accidentals-from-a-voice-tp31155084p31155772.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to