Skip to main content
Topic: creating a rectangular box around a group of notes (Read 12723 times) previous topic - next topic

creating a rectangular box around a group of notes

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

Re: creating a rectangular box arond group of notes

Reply #1
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
Rich.

Re: creating a rectangular box arond a group of notes

Reply #2
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... :-)

Re: creating a rectangular box arond a group of notes

Reply #3
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
Registered user since 1996

Re: creating a rectangular box arond a group of notes

Reply #4
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
Registered user since 1996

Re: creating a rectangular box arond a group of notes

Reply #5
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
I plays 'Bones, crumpets, coronets, floosgals, youfonymums 'n tubies.


Re: creating a rectangular box arond a group of notes

Reply #7
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...
I plays 'Bones, crumpets, coronets, floosgals, youfonymums 'n tubies.

Re: creating a rectangular box arond a group of notes

Reply #8
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

Re: creating a rectangular box arond a group of notes

Reply #9
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.
Registered user since 1996

 

Re: creating a rectangular box around a group of notes

Reply #10
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

Re: creating a rectangular box around a group of notes

Reply #11
Quote
rg_ZenTxt v1.0

Rick, what's this?
I tried a search, but locating an attachement is always tricky.

Re: creating a rectangular box around a group of notes

Reply #12
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.  

Re: creating a rectangular box around a group of notes

Reply #13
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).
I plays 'Bones, crumpets, coronets, floosgals, youfonymums 'n tubies.

Re: creating a rectangular box around a group of notes

Reply #14
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.
  • Put the special endings on a layer that doesn't produce MIDI output.
  • Don't press F5 when this staff has the focus.
  • Don't make this staff the topmost visible staff.
Registered user since 1996

Re: creating a rectangular box around a group of notes

Reply #15
Thanks Lawrie and Rick, I'll try both possibilities and see what happens