That works. Thanks.

On 9/17/2024 1:34 AM, Kieren MacMillan wrote:
Hi Walt,

I have a case where for vocalist I want to show melody and lyrics while for 
guitar player just the chords and lyrics.  I was thinking I could use nullvoice 
to align the lyrics for Both.  But Nullvoice is insisting on showing an empty 
staff.  I've tried using removeallemptystaves. Is there any way around this. 
Thanks for any insight you can provide.
I think Devnull does what you want…?

%%%  SNIPPET BEGINS
\version "2.24.2"

ch = \chordmode { c1 c }

notes = \relative c' {
   c4 d e f8 f |
   c4 d e f |
}

ly = \lyricmode {
   First measure will start here
   Second measure starts here
}

\markup "For vocalist"
\score {
   <<
     \new Voice = "one" \notes
     \new Lyrics \lyricsto "one" \ly
   >>
}

\markup "For guitarist"
\score {
   <<
     \new ChordNames \ch
     \new Devnull = "one" \notes
     \new Lyrics \lyricsto "one" \ly
   >>
}
%%%  SNIPPET ENDS

Hope that helps!
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