Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - Rick G.

353
Tips & Tricks / Re: PageTxt
I'm now using PageTxt to put the page number, the title and the name of the part (staff label) on each page after the first one.
Of course this is no rocket science and maybe neither the best solution (Rick?)
I set the page margins to confine staff printing. I enforce this with: |Boundary|Style:NewSize items.
I put PageTxt items outside the margins. The result is that PageTxt items do not collide with staff items.

More and more, I am unchecking 'Title Page Info' (|PgSetup|TitlePage:N) and using Boundaries to get the first page right.
I never want to see 'Title Page Info' in the viewer anyway. I wish that the viewer would stop reserving space for it.
354
General Discussion / Re: StaffLabel
When I print the single parts, hiding what's not needed, at the bottom of the pages, except the first one, I get "Harp 1" or "Harp 2" or...
When I print the conductor score I get 4 overprinted titles and page numbers and, and this is the big hurdle, all the staff labels overlapped.
Try this attachment. Include all groups in the score printout. Exclude the Score group from the part printouts.
355
General Discussion / Re: Lyrics problem or a lyrics workaround - take your pick.
My approach is to treat lyrics like voices. Put them on their own staff.

When it comes to changing boundaries, it becomes a simple matter of reserving enough space so that the lyrics do not clash with the music above or below them. If you need to center choruses and get them to highlight properly during playback, this is the only method I have found that works.

In the attachment, it takes 27 positions to accommodate seven verses. Reducing to two lyrics requires 8 (27/7 * 2 = 7.7) Not a lot of thought needed.

This also has the advantage that you can remove the lyrics from contents when you want to concentrate on editing the music.
357
General Discussion / Re: PageTxt.nw object
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.75)
|SongInfo|Comments:"PageTotal:3"
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)
|User|PageTxtMaestro.nw|Pos:10|Class:StaffSig
|Rest|Dur:Whole
|Bar
|User|PageTxt.nw|Pos:8|PgStyle:PageNumber|Text:"Page %PageNum,1% of %Comment,PageTotal%"|Fnt:PageSmallText|YLoc:Top|XLoc:Right
|Rest|Dur:Whole
|Bar
|Boundary|Style:NewSystem|NewPage:Y
|Rest|Dur:Whole
|Bar
|Boundary|Style:NewSystem|NewPage:Y
|Rest|Dur:Whole
|Bar
|Boundary|Style:NewSystem|NewPage:Y
!NoteWorthyComposer-End
358
General Discussion / Re: PageTxt.nw object
a) could the object be modified to have an additional variable available that permits printing the total number of pages?  Is this data even available?  Surely it would be at print time...
I agree that it would be useful to have an API function to return the number of pages. It might be as simple as returning two values from: nwcdraw.getPageCounter()
359
General Discussion / Re: spacing
Manual spacing might look something like this:
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.75)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|BoundaryBottom:16|WithNextStaff:Layer
|Lyrics|Align:Standard Rules
|Lyric1|Text:"fail-ing\n"
|Note|Dur:8th,Slur|Pos:-3|Opts:Stem=Up,Slur=Upward,Beam=First
|Spacer|Width:75
|Note|Dur:8th,Slur|Pos:-4|Opts:Stem=Up,Beam=End
|Spacer|Width:75
|Note|Dur:4th|Pos:-5
|Spacer|Width:100
|Note|Dur:4th|Pos:-6
|Spacer|Width:75
|Bar
|AddStaff|Name:"Staff-2"
|StaffProperties|EndingBar:Open (hidden)
|Note|Dur:4th,Slur|Pos:-8|Opts:Stem=Down,Slur=Downward,StemLength=4
|Spacer|Width:0|Color:1
|Note|Dur:4th|Pos:-7|Opts:Stem=Up
|Spacer|Width:0|Color:1
|Note|Dur:4th|Pos:-6|Opts:Stem=Down,StemLength=5
|Spacer|Width:0|Color:1
|Bar
|Spacer|Width:0|Color:1
!NoteWorthyComposer-End
and yes, it can get tedious.
360
General Discussion / Re: slur and chords
You are welcome.
I wanted the slur above and below two chords. so that is impossible without adding the extra overlapping staff.
Not impossible:
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.75)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|BoundaryBottom:16
|Lyrics|Align:Standard Rules
|Lyric1|Text:"fail-ing\n"
|User|Slur.ms|Pos:-9|Span:3|Dir:Downward
|Chord|Dur:8th,Slur|Pos:-3|Opts:Stem=Up,Slur=Upward,Beam=First|Dur2:4th|Pos2:-8
|Note|Dur:8th,Slur|Pos:-4|Opts:Stem=Up,Beam=End
|Chord|Dur:4th|Pos:-7,-5
|Chord|Dur:4th|Pos:-6|Opts:Stem=Down|Dur2:4th|Pos2:-6
|Bar
!NoteWorthyComposer-End
361
General Discussion / Re: slur and chords
I want to add a slur on the top and bottom notes between 2 chords. How do I do that?
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.75)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|BoundaryBottom:16|WithNextStaff:Layer
|Lyrics|Align:Standard Rules
|Lyric1|Text:"fail-ing\n"
|Note|Dur:8th,Slur|Pos:-3|Opts:Stem=Up,Slur=Upward,Beam=First
|Note|Dur:8th,Slur|Pos:-4|Opts:Stem=Up,Beam=End
|Note|Dur:4th|Pos:-5
|Note|Dur:4th|Pos:-6
|Bar
|AddStaff|Name:"Staff-2"
|StaffProperties|EndingBar:Open (hidden)
|Note|Dur:4th,Slur|Pos:-8|Opts:Stem=Down,Slur=Downward,StemLength=4
|Note|Dur:4th|Pos:-7|Opts:Stem=Up
|Note|Dur:4th|Pos:-6|Opts:Stem=Down,StemLength=5
|Bar
!NoteWorthyComposer-End
362
General Discussion / Re: GlobalMod Issue with PageTxtMaestro
The version difference makes your results more understandable Rick.
I have updated my User Tool Starter Kit to 2.75
I am now seeing what you are seeing.

