... ou bien même, simplifions encore :
\version "2.16.2"
mc = #(define-music-function (parser location mus) (ly:music?)
#{
\tag #'MaCroix {
\once\revert NoteHead #'transparent
$mus
\override NoteHead #'transparent = ##t
}
\tag #'Standard { $mus }
#})
maMusique = \relative c' {
\mc c d e \mc f g a \mc b c
}
\new Staff {
\keepWithTag #'Standard
\maMusique
}
\new DrumStaff
\with { \override StaffSymbol #'line-count = #1 }
{
\override NoteHead #'transparent = ##t
\override Stem #'stencil = ##f
\override Accidental #'stencil = ##f
\override NoteHead #'style = #'cross
\keepWithTag #'MaCroix
\maMusique
}
A+
Pierre