NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: LEON on 2012-10-05 11:26 PM

Title: creating a rectangular box around a group of notes
Post by: LEON on 2012-10-05 11:26 PM
Quite a common need in modern music writing. So far I have used horizontal and vertical lines in Times New Roman. It takes ages to prepare and makes me feel pretty dumb, because each time the line layout changes (as a result of musical additions) the notes space proportions change too, while the text does'nt. Still, the result is reasonably ok. Or is there a better and faster way?

User 6 font should be set at Tiems new roman 13 regular

!NoteWorthyComposerClip(2.5,Single)
|Clef|Type:Treble|OctaveShift:Octave Down
|Text|Text:"1"|Font:User4|Pos:-1|Placement:AtNextNote
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Text|Text:"3"|Font:User4|Pos:7|Placement:AtNextNote
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Text|Text:"\|"|Font:User6|Pos:11
|Text|Text:"\|"|Font:User6|Pos:-5
|Text|Text:"\|"|Font:User6|Pos:-1
|Text|Text:"\|"|Font:User6|Pos:-9
|Text|Text:"\|"|Font:User6|Pos:-13
|Text|Text:" __________"|Font:PageSmallText|Pos:-14
|Text|Text:"\|"|Font:User6|Pos:3
|Text|Text:" __________"|Font:PageSmallText|Pos:15
|Text|Text:"\|"|Font:User6|Pos:7
|Text|Text:"repeat ad lib."|Font:StaffBold|Pos:17|Placement:AtNextNote
|Spacer|Width:225
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Spacer|Width:150
|Text|Text:"\|"|Font:User6|Pos:-9
|Text|Text:"\|"|Font:User6|Pos:-13
|Text|Text:"\|"|Font:User6|Pos:-5
|Text|Text:"\|"|Font:User6|Pos:3
|Text|Text:"\|"|Font:User6|Pos:7
|Text|Text:"\|"|Font:User6|Pos:-2
|Text|Text:"\|"|Font:User6|Pos:11
|Spacer|Width:225
|Bar
|TimeSig|Signature:3/4
|Dynamic|Style:p|Pos:-13
|Text|Text:" i"|Font:User4|Pos:0|Placement:AtNextNote
|Note|Dur:16th,Triplet=First|Pos:3|Opts:Stem=Up,StemLength=12,Beam=First,XAccSpace=1,Muted
|Note|Dur:16th,Triplet|Pos:6|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet|Pos:6|Opts:Stem=Up,StemLength=11,Beam
|Spacer|Width:50
|Text|Text:" 2"|Font:User4|Pos:-3|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b0|Opts:Stem=Up,StemLength=11,Beam,Muted
|Spacer|Width:50
|Text|Text:"3"|Font:User4|Pos:6|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b3|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet=End|Pos:3|Opts:Stem=Up,StemLength=11,Beam=End
|Text|Text:" 0"|Font:User4|Pos:-8|Placement:AtNextNote
|Note|Dur:16th,Triplet=First|Pos:-5|Opts:Stem=Up,StemLength=18,Beam=First,Muted
|Spacer|Width:50
|Text|Text:"4"|Font:User4|Pos:8|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:5|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet|Pos:5|Opts:Stem=Up,StemLength=11,Beam
|Spacer|Width:50
|Text|Text:"acc. poco a poco"|Font:StaffItalic|Pos:-19|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b-1|Opts:Stem=Up,StemLength=11,Beam,Muted
|Spacer|Width:50
|Text|Text:"3"|Font:User4|Pos:5|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b2|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet=End|Pos:2|Opts:Stem=Up,StemLength=11,Beam=End
|Spacer|Width:50
|Note|Dur:16th,Triplet=First|Pos:n-7|Opts:Stem=Up,StemLength=18,Beam=First,Muted
|Spacer|Width:50
|Text|Text:"0"|Font:User4|Pos:6|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:n3|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet|Pos:3|Opts:Stem=Up,StemLength=11,Beam
|Spacer|Width:50
|Text|Text:" 2"|Font:User4|Pos:-6|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:-3|Opts:Stem=Up,StemLength=11,Beam,Muted
|Spacer|Width:50
|Text|Text:"3"|Font:User4|Pos:-4|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b0|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet=End|Pos:0|Opts:Stem=Up,StemLength=11,Beam=End
!NoteWorthyComposerClip-End
Title: Re: creating a rectangular box arond group of notes
Post by: Richard Woodroffe on 2012-10-05 11:44 PM
I would use one of the windings series of fonts.