Hopefully Eric will know what's wrong and be able to update adp_GlobalMod.php fairly soon.
In the meantime, you can replace your spaces with no-break spaces.
Hardly an ideal solution. I can't post a clip of it. Somewhere along the way, the no-break spaces get removed, but the attachment seems to work.
364
General Discussion / Re: GlobalMod Issue with PageTxtMaestro
I have a template that has this object on every staff.  The contents of the Text field are:
%Title% - %StaffLabel% - Page %PageNum,1%

As you know, I'm a big user of Global_Mod, and it seems each time I run Global_Mod on a staff the contents of the Text field of PageTxt.nw objects gets a double quote or apparently escaped characters added at each end so this:
%Title% - %StaffLabel% - Page %PageNum,1%
becomes this (changes in red to stand out):
"%Title% - %StaffLabel% - Page %PageNum,1%"
then the next time I run a Global_Mod command I get this:
"\"%Title% - %StaffLabel% - Page %PageNum,1%\""
then this:
"\"\]\"%Title% - %StaffLabel% - Page %PageNum,1%\]\"\""
then this:
"\"\]\"\]]\]\"%Title% - %StaffLabel% - Page %PageNum,1%\]]\]\"\]\"\""
and so on.
I can not replicate this. For:
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.75)
|SongInfo|Title:"The Title"
|AddStaff|Name:"Staff"|Label:"The Label"
|User|PageTxtMaestro.nw|Pos:0|Class:StaffSig
|User|PageTxt.nw|Pos:7|Text:"%Title% - %StaffLabel% - Page %PageNum,1%"|XLoc:Left|YLoc:Top|PgStyle:TopLeft
|Rest|Dur:Whole
!NoteWorthyComposer-End
I can repeatedly run Golbal Mod without problem. But if I change the PageText item to:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|User|PageTxt.nw|Pos:7|Text:"\"%Title% - %StaffLabel% - Page %PageNum,1%"|XLoc:Left|YLoc:Top|PgStyle:TopLeft
!NoteWorthyComposerClip-End
I get the cumulative backslash bug that you describe.

If you are looking for a near term solution, it would be to stop using quote(s) in the Text field. They are seldom needed and there are other characters you can use instead.
365
General Discussion / Re: Simulating realistic guitar playing
I see that you're using the mezzo forte to change the volume of the notes, and a grace note that is a rest to get a little pause in there.
No, that is not what I'm doing. Grace rests do not change the timing (This is new as of version 2.5.) I'm using them as a place to insert a dynamic variance without cluttering up edit or spilling ink in view/print.
What's the difference between a mezzo forte and a mezzo piano?
For my clip, mezzo forte sets the note velocity to 75, and mezzo piano sets the note velocity to 60.

