notes = \relative c' { c d e f g a b c }
\score {
<<
\new Staff \with {
instrumentName = #"Voice"
} {
\new Voice = "vocal" \with {
\override NoteHead.color = \highlightOutOfRange e' b'
} { \notes }
}
\new Staff \with {
instrumentName = #"Alto"
} {
\new Voice = "sax" \with {
\override NoteHead.color = \highlightOutOfRange a e'
} { \transpose c g, \notes }
}
\new Staff \with {
instrumentName = #"Trumpet"
} {
\new Voice = "trp" \with {
\override NoteHead.color = \highlightOutOfRange g' f''
} { \transpose c b \notes }
}
>>
\layout { }
}
Am 15.11.2019 um 11:25 schrieb Sandro Santilli:
On Fri, Nov 15, 2019 at 10:45:45AM +0100, Michael Käppler wrote:
While I would strongly suggest that you update to the latest development
version, which can regarded
as very stable, this would work with 2.18.2:
Thanks, this works!
Can I specify a different override for different
voices by name ? Ie: I have these voices:
\new Staff \with {
instrumentName = #"Voice"
} {
\new Voice = "vocal" { \melody }
}
\new Staff \with {
instrumentName = #"Alto"
} {
\transpose c a
\new Voice = "sax" { \melody_alto }
}
\new Staff \with {
instrumentName = #"Trumpet"
} {
\transpose c d
\new Voice = "trp" { \melody_trp }
}
--strk;