NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: fathafluff on 2020-03-10 08:06 pm

Title: Note color question
Post by: fathafluff on 2020-03-10 08:06 pm
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.
Title: Re: Note color question
Post by: Rick G. on 2020-03-10 08:28 pm
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
Title: Re: Note color question
Post by: Mike Shawaluk on 2020-03-10 08:51 pm
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.
Title: Re: Note color question
Post by: fathafluff on 2020-03-10 09:48 pm
...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

Title: Re: Note color question
Post by: Rick G. on 2020-03-10 11:35 pm
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

Title: Re: Note color question
Post by: hmmueller on 2020-03-11 07:24 am
With the Beam.hmm (https://forum.noteworthycomposer.com/?topic=9745.0) object, it's not too hard, I'd say - see example.

H.M.

Title: Re: Note color question
Post by: Opagust on 2020-03-13 12:17 pm
With the Beam.hmm (https://forum.noteworthycomposer.com/?topic=9745.0) 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 (https://forum.noteworthycomposer.com/?topic=9997.msg71608)

Credits for @Rick G. and @hmmueller !