Skip to main content

Topic: Note color question (Read 327 times) previous topic - next topic

Note color question
I am trying to change the color of some beamed notes. When I select the notes and change the color, the note heads, stems and accents change to the new color, but the beams, slurs and leger lines do not. I can then change the note heads to a different color (observation only; I don't actually want to do that.) I would, however, like to know if it is possible to change the beam and slur color. I guess I don't care about the leger line color, since I'm not changing the staff color.

Re: Note color question
Reply #1
Beam: no, slur: yes.
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Marker|Pos:2|Color:1
|Note|Dur:4th,Slur|Pos:0
|Note|Dur:4th|Pos:0
!NoteWorthyComposerClip-End
Registered user since 1996

Re: Note color question
Reply #2
The Beam color seems to inherit the staff color.  Also, it seems that a tie will inherit the color of the note it is tied from.

Re: Note color question
Reply #3
...it seems that a tie will inherit the color of the note it is tied from.
I think I'd consider the beam color a bug. The beam (and slur) seem to be a "property" of the note. So I would expect them to inherit the color of the (first?) beamed note (as does the tie). Or should the marker be expanded to include beams? As for the slur, it makes sense that the marker would not affect the color of the slur after the beginning of the slur. (See clip; second marker has no effect.)
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Marker|Pos:0|Color:6
|Note|Dur:8th,Slur|Pos:0|Opts:Stem=Down,Beam=First|Color:2
|Note|Dur:8th,Slur|Pos:0|Opts:Stem=Down,Beam|Color:2
|Marker|Pos:0|Color:2
|Note|Dur:16th,Slur|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=End
!NoteWorthyComposerClip-End


Re: Note color question
Reply #4
You can get control of these things. I wouldn't want to do a whole song, but it works well enough for an example or two.
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.751)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|WithNextStaff:Layer|Color:Highlight 1
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=First,Muted
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam,Muted
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam,Muted
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam,Muted
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=End,Muted
|Bar
|Marker|Pos:1.75|Color:6
|Note|Dur:8th,Slur|Pos:0|Opts:Stem=Down,Beam=First|Color:2
|Note|Dur:8th,Slur|Pos:0|Opts:Stem=Down,Beam|Color:2
|Note|Dur:16th,Slur|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=End
|Bar
|AddStaff|Name:"Staff-2"
|StaffProperties|EndingBar:Open (hidden)
|Marker|Pos:1.75|Color:6
|Note|Dur:8th,Slur|Pos:0|Opts:Stem=Down,StemLength=0,Beam=First|Color:2
|Note|Dur:8th,Slur|Pos:0|Opts:Stem=Down,StemLength=0,Beam|Color:2
|Note|Dur:16th,Slur|Pos:0|Opts:Stem=Down,StemLength=0,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,StemLength=0,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,StemLength=0,Beam=End
|Bar
|RestChord|Dur:8th|Opts:Stem=Up,Muted,HideRest|Dur2:4th|Pos2:0z
|RestChord|Dur:8th|Opts:Stem=Up,Muted,HideRest|Dur2:4th|Pos2:0z
|RestChord|Dur:16th|Opts:Stem=Up,Muted,HideRest|Dur2:4th|Pos2:0
|RestChord|Dur:16th|Opts:Stem=Up,Muted,HideRest|Dur2:4th|Pos2:0
|RestChord|Dur:8th|Opts:Stem=Up,Muted,HideRest|Dur2:4th|Pos2:0
|Bar
!NoteWorthyComposer-End
Registered user since 1996

Re: Note color question
Reply #5
With the Beam.hmm object, it's not too hard, I'd say - see example.

H.M.
  • Last Edit: 2020-03-11 08:05 am by hmmueller

Re: Note color question
Reply #6
With the Beam.hmm object, it's not too hard, I'd say - see example.

I agree it's not too hard, but nevertheless I thought 'Maybe it can be made even easier', so I wrote ColoringBeamsSlursTriplets.og

Credits for @Rick G. and @hmmueller !
Always look on the bright side of life!