Select user 1 to windings 2 size 48 but size to suit selection. Won't work for much larger selection.




Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.5)
|Locale|ACP:1252
|Editor|ActiveStaff:1|CaretIndex:18|SelectIndex:19|CaretPos:-3
|SongInfo|Title:""|Author:"<Name>"|Lyricist:""|Copyright1:"Copyright © 2012 <Name>"|Copyright2:"All Rights Reserved"
|PgSetup|StaffSize:16|Zoom:4|TitlePage:Y|JustifyVertically:Y|PrintSystemSepMark:N|ExtendLastSystem:N|DurationPadding:Y|PageNumbers:0|StaffLabels:None|BarNumbers:None|StartingBar:1
|Font|Style:StaffItalic|Typeface:"Times New Roman"|Size:10|Bold:Y|Italic:Y|CharSet:0
|Font|Style:StaffBold|Typeface:"Times New Roman"|Size:8|Bold:Y|Italic:N|CharSet:0
|Font|Style:StaffLyric|Typeface:"Times New Roman"|Size:7|Bold:N|Italic:N|CharSet:0
|Font|Style:PageTitleText|Typeface:"Times New Roman"|Size:24|Bold:Y|Italic:N|CharSet:0
|Font|Style:PageText|Typeface:"Times New Roman"|Size:12|Bold:N|Italic:N|CharSet:0
|Font|Style:PageSmallText|Typeface:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|Font|Style:User1|Typeface:"Wingdings 2"|Size:48|Bold:N|Italic:N|CharSet:2
|Font|Style:User2|Typeface:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|Font|Style:User3|Typeface:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|Font|Style:User4|Typeface:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|Font|Style:User5|Typeface:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|Font|Style:User6|Typeface:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|PgMargins|Left:1.27|Top:1.27|Right:1.27|Bottom:1.27|Mirror:N
|AddStaff|Name:"Staff"|Group:"Standard"
|StaffProperties|EndingBar:Section Close|Visible:Y|BoundaryTop:12|BoundaryBottom:12|Lines:5|Color:Default
|StaffProperties|Muted:N|Volume:127|StereoPan:64|Device:0|Channel:1
|StaffInstrument|Trans:0|DynVel:10,30,45,60,75,92,108,127
|Clef|Type:Treble|OctaveShift:Octave Down
|Text|Text:"1"|Font:User4|Pos:-1|Placement:AtNextNote
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Text|Text:"3"|Font:User4|Pos:7|Placement:AtNextNote
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Text|Text:"\|"|Font:User6|Pos:11
|Text|Text:"\|"|Font:User6|Pos:-5
|Text|Text:"\|"|Font:User6|Pos:-1
|Text|Text:"\|"|Font:User6|Pos:-9
|Text|Text:"\|"|Font:User6|Pos:-13
|Text|Text:"5"|Font:User1|Pos:-1
|Text|Text:" __________"|Font:PageSmallText|Pos:-14
|Text|Text:"\|"|Font:User6|Pos:3
|Text|Text:" __________"|Font:PageSmallText|Pos:15
|Text|Text:"\|"|Font:User6|Pos:7
|Text|Text:"repeat ad lib."|Font:StaffBold|Pos:17|Placement:AtNextNote
|Spacer|Width:225
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Spacer|Width:150
|Text|Text:"\|"|Font:User6|Pos:-9
|Text|Text:"\|"|Font:User6|Pos:-13
|Text|Text:"\|"|Font:User6|Pos:-5
|Text|Text:"\|"|Font:User6|Pos:3
|Text|Text:"\|"|Font:User6|Pos:7
|Text|Text:"\|"|Font:User6|Pos:-2
|Text|Text:"\|"|Font:User6|Pos:11
|Spacer|Width:225
|Bar
|TimeSig|Signature:3/4
|Dynamic|Style:p|Pos:-13
|Text|Text:" i"|Font:User4|Pos:0|Placement:AtNextNote
|Note|Dur:16th,Triplet=First|Pos:3|Opts:Stem=Up,StemLength=12,Beam=First,XAccSpace=1,Muted
|Note|Dur:16th,Triplet|Pos:6|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet|Pos:6|Opts:Stem=Up,StemLength=11,Beam
|Spacer|Width:50
|Text|Text:" 2"|Font:User4|Pos:-3|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b0|Opts:Stem=Up,StemLength=11,Beam,Muted
|Spacer|Width:50
|Text|Text:"3"|Font:User4|Pos:6|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b3|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet=End|Pos:3|Opts:Stem=Up,StemLength=11,Beam=End
|Text|Text:" 0"|Font:User4|Pos:-8|Placement:AtNextNote
|Note|Dur:16th,Triplet=First|Pos:-5|Opts:Stem=Up,StemLength=18,Beam=First,Muted
|Spacer|Width:50
|Text|Text:"4"|Font:User4|Pos:8|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:5|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet|Pos:5|Opts:Stem=Up,StemLength=11,Beam
|Spacer|Width:50
|Text|Text:"acc. poco a poco"|Font:StaffItalic|Pos:-19|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b-1|Opts:Stem=Up,StemLength=11,Beam,Muted
|Spacer|Width:50
|Text|Text:"3"|Font:User4|Pos:5|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b2|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet=End|Pos:2|Opts:Stem=Up,StemLength=11,Beam=End
|Spacer|Width:50
|Note|Dur:16th,Triplet=First|Pos:n-7|Opts:Stem=Up,StemLength=18,Beam=First,Muted
|Spacer|Width:50
|Text|Text:"0"|Font:User4|Pos:6|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:n3|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet|Pos:3|Opts:Stem=Up,StemLength=11,Beam
|Spacer|Width:50
|Text|Text:" 2"|Font:User4|Pos:-6|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:-3|Opts:Stem=Up,StemLength=11,Beam,Muted
|Spacer|Width:50
|Text|Text:"3"|Font:User4|Pos:-4|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b0|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet=End|Pos:0|Opts:Stem=Up,StemLength=11,Beam=End
!NoteWorthyComposer-End
Title: Re: creating a rectangular box arond a group of notes
Post by: LEON on 2012-10-06 12:09 AM
I would use one of the windings series of fonts. Won't work for much larger selection.

