NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: Peter Edwards on 2012-11-07 05:27 pm

Title: Boundary Offset Moves Lyrics on Layered Staff
Post by: Peter Edwards on 2012-11-07 05:27 pm
If you layer a staff with lyrics with another staff, and change the boundary offset of that second staff, then the lyrics on the first staff move too! Not what I was trying to achieve at all.
Title: Re: Boundary Offset Moves Lyrics on Layered Staff
Post by: Rick G. on 2012-11-07 07:23 pm
I think I agree. This code would seem to be a logical way to handle an intro, verses and chorus. It doesn't work (as of NWC 2.5.5) because the Boundary Change (http://ntworthy.com/nwc2/help/MNU_ADDSIZER.htm) moves the lyrics relative to the staff.
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.5)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|BoundaryBottom:24
|Lyric1|Text:"Verse_1 Chorus more_Chorus\r\n"
|Lyric2|Text:"Verse_2\r\n"
|Lyric3|Text:"Verse_3\r\n"
|Boundary|Style:NewSize|Upper:8|Lower:8|Color:6
|RestMultiBar|NumBars:4|PrintOnce:Y|WhenHidden:ShowBars,ShowRests
|Bar|Style:Double|SysBreak:Y
|Boundary|Style:Reset|Color:6
|Rest|Dur:Whole,Grace|Opts:Lyric=Always|Visibility:Never
|RestMultiBar|NumBars:8|PrintOnce:Y|WhenHidden:ShowBars,ShowRests
|Bar|Style:Double|SysBreak:Y
|Boundary|Style:NewSize|Upper:8|Lower:12|Color:6
|Rest|Dur:Whole,Grace|Opts:Lyric=Always|Visibility:Never
|RestMultiBar|NumBars:4|PrintOnce:Y|WhenHidden:ShowBars,ShowRests
|Bar|SysBreak:Y
|Rest|Dur:Whole,Grace|Opts:Lyric=Always|Visibility:Never
|RestMultiBar|NumBars:4|PrintOnce:Y|WhenHidden:ShowBars,ShowRests
|Bar|Style:SectionClose|SysBreak:Y
!NoteWorthyComposer-End
A better default might be to keep the lyric position. A 'Lyrics Offset' spinbox might be added that works like the Offset spinbox in the Lyrics Command (http://ntworthy.com/nwc2/help/MNU_EDITLYRICS.htm).

In clip text, it might look like:
Quote
|Boundary|Style:NewSize|Upper:8|Lower:12|Lyric:0
Title: Re: Boundary Offset Moves Lyrics on Layered Staff
Post by: Peter Edwards on 2012-11-08 12:16 pm
Interesting, but not the point I was making ;-)

If you examine this code then you'll see that the Boundary Offset on one staff is affecting the lyric position on the other.

Code: [Select · Download]
!NoteWorthyComposer(2.5)
|Locale|ACP:1252
|Editor|ActiveStaff:2|CaretIndex:9|CaretPos:0
|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:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|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:Open (hidden)|Visible:Y|BoundaryTop:12|BoundaryBottom:10|Lines:5|WithNextStaff:Layer|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
|Lyrics|Placement:Bottom|Align:Standard Rules|Offset:0
|Lyric1|Text:"Any old lyrics\r\n"
|Clef|Type:Treble
|TimeSig|Signature:4/4
|Note|Dur:Whole|Pos:0
|Bar
|Note|Dur:Whole|Pos:0
|Bar|SysBreak:Y
|Note|Dur:Whole|Pos:0
|Bar|Style:SectionClose|SysBreak:Y
|AddStaff|Name:"Staff-1"|Group:"Standard"
|StaffProperties|EndingBar:Section Close|Visible:Y|BoundaryTop:10|BoundaryBottom:10|Lines:5|Color:Default
|StaffProperties|Muted:N|Volume:127|StereoPan:64|Device:0|Channel:2
|StaffInstrument|Trans:0|DynVel:10,30,45,60,75,92,108,127
|Clef|Type:Treble
|TimeSig|Signature:4/4
|Rest|Dur:Whole|Visibility:Never
|Bar
|Boundary|Style:NewSize|Lower:41|Color:6
|Rest|Dur:Whole|Visibility:Never
|Bar
|Boundary|Style:Reset|Color:6
|Rest|Dur:Whole|Visibility:Never
!NoteWorthyComposer-End
Title: Re: Boundary Offset Moves Lyrics on Layered Staff
Post by: Rick G. on 2012-11-08 05:10 pm
Interesting, but not the point I was making ;-)
Your point seems to be that the Boundary Change (http://ntworthy.com/nwc2/help/MNU_ADDSIZER.htm) in a layer shouldn't affect lyrics in another staff. My point is that NoteWorthy should ignore the Boundary Change (as it exists in NWC 2.5.5) when positioning lyrics. IMO, your point is a subset of mine.
Title: Re: Boundary Offset Moves Lyrics on Layered Staff
Post by: Peter Edwards on 2012-11-08 05:38 pm
IMO, your point is a subset of mine.

Well no. I'm happy with the lyric shifting behaviour, and that's why I'm using Boundary Change to achieve it. But I'm not happy that the properties of another staff are interfering with it.

Title: Re: Boundary Offset Moves Lyrics on Layered Staff
Post by: Rick G. on 2012-11-08 07:26 pm
I'm happy with the lyric shifting behaviour, and that's why I'm using Boundary Change to achieve it.
Perhaps you could provide an example of your joy :)
Title: Re: Boundary Offset Moves Lyrics on Layered Staff
Post by: Rick G. on 2012-11-08 11:17 pm
It doesn't look like this behavior is new to Boundary Changes and NWC 2.5. any extreme 'Lower Boundary' moves the lyics.
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.5)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|BoundaryBottom:10|WithNextStaff:Layer
|Lyrics|Align:Standard Rules
|Lyric1|Text:"Any old lyrics\r\n"
|Note|Dur:Whole|Pos:0
|Bar
|Note|Dur:Whole|Pos:0
|Bar|SysBreak:Y
|Note|Dur:Whole|Pos:0
|Bar|Style:SectionClose|SysBreak:Y
|AddStaff|Name:"Staff-1"
|StaffProperties|EndingBar:Open (hidden)|BoundaryBottom:24
|RestMultiBar|NumBars:3|PrintOnce:Y|WhenHidden:ShowBars,ShowRests|Visibility:Never
!NoteWorthyComposer-End