Hi all,

Please consider the following snippet:

%%%
\version "2.25.33"

music_only = \relative c'' {
  c4 4 4 d4
}

hider = {
  s4 \hideNotes s2 \unHideNotes
}

\score {
  << \music_only \hider >>
}

\score {
  <<
    \music_only
    \new Devnull \hider
  >>
}

hideScoreNotes = {
  % hide notes, accidentals, etc.
  \hide Score.Dots
  \hide Score.NoteHead
  \hide Score.NoteHead
  \hide Score.Stem
  \hide Score.Accidental
  \hide Score.Rest
  \hide Score.TabNoteHead
}
unHideScoreNotes = {
  \revert Score.Accidental.transparent
  \revert Score.Stem.transparent
  \revert Score.NoteHead.transparent
  \revert Score.NoteHead.no-ledgers
  \revert Score.Dots.transparent
  \revert Score.Rest.transparent
  \revert Score.TabNoteHead.transparent
}

hiderScore = {
  s4 \hideScoreNotes s2 \unHideScoreNotes
}

\score {
  <<
    \music_only
    \new Devnull \hiderScore
  >>
}
%%%

Why do the first two attempts fail?
Can they be fixed so one doesn’t have to use the “nuclear” option I have as my 
third score?

I tried a bunch of different incantations, but just couldn’t find the right one.

Thanks,
Kieren.
__________________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.


Reply via email to