Precisely. In fact The first time I needed the box it was for a 12 notes group. First thing I did was lookig for a retangular shape in windings Swing ding etc. but I had to rule them out, because I would have needed fonts of 300 or so to get the right box width... Luckily the composer changed his mind and settled for a 3 notes box only, so I am off the hook for the time being... :-)
Title: Re: creating a rectangular box arond a group of notes
Post by: Rick G. on 2012-10-06 01:20 AM
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.5)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|WithNextStaff:Layer
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Spacer|Width:33
|Bar|XBarCnt:Y|Visibility:Never
|Spacer|Width:75
|Bar
|AddStaff|Name:"Staff-1"
|StaffProperties|EndingBar:Open (hidden)|BoundaryTop:10|BoundaryBottom:10
|StaffProperties|Volume:-1|StereoPan:-1
|Rest|Dur:4th|Visibility:Never
|Rest|Dur:8th|Visibility:Never
|Rest|Dur:8th|Visibility:Never
|RestChord|Dur:16th|Opts:Stem=Down,NoLegerLines,Muted,HideRest|Dur2:Whole|Pos2:6z
|Spacer|Width:75
|Bar|Visibility:Never
|Spacer|Width:50
|Ending|Endings:1|ClosedBracket:Y|HideText:Y|BracketHeight:17|VertOffset:-4|Visibility:Always
|Ending|VertOffset:-21|Visibility:Always
|Rest|Dur:8th|Visibility:Never
|Rest|Dur:16th|Visibility:Never
|Spacer|Width:0|Color:1
|Bar|Visibility:Never
|Spacer|Width:0|Color:1
|Bar
!NoteWorthyComposer-End
 0.324 rg_ZenTxt v1.0
Title: Re: creating a rectangular box arond a group of notes
Post by: Rick G. on 2012-10-06 05:56 AM
Or perhaps this:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.5,Single)
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Spacer|Width:50
|Text|Text:"CCCCCC"|Font:StaffCueSymbols|Pos:-12|Placement:AtNextNote
|Text|Text:"CCCCCC"|Font:StaffCueSymbols|Pos:8|Placement:AtNextNote
|Note|Dur:4th,Grace|Pos:8z|Opts:Stem=Down,StemLength=30,NoLegerLines,Muted
|Spacer|Width:50
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Text|Text:"CCCCCC"|Font:StaffCueSymbols|Pos:-12|Justify:Center|Placement:AtNextNote
|Text|Text:"CCCCCC"|Font:StaffCueSymbols|Pos:8|Justify:Center|Placement:AtNextNote
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Spacer|Width:50
|Text|Text:"CCCCCCC _"|Font:StaffCueSymbols|Pos:-12|Justify:Right|Placement:AtNextNote
|Text|Text:"CCCCCCC _"|Font:StaffCueSymbols|Pos:8|Justify:Right|Placement:AtNextNote
|Note|Dur:4th,Grace|Pos:8z|Opts:Stem=Down,StemLength=30,NoLegerLines,Muted
|Spacer|Width:50
|Bar
!NoteWorthyComposerClip-End
Title: Re: creating a rectangular box arond a group of notes
Post by: Lawrie Pardy on 2012-10-06 07:15 AM
Quite a common need in modern music writing. So far I have used horizontal and vertical lines in Times New Roman. It takes ages to prepare and makes me feel pretty dumb, because each time the line layout changes (as a result of musical additions) the notes space proportions change too, while the text does'nt. Still, the result is reasonably ok. Or is there a better and faster way?