367
General Discussion / Re: Simulating realistic guitar playing
Currently, if I were to just put 8 of the same 1/8 notes in a row, it sounds dull and robotic
IMO, A little dynamic variation goes a long way:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|Clef|Type:Treble|OctaveShift:Octave Down
|Instrument|Name:"Acoustic Guitar (nylon)"|Patch:24|Trans:0|DynVel:10,30,45,60,75,92,108,127|Pos:6
|Dynamic|Style:mf|Pos:-10
|Rest|Dur:8th,Grace|Opts:Diminuendo|Visibility:Never
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Dynamic|Style:mp|Pos:-10|Visibility:Never
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=End
|Dynamic|Style:mf|Pos:-10|Visibility:Never
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=First
|Rest|Dur:8th,Grace|Opts:Diminuendo|Visibility:Never
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Dynamic|Style:mp|Pos:-10|Visibility:Never
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=End
|Bar
|Dynamic|Style:mf|Pos:-10|Visibility:Never
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=End
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=End
|Bar|Style:LocalRepeatClose|Repeat:4
!NoteWorthyComposerClip-End
368
User Tools / Re: Colouring Tools
I am still learning to find a way to change the colour of noteheads...
Code: (Lua) [Select · Download]
-- rg_ColorNotesMIDI.Lua ver 1.0 User Tool <http://nwsw.net/-f9310>
local map = {[0] = 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0}
local playContext = nwcPlayContext.new()

for item in nwcut.items() do
for notepos in item:AllNotePositions() do
notepos.Color = map[playContext:GetNoteMidiPitch(notepos) % 12]
end
playContext:put(item)
nwcut.writeline(item)
end
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|Clef|Type:Treble
|Key|Signature:F#,C#|Tonic:D
|TimeSig|Signature:4/4
|Chord|Dur:4th|Pos:-3,1
|Chord|Dur:4th|Pos:-5,-3,1,2
|Chord|Dur:4th|Pos:-5,#-2,1,2
|Note|Dur:4th|Pos:-2
!NoteWorthyComposerClip-End
372
General Discussion / Re: A small interface tweak for future versions
I don't know of any hard and fast rule that states that a status bar must be at the bottom of the screen
This seems to be the rule:  Status Bars
Quote
The default position of a status bar is along the bottom of the parent window, but you can specify the CCS_TOP style to have it appear at the top of the parent window's client area.

I only include the "off" option as it has been suggested, but I would happily do without that option.
I have hidden it on a few occaisions. Sometimes, a bit more space is more useful than the status bar. It is easier to toogle the status bar than to change the toolbar layout.

I see no value in it being dockable like a toolbar.
Nor do I.
373
General Discussion / Re: A small interface tweak for future versions
if the Status Bar were to be moved to the top of the active window
It would cease to be a status bar.

There is probably nothing stopping NoteWorthy from making the status bar items Toolbar items. I don't see anything wrong with doing that.

This would also put the moving bar that appears during playback, showing how much of the piece has been played, close to the playback controls.
For now, if anyone wants this, they can move the playback controls to a Toolbar and attach it to the bottom of the window.

IMO, something called a "status bar" ought to behave like a Windows status bar, i.e.,  at the bottom of the window, with a View menu option to turn it off.
378
General Discussion / Re: enharmonic errors in NWC's "audit enharmonics" tool
In the meantime, does anyone have a trick to pass on?
Perhaps.
To change G-A#-D to G-Bb-D try the User Tool Command:
Code: [Select · Download]
php\php.exe scripts\nwsw_PitchMod.php A#/pos+=1,acc=b
That will change:
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.75)
|StaffProperties|EndingBar:Open (hidden)
|Clef|Type:Treble
|Key|Signature:C|Tonic:A
|Chord|Dur:Whole|Pos:-2,#-1,2
|Bar
!NoteWorthyComposer-End
to: |Chord|Dur:Whole|Pos:-2,b0,2
More discussion <here>.
379
General Discussion / Re: enharmonic errors in NWC's "audit enharmonics" tool
I'm looking for a method that will only look at double sharps, double flats, C flats, F flats, B sharps and E sharps, and will correct those in a way that doesn't change chord interval structures.
That won't help you with G-A#-D

To quantify things, here: I need to transpose a four-measure, highly chromatic phrase up half a step.
A clip of those 4 bars might quantify things.


