Skip to main content
Topic: RestChords - hiding the rest (NWC2) (Read 25130 times) previous topic - next topic

RestChords - hiding the rest (NWC2)

There are times when you need a RestChord to show the notes, but not the rest.  NWC2's user interface lets you set the Vertical Offset to ±15. The actual effective range (as of Beta 2.12) seems to be +2048/-2047, which can be set via a User Tool, such as:

Name: RestChord Offset
Command: php\php.exe Scripts\adp_GlobalMod.php RestChord Opts.VertOffset=<PROMPT:=#[-2000,2000]>

Use 2000 when the Rest is above the Chord/Note, -2000 when it is below.
This doesn't hide it, but it does take it off the page. (demo attached)

2007Oct01 edit: changed font to  teletype, range to ±2000
Registered user since 1996

Re: RestChords - hiding the rest (NWC2)

Reply #1
Well spotted Rick.

That's got far more usefulness than just rest chords.  Thinking of a simple rest that you don't want shown ie for layering. No longer have to use muted headless combinations of notes with stem set as appropriate to fill the appropriate time for the measure. You can now use a whole note rest that has just been sent to pos 2048 .

If this was a mistake - keep it in. If it wasn't bravo !!!!  Three cheers.

Just one question - why wasn't it included in the rundown of updated features.


Rich.

Re: RestChords - hiding the rest (NWC2)

Reply #2
Here's another use: Controlling slurs
Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|TimeSig|Signature:3/4
|Text|Text:"Default"|Font:PageSmallText|Pos:13
|Note|Dur:4th,Slur|Pos:1
|Note|Dur:4th,Slur|Pos:6
|Note|Dur:4th|Pos:-1
|Bar
|Text|Text:"RestChord"|Font:PageSmallText|Pos:13
|Note|Dur:4th,Slur|Pos:1
|Note|Dur:4th,Slur|Pos:6
|RestChord|Dur:4th|Opts:Stem=Down,VertOffset=-2047|Dur2:4th|Pos2:-1
|Bar
|Text|Text:"Blank Notehead"|Font:PageSmallText|Pos:13
|Note|Dur:4th,Slur|Pos:1
|Note|Dur:4th,Slur|Pos:6
|Note|Dur:Whole,Grace|Pos:-1z^|Opts:NoLegerLines|Visibility:Never
|Note|Dur:Whole,Grace|Pos:4z^|Opts:NoLegerLines,Muted|Visibility:Never
|Chord|Dur:4th|Pos:-1,4z|Opts:Stem=Up,StemLength=2
!NoteWorthyComposerClip-End
Measure 3 is probably the best, but more complex.
Registered user since 1996

Re: RestChords - hiding the rest (NWC2)

Reply #3
Notes with stems up and flags take up less horizontal space when combined with a rest:
Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Note|Dur:4th|Pos:-1
|Note|Dur:8th,Dotted|Pos:-1
|Rest|Dur:16th
|Note|Dur:Half|Pos:-1
|Bar
|Note|Dur:4th|Pos:-1
|RestChord|Dur:8th,Dotted|Opts:Stem=Down,VertOffset=-2047|Dur2:8th,Dotted|Pos2:-1
|Rest|Dur:16th
|Note|Dur:Half|Pos:-1
!NoteWorthyComposerClip-End
Measure 2 uses a RestChord for the 8th note.
Sometimes, this is all you need to get an extra measure on a line.
Registered user since 1996

Re: RestChords - hiding the rest (NWC2)

Reply #4
Some folks may like the bracket spacing in measures 3 and 4:
Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Note|Dur:4th,Triplet=First|Pos:3
|Note|Dur:Half,Triplet=End|Pos:3
|Note|Dur:Half|Pos:2
|Bar
|Note|Dur:4th,Triplet=First|Pos:-3
|Note|Dur:Half,Triplet=End|Pos:-3
|Note|Dur:Half|Pos:-2
|Bar
|Note|Dur:4th,Triplet=First|Pos:3
|RestChord|Dur:4th,Triplet|Opts:Stem=Up,VertOffset=2000|Dur2:Half|Pos2:3
|RestChord|Dur:4th,Triplet=End|Opts:Stem=Up,Muted,VertOffset=2000|Dur2:Whole|Pos2:3z
|Note|Dur:Half|Pos:2
|Bar
|Note|Dur:4th,Triplet=First|Pos:-3
|RestChord|Dur:4th,Triplet|Opts:Stem=Down,VertOffset=-2000|Dur2:Half|Pos2:-3
|RestChord|Dur:4th,Triplet=End|Opts:Stem=Down,Muted,VertOffset=-2000|Dur2:Whole|Pos2:-3z
|Note|Dur:Half|Pos:-2
!NoteWorthyComposerClip-End
Registered user since 1996

 

Re: RestChords - hiding the rest (NWC2)

Reply #5
Triplet brackets can also be hidden. Layer:
Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Note|Dur:4th,Triplet=First|Pos:2
|Note|Dur:4th,Triplet|Pos:1
|Note|Dur:4th,Triplet=End|Pos:0
|Note|Dur:4th,Triplet=First|Pos:-1
|Note|Dur:4th,Triplet|Pos:-2
|Note|Dur:4th,Triplet=End|Pos:-3
|Bar
|RestChord|Dur:4th,Triplet=First|Opts:Stem=Up,VertOffset=2000|Dur2:4th|Pos2:2
|RestChord|Dur:4th,Triplet|Opts:Stem=Up,VertOffset=2000|Dur2:4th|Pos2:1
|RestChord|Dur:4th,Triplet=End|Opts:Stem=Up,VertOffset=2000|Dur2:4th|Pos2:0
|RestChord|Dur:4th,Triplet=First|Opts:Stem=Down,VertOffset=-2000|Dur2:4th|Pos2:-1
|RestChord|Dur:4th,Triplet|Opts:Stem=Down,VertOffset=-2000|Dur2:4th|Pos2:-2
|RestChord|Dur:4th,Triplet=End|Opts:Stem=Down,VertOffset=-2000|Dur2:4th|Pos2:-3
|Bar
!NoteWorthyComposerClip-End
with:
Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Rest|Dur:Whole|Opts:VertOffset=2000
|Bar
|Note|Dur:Half,Triplet=First|Pos:-3z|Opts:Stem=Up,StemLength=0,NoLegerLines,Muted
|Note|Dur:4th,Triplet=End|Pos:-3z|Opts:Stem=Up,StemLength=0,NoLegerLines,Muted
|Note|Dur:Half,Triplet=First|Pos:4z|Opts:Stem=Down,StemLength=0,NoLegerLines,Muted
|Note|Dur:4th,Triplet=End|Pos:4z|Opts:Stem=Down,StemLength=0,NoLegerLines,Muted
|Bar
!NoteWorthyComposerClip-End
The first measure shows the default postition. The second puts the brackets on the "head' side. This has some playback issues. The notes sound for a bit longer than a normal triplet.

Unfortunately, this will not work if anything is beamed, since inexplicably, the "Chord" part of a RestChord cannot be beamed.
Registered user since 1996