lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \hideNotes removes dot from 4.


From: Michael Gerdau
Subject: Re: \hideNotes removes dot from 4.
Date: Wed, 8 Jan 2020 08:41:08 +0100 (CET)

Thank you David and Aaron!

Based on your responses I've created this example:
%%%%
\version "2.19.83"

\paper { indent = 0 }
butNotDots = \revert Dots.transparent

musica = \relative c''{ f4 g << { \hideNotes a4.( \unHideNotes g8) } \\ { a4.( 
g8) } >> }
musicb = \relative c''{ f4 g << { a4.( g8) } \\ { a4.( g8) } >> }
musicc = \relative c''{ f4 g << { \stemDown a4.( \stemUp g8) } \\ { \hideNotes 
a4.( \unHideNotes g8) } >> }
musicd = \relative c''{ f4 g << { \hideNotes \butNotDots a4.( \unHideNotes g8) 
} \\ { a4.( g8) } >> }

\markup "a) initial code; hiding voiceOne"
\score {
  \musica
}
\markup "b) no hiding voices"
\score {
  \musicb
}
\markup "c) hiding voiceTwo and adjusting stems of voiceOne"
\score {
  \musicc
}
\markup "d) hiding voiceTwo and keeping Dots"
\score {
  \musicd
}
%%%%

Both c) and d) seem to do what I want. Besides personal taste:
Is there a reason to prefer one over the other?
My gut feeling opts for d) as that provides proper stem direction when the 
music is transposed.

Kind regards,
Michael
-- 
Michael Gerdau email: address@hidden
GPG-keys available on request or at public keyserver

Attachment: hidden-dotted.pdf
Description: Adobe PDF document

Attachment: hidden-dotted.ly
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]