NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: Lawrie Pardy on 2012-07-13 02:02 pm

Title: Layers and gapping the staff
Post by: Lawrie Pardy on 2012-07-13 02:02 pm
Either I'm missing something or I've found a problem...

If you create a staff and put a gap in it, it works as expected.  Now, layer another staff and there are staff lines...  No matter if you copy the gap objects you still get staff lines...

Make several gaps to get an early end of one staff and an indent on the next (for a coda) and even stranger things happen.

Using NWC 2.5.5

Example:
Use page setup to hide staff-1 to see how it should look, then unhide staff-1 and check out what happens.
Title: Re: Layers and gapping the staff
Post by: Richard Woodroffe on 2012-07-13 02:39 pm
Don't think you're missing anything. I think you've found a problem.
Looks like a problem to me anyway.


Title: Re: Layers and gapping the staff
Post by: Rick G. on 2012-07-13 05:52 pm
I see problems, but they do not appear to involve layering.
The attachment is just a test bed. I like to work with something with a valid flow since NWC can be unpredictable with bad flow. I use three staves since NWC is known to treat the top, bottom and intermediate staves differently.

The flow is: Intro V1 SE1 V2 SE2 V3 SE3 V1 Coda1 Coda2
Which is what I would expect.

Print Preview Problem #1
Gaps seem to need some visible objects. If I remove (or hide) the red spacer(s) in measure 14, the gap misbehaves.

Print Preview Problem #2
Except for the top staff, the green Gaps don't supress the staff lines.
This is a new problem, not found in versions prior to 18Jan2012.
I cannot find a workaround for this. For now, it appears that Coda indenting is broken.
Title: Re: Layers and gapping the staff
Post by: Lawrie Pardy on 2012-07-14 08:59 am
OK, this is close - couple of changes to simplify things - Rick, you appear to be correct in that the gapping doesn't seem to like not having visible objects...

Title: Re: Layers and gapping the staff
Post by: Rick G. on 2012-07-17 04:21 pm
Summary of NWC 2.5.5's "gap on left" Print Preview problem.

For one staff, this works as expected:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.5,Single)
|Clef|Type:Treble
|Key|Signature:F#,C#,G#|Tonic:A
|RestMultiBar|NumBars:4|PrintOnce:Y|WhenHidden:ShowBars,ShowRests
|Bar|Style:Double|SysBreak:Y
|Boundary|Style:Gap|Width:1000|SystemConnections:N
|Note|Dur:8th|Pos:1|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:0|Opts:Stem=Up,Beam=End
|Note|Dur:Half,Dotted|Pos:-1
!NoteWorthyComposerClip-End

For 2 or more staves, additional elements are needed:
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.5)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|WithNextStaff:Layer
|Clef|Type:Treble
|Key|Signature:F#,C#,G#|Tonic:A
|RestMultiBar|NumBars:4|PrintOnce:Y|WhenHidden:ShowBars,ShowRests
|Bar|Style:Double|SysBreak:Y
|Spacer|Width:0|Color:1
|Boundary|Style:Gap|Width:1000|SystemConnections:N
|Clef|Type:Treble
|Key|Signature:F#,C#,G#|Tonic:A
|Note|Dur:8th|Pos:1|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:0|Opts:Stem=Up,Beam=End
|Note|Dur:Half,Dotted|Pos:-1
|Bar|Style:SectionClose
|AddStaff|Name:"Staff-1"
|StaffProperties|EndingBar:Open (hidden)
|Clef|Type:Treble
|Key|Signature:F#,C#,G#|Tonic:A
|RestMultiBar|NumBars:4|PrintOnce:Y|WhenHidden:ShowBars,ShowRests
|Bar|Style:Double|SysBreak:Y
|Spacer|Width:0|Color:1
|Boundary|Style:Gap|Width:200|SystemConnections:N
|Clef|Type:Treble
|Key|Signature:F#,C#,G#|Tonic:A
|Note|Dur:8th|Pos:-1|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:-2|Opts:Stem=Down,Beam=End
|Note|Dur:Half,Dotted|Pos:-3|Opts:Stem=Down
|Bar|Style:SectionClose
!NoteWorthyComposer-End
Visible elements must be placed ahead of the Gaps and the Clef/Key must be reintroduced, a nasty workaround that should not be needed.
Title: Re: Layers and gapping the staff
Post by: Lawrie Pardy on 2012-07-17 10:45 pm
Summary of NWC 2.5.5's "gap on left" Print Preview problem.

<snip>

Visible elements must be placed ahead of the Gaps and the Clef/Key must be reintroduced, a nasty workaround that should not be needed.
Then you add what I was doing with gaps at the end of the staff, a flow control (Coda) between two more gaps and then finally the staff continuation...

Looks good when it works.