How about this?
User 6 font should be set to MusikDingsSerif at staff metrics size.


Code: [Select · Download]
!NoteWorthyComposerClip(2.5,Single)
|Clef|Type:Treble|OctaveShift:Octave Down
|Text|Text:"1"|Font:User4|Pos:-1|Placement:AtNextNote
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Text|Text:"3"|Font:User4|Pos:7|Placement:AtNextNote
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Note|Dur:16th|Pos:-4|Opts:Stem=Down,Beam=First
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Text|Text:"repeat ad lib."|Font:StaffBold|Pos:17|Placement:AtNextNote
|Text|Text:"Ñ     Ï"|Font:User6|Pos:-8
|Text|Text:"¾    À"|Font:User6|Pos:1
|Spacer|Width:225
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Spacer|Width:150
|Text|Text:"Õ"|Font:User6|Pos:-8
|Text|Text:"Ö"|Font:User6|Pos:1
|Spacer|Width:225
|Bar
|TimeSig|Signature:3/4
|Dynamic|Style:p|Pos:-13
|Text|Text:" i"|Font:User4|Pos:0|Placement:AtNextNote
|Note|Dur:16th,Triplet=First|Pos:3|Opts:Stem=Up,StemLength=12,Beam=First,XAccSpace=1,Muted
|Note|Dur:16th,Triplet|Pos:6|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet|Pos:6|Opts:Stem=Up,StemLength=11,Beam
|Spacer|Width:50
|Text|Text:" 2"|Font:User4|Pos:-3|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b0|Opts:Stem=Up,StemLength=11,Beam,Muted
|Spacer|Width:50
|Text|Text:"3"|Font:User4|Pos:6|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b3|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet=End|Pos:3|Opts:Stem=Up,StemLength=11,Beam=End
|Text|Text:" 0"|Font:User4|Pos:-8|Placement:AtNextNote
|Note|Dur:16th,Triplet=First|Pos:-5|Opts:Stem=Up,StemLength=18,Beam=First,Muted
|Spacer|Width:50
|Text|Text:"4"|Font:User4|Pos:8|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:5|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet|Pos:5|Opts:Stem=Up,StemLength=11,Beam
|Spacer|Width:50
|Text|Text:"acc. poco a poco"|Font:StaffItalic|Pos:-19|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b-1|Opts:Stem=Up,StemLength=11,Beam,Muted
|Spacer|Width:50
|Text|Text:"3"|Font:User4|Pos:5|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b2|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet=End|Pos:2|Opts:Stem=Up,StemLength=11,Beam=End
|Spacer|Width:50
|Note|Dur:16th,Triplet=First|Pos:n-7|Opts:Stem=Up,StemLength=18,Beam=First,Muted
|Spacer|Width:50
|Text|Text:"0"|Font:User4|Pos:6|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:n3|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet|Pos:3|Opts:Stem=Up,StemLength=11,Beam
|Spacer|Width:50
|Text|Text:" 2"|Font:User4|Pos:-6|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:-3|Opts:Stem=Up,StemLength=11,Beam,Muted
|Spacer|Width:50
|Text|Text:"3"|Font:User4|Pos:-4|Placement:AtNextNote
|Note|Dur:16th,Triplet|Pos:b0|Opts:Stem=Up,StemLength=11,Beam
|Note|Dur:16th,Triplet=End|Pos:0|Opts:Stem=Up,StemLength=11,Beam=End
!NoteWorthyComposerClip-End
Title: Re: creating a rectangular box arond a group of notes
Post by: Rick G. on 2012-10-06 07:32 AM
I get a slight misalignment on the right.
Title: Re: creating a rectangular box arond a group of notes
Post by: Lawrie Pardy on 2012-10-06 07:46 AM
I get a slight misalignment on the right.
Yeah, I guess I didn't quite get the aligntment right when I created the font.  Do you realise I started my font project in 2005 ?!!?  Really doesn't seem that long ago...
Title: Re: creating a rectangular box arond a group of notes
Post by: LEON on 2012-10-06 06:22 PM
Rick, how clever this is! Thank you very much!
It took me almost an hour to figure out what you did. At first I was tempted to just copy-paste your example, but then I could not help myself trying to understand. Gave me quite a headache, but I am glad because in the way I learned new things. And for that I am even more thankful.
At first glance, I preferred the example in which horizontal lines were inserted as NWC text and the vertical ones as headless grace notes with stem length 30. I thought it was as simple as joining matchsticks, and has also the advantage of not requiring an extra staff.
But then there is a limit to the max. height of the box, as stems lengths can't go over 30. Reminds my of a car I had when I as a student. 
So I went for the second example. I learned to control the special ending length by inserting phantom bar lines before and after it, and learn how to manipulate its size by using menu options I usually don't even look at. I also understood the difference between "always" and "default" visibility. Imagine yourself, so far I thought they were the same, shame on me… 

