Thanks Kieren,

> If the merged staff is coded as
>
>    \new Staff << \trpmusic \\ \tbmusic \\ \altomusic >>
>
> you'll get three separate (but correctly coloured!) Voices, rather
> than the combined single-Voice output you desire.

this works for now. Although it looks a bit messy when flags, rest, triplets
etc. show up in each and every voice.

This shorthand takes care of most of the "garbage". I use it now on all the
voices I don't want to have Stems/Beams/tuplets whatever and revert it
later.

NHonly = {
  % Remove everything exept note heads.
  % Add more if needed, but also do the \revert
  % in NHreverts!
  \override Voice.Stem #'transparent = ##t
  \override Voice.Beam #'transparent = ##t
  \override Voice.TupletBracket #'transparent = ##t
  \override Voice.TupletNumber #'transparent = ##t
  \override Voice.Rest #'transparent = ##t
  \override Voice.MultiMeasureRest #'transparent = ##t
}

NHreverts = {
  \revert Voice.Stem #'transparent
  \revert Voice.Beam #'transparent
  \revert Voice.TupletBracket #'transparent
  \revert Voice.TupletNumber #'transparent
  \revert Voice.Rest #'transparent
  \revert Voice.Rest #'staff-position
  \revert Voice.MultiMeasureRest #'transparent
}

Also I'll try the partcombiner some time later to pair voices up and hope
that some of the alignmet issues will improve...

Cheers,
Markus





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

Reply via email to