Skip to main content
Topic: Stacked Rests (Read 4362 times) previous topic - next topic

Stacked Rests

Is it possible to stack rests of different durations atop each other on the same staff/measure by making one of them a grace note rest?  If so how?

Re: Stacked Rests

Reply #1
No. Use text:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Text|Text:""|Font:StaffSymbols|Pos:4|Justify:Center|Placement:AtNextNote
|Rest|Dur:8th|Opts:VertOffset=-4
|Note|Dur:8th|Pos:0
|Chord|Dur:4th|Pos:-1|Opts:Stem=Down|Dur2:4th|Pos2:4
!NoteWorthyComposerClip-End
Registered user since 1996

 

Re: Stacked Rests

Reply #2
Rick,

Are you saying that you would need to write it into the code and that there is no way to do it otherwise? How exactly does one do that?

Could you make one or more of those rests invisible?

And when would you need to use this trick? I've not had to do this before but maybe I would want to one day.

Thanks

Re: Stacked Rests

Reply #3
Are you saying that you would need to write it into the code
I don't know what you mean by "write it into the code."
and that there is no way to do it otherwise? How exactly does one do that?
You can also use layers:
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.751)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|WithNextStaff:Layer
|Rest|Dur:4th|Opts:VertOffset=4
|Note|Dur:4th|Pos:4|Opts:Stem=Up
|AddStaff|Name:"Staff-2"
|StaffProperties|EndingBar:Open (hidden)
|Rest|Dur:8th|Opts:VertOffset=-4
|Note|Dur:8th|Pos:0
|Note|Dur:4th|Pos:-1|Opts:Stem=Down
!NoteWorthyComposer-End
Could you make one or more of those rests invisible?
Yes, but if you don't want to see the quarter rest, don't put it in.
It can be confusing if you can't see the rests.
And when would you need to use this trick?
When you have 2 or more voices on a staff that pause for different durations, but you can also do this:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Rest|Dur:8th
|RestChord|Dur:8th|Opts:Stem=Up|Dur2:8th|Pos2:0
|Chord|Dur:4th|Pos:-1|Opts:Stem=Down|Dur2:4th|Pos2:4
!NoteWorthyComposerClip-End
Registered user since 1996

Re: Stacked Rests

Reply #4
I don't know what you mean by "write it into the code" as it is not necessary to do this in NWCTXT.  When you select that pale anchor in front of the quarter rest and hit Cntl/E, you see it is a character of text with the Staff Symbols font.  Click on Char Map... and pick the symbol you need--it is not necessary to know its code.

To hide a rest (or just about anything else on the staff) select it, Cntl/E, then Visibility tab.  This is Rick's example hiding the eighth rest:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Text|Text:""|Font:StaffSymbols|Pos:4|Justify:Center|Placement:AtNextNote
|Rest|Dur:8th|Opts:VertOffset=-4|Visibility:Never
|Note|Dur:8th|Pos:0
|Chord|Dur:4th|Pos:-1|Opts:Stem=Down|Dur2:4th|Pos2:4
!NoteWorthyComposerClip-End
You can hide the text rest the same way, but why?  Text is never necessary for NWC to work so to hide it, take it out.
Since 1998

Re: Stacked Rests

Reply #5
Just guessing: "write it into the code" = inserting it by editing the nwctxt file.
Absolutely not necessary for text!

Re: Stacked Rests

Reply #6
I am revisiting this topic. At the time of first reading, I was totally confused by Rick's instructions to

I thought it meant that I actually had to write code to make it happen, or as Flurmy guessed, to edit the NCWtext file. That would have been far beyond my technical abilities!

So, now that I understand it does not involve that, Rick G., could you step me through the process you took when creating the above scores?  (I know that NWC requires certain things to happen in certain orders, to work properly when doing tricky manoeuvres).

Thanks!




Re: Stacked Rests

Reply #7
I am pretty sure that what Rick meant by "Use text" is just to insert a text object in your score, choosing the Staff Symbols font, and then picking the desired rest symbol. You can move it up or down on the staff to position it where you want. Warren's message above describes the necessary steps to do this.

Re: Stacked Rests

Reply #8
Wow, do I fell stupid for not figuring it out.  :o

Thank you for clarifying it! I’m off to re-examine those examples that were posted.