Re: Removing accidentals from a voice
On Tue 15 Mar 2011, 15:36 Phil Holmes wrote: > in-key note, since this would then play wrong. It looks to me like > the accidental engraver is in the staff context. Is there any way > to remove the staff engraver for just one voice of a staff? I guess, you can move it to Voice? Remove from Staff and attach to Voice. ? And then force it (engraver) not to print accidentals for a voice. > > TIA > > -- > Phil Holmes -- Dmytro O. Redchuk Bug Squad ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing accidentals from a voice
Hi Phil, What about \override Voice.Accidental #'stencil = ##f or \override Voice.Accidental #'transparent = ##t ?? Hope this helps, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing accidentals from a voice
Hi Quite difficult without a snippet, but you could try, within your second voice : \override Accidental #'stencil = ##f Regards JMarc Phil Holmes a écrit : I have a score with lyrics that have slightly different rhythms for each verse. The way it's set in the original is to have full-size stem-up notes for the first verse, and small stem-down notes for the alternative. So far, so good - 2 voices, set voiceOne/voiceTwo, use \teeny to get small notes. The problem is that some of the notes have accidentals. With the \teeny, the accidentals are smaller and therefore don't overlap completely, and you get a sort-of shadow effect. I don't want to even try replacing the accidental with an in-key note, since this would then play wrong. It looks to me like the accidental engraver is in the staff context. Is there any way to remove the staff engraver for just one voice of a staff? TIA -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing accidentals from a voice
- Original Message - From: "Kieren MacMillan" To: "Phil Holmes" Cc: "LilyPond User Group" Sent: Tuesday, March 15, 2011 3:46 PM Subject: Re: Removing accidentals from a voice Hi Phil, What about \override Voice.Accidental #'stencil = ##f or \override Voice.Accidental #'transparent = ##t ?? Hope this helps, Kieren. Doh. I just assumed they wouldn't work. FWIW I also had to add \override Voice.AccidentalCautionary #'stencil = ##f in case that's of use to anyone else. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Removing accidentals from a voice
Hello, )-Original Message- )From: lilypond-user-bounces+james.lowe=datacore@gnu.org )[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On )Behalf Of Phil Holmes )Sent: 15 March 2011 16:10 )To: Kieren MacMillan )Cc: LilyPond User Group )Subject: Re: Removing accidentals from a voice ) ) )in case that's of use to anyone else. ) It might be of use to Mr. L. S. Repository. James ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Removing accidentals from a voice
> 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
Re: Removing accidentals from a voice
- Original Message - From: "James Lowe" To: "'Phil Holmes'" Cc: Sent: Tuesday, March 15, 2011 4:37 PM Subject: RE: Removing accidentals from a voice Hello, )-Original Message- )From: lilypond-user-bounces+james.lowe=datacore@gnu.org )[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On )Behalf Of Phil Holmes )Sent: 15 March 2011 16:10 )To: Kieren MacMillan )Cc: LilyPond User Group )Subject: Re: Removing accidentals from a voice ) ) )in case that's of use to anyone else. ) It might be of use to Mr. L. S. Repository. James == http://lsr.dsi.unimi.it/LSR/Item?u=1&id=758 -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user