One question: although it looks as a phantom rest, one of the rests appears to be a rest chord in which the rest is made invisible, and its note member is a headless whole note without leger lines. I wonder why it's there: I tried to change it into a normal invisible rest, and everything was still ok. 

Anyway, thanks again
Leon
Title: Re: creating a rectangular box arond a group of notes
Post by: Rick G. on 2012-10-06 06:58 PM
although it looks as a phantom rest, one of the rests appears to be a rest chord in which the rest is made invisible, and its note member is a headless whole note without leger lines. I wonder why it's there: I tried to change it into a normal invisible rest, and everything was still ok.
Depends on what you mean by "ok". The horizontal spacing changes. NWC can be unpredictable about the alignment and space it reserves for objects marked 'Visibility:Never'. In some cases it helps to use a visible object that produces no ink.
Title: Re: creating a rectangular box around a group of notes
Post by: LEON on 2012-10-06 09:07 PM
NWC can be unpredictable about the alignment and space it reserves for objects marked 'Visibility:Never'.
Ok, good to know, thanks.
And thanks to you too Lawrie, I forgot
Leon
Title: Re: creating a rectangular box around a group of notes
Post by: Flurmy on 2012-10-09 06:28 AM
Quote
rg_ZenTxt v1.0

Rick, what's this?
I tried a search, but locating an attachement is always tricky.
Title: Re: creating a rectangular box around a group of notes
Post by: LEON on 2012-11-12 03:20 AM
Took me a while to realize that the rectangular box made with special endings caused the key signs at the clefs to act strangely, causing them to become insensitive to key changes which appeared after it. Before the "box" the piece was in D and when shortly after the box it moved to C, the key signs at the clefs continued to show as if no key changed had occurred. The other layered staves (the ones without the "box") behaved normally of course.
I tried to change the ending number to no avail, and then used the button "continue prior ending" to see what would happen. Even though the latter fixed the alterations' "anomaly" it made the left vertical line of the box disappear, so I had to uncheck it. Eventually I got rid of all key alterations in the staff in which the "box" was inserted while leaving in the other layered staves the key changes as they needed to be, so as to fix at least the visuals. I am ok with the result since I don't mind too much about the midi output in this case, but I wonder if there is a better solution, one that would not affect the midi output.  
Title: Re: creating a rectangular box around a group of notes
Post by: Lawrie Pardy on 2012-11-12 03:46 AM
Hey Leon,
I reckon you should have a second look at my suggestion - doesn't use special endings or other messiness, just 2 text entries...

It's way easier, all you really need is the "PardyPack" of fonts from NWC which only needs to be installed once (per machine).
Title: Re: creating a rectangular box around a group of notes
Post by: Rick G. on 2012-11-12 04:11 AM
I reckon you should have a second look at my suggestion - doesn't use special endings or other messiness, just 2 text entries...
Text doesn't compensate for the transition from view mode to print mode.

I wonder if there is a better solution, one that would not affect the midi output.
Title: Re: creating a rectangular box around a group of notes
Post by: LEON on 2012-11-12 11:39 PM
Thanks Lawrie and Rick, I'll try both possibilities and see what happens