382
General Discussion / Re: extra note spacing
When whole notes are on adjacent staff positions, the "weak side" note is moved by more than one note width, so notes on a layered staff that have extra note spacing of 1 will not quite line up.
Perhaps. But I see nothing wrong with this:
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.75)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Single|WithNextStaff:Layer
|Chord|Dur:Whole|Pos:-3,-2z
|AddStaff|Name:"Staff-1"
|StaffProperties|EndingBar:Single
|Note|Dur:4th,Grace|Pos:-2^|Opts:NoLegerLines,Muted|Visibility:Never
|Chord|Dur:Whole|Pos:-7,-5,-2|Opts:XNoteSpace=1
!NoteWorthyComposer-End
IMHO, a better fix would be to tighten up the whole note second interval spacing by default.
391
General Discussion / Re: Need to put one verse in italics - any ideas?
Is there no easier method than writing the italicised text, character by character (selected from the symbol table set to the Romital font) into a word processor then cutting and pasting the result into NWC?
Rename the attached txt file to: rg_RomitalClip.vbs
In NWC, make Romital your lyrics font.
Copy the lyrics you want to italicize to the clipboard.
Run: rg_RomitalClip.vbs
Paste into NWC
397
General Discussion / Re: Swing eighth notes
I see the change, but why is it necessary?
I don't know. Arguably, it makes no sense to change the tempo to the tempo's current value, but more would need to be done to determine the current tempo than just looking at the prior offset within the MPC.

Pitch Bend is similar. In the following clip, the first MPC causes 2 events and the second MPC causes 3:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|Instrument|Name:"Flute"|Patch:73|Trans:0|DynVel:10,30,45,60,75,92,108,127|Pos:10
|MPC|Controller:pitch|Style:Absolute|TimeRes:Quarter|SweepRes:32|Pt1:0,16383|Pt2:1,16383|Pt3:0,8192|Pos:6
|Note|Dur:Whole|Pos:0^
|Bar
|MPC|Controller:pitch|Style:Absolute|TimeRes:Quarter|SweepRes:32|Pt1:0,16383|Pt2:1,16352|Pt3:0,8192|Pos:6
|Note|Dur:Whole|Pos:0
!NoteWorthyComposerClip-End
Quote from: Midi2Mtx
MFile 1 2 192
MTrk
0 Meta Text "By <Name>"
0 Meta Copyright "Copyright \xc2\xa9 2015 <Name>"
0 Meta Copyright "All Rights Reserved"
0 Meta Text "Generated by NoteWorthy Composer"
0 Meta TrkEnd
TrkEnd
MTrk
0 Meta 0x21 00
0 Meta TrkName "Staff"
0 Par ch=1 c=7 v=127
0 Par ch=1 c=10 v=64
0 PrCh ch=1 p=73
0 Pb ch=1 v=16383
0 On ch=1 n=71 v=110
192 Pb ch=1 v=8192
768 Pb ch=1 v=16383
960 Pb ch=1 v=16352
960 Pb ch=1 v=8192
1488 On ch=1 n=71 v=0
1488 Meta TrkEnd
TrkEnd
398
General Discussion / Re: Swing eighth notes
Try:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|TimeSig|Signature:Common
|MPC|Controller:tempo|Style:Absolute|TimeRes:Quarter|SweepRes:1|Pt1:0,126|Pt2:1,125|Pt3:1,126|Pt4:1,125|Pos:-6
|Rest|Dur:8th
|MPC|Controller:tempo|Style:Absolute|TimeRes:Quarter|SweepRes:1|Pt1:0,252|Pt2:1,251|Pt3:1,252|Pt4:1,251|Pos:8
|Rest|Dur:8th
|Rest|Dur:8th
|Rest|Dur:8th
|Rest|Dur:8th
|Rest|Dur:8th
|Rest|Dur:8th
|Rest|Dur:8th
|Bar
!NoteWorthyComposerClip-End
399
Object Plugins / Re: ConcertPitch.fso (version 1.0)
You should be able to use both midiData1 and midiData2 to construct a 14 bit value
Really :o ?? it would be great if you could explain it a little more.
Code: (Lua) [Select · Download]
-- PitchBend.rgtest.nwcuser.lua Version 1.00
local method = {}
method.spec = {
{ id='v', type='int', default=0, min=-8192, max=8191 },
}
method.play = function(t)
local b14 = t.v + 8192
local midiData1 = bit32.extract(b14, 0, 7)
local midiData2 = bit32.extract(b14, 7, 7)
nwcplay.midi(0, 'pitchBend', midiData1, midiData2)
end
return method
400
User Tools / Re: TransposeStaffs.og
I cannot get this to be seen/loaded into nwc.  All other lua scripts install and work fine and update regularly.  This one cannot be "seen" by nwc.  Am I doing something wrong ?
I think that you are assuming that TransposeStaffs.og is a User Object.
It is not.
TransposeStaffs.og is a User Tool.