57
Jan-Frerk,
Someone in this forum once pointed me to a simple and effective solution that worked for me: grace notes
(Muted) grace notes (without ledger lines and some extra note spacing) let me "make" exactly what I needed, only the equal sign needs some special attention.
!NoteWorthyComposerClip(2.751,Single)
|Clef|Type:Treble
|Key|Signature:F#,C#|Tonic:D
|Note|Dur:8th,Grace|Pos:10|Opts:Stem=Up,Beam=First,NoLegerLines
|Note|Dur:8th,Grace|Pos:10|Opts:Stem=Up,Beam=End,NoLegerLines
|Note|Dur:4th,Triplet=First,Grace|Pos:10|Opts:XNoteSpace=3,NoLegerLines
|Note|Dur:8th,Triplet=End,Grace|Pos:10|Opts:NoLegerLines
|Note|Dur:8th|Pos:-1
|Note|Dur:8th|Pos:-2
|Note|Dur:8th|Pos:-4
|Note|Dur:8th|Pos:-3
!NoteWorthyComposerClip-End
Bart
59
Opagust,
The original dynamic is :
|Dynamic|Style:mp|Pos:15|Visibility:Never
After running the tool, this dynamic remains the same.
In your version this dynamic has been changed into
|Dynamic|Style:mp|Opts:Velocity=127,Volume=31|Pos:15|Visibility:Never
Also the modification in the Staffproperties does not go back into the file;
|StaffProperties|EndingBar:Section Close|Visible:Y|BoundaryTop:12|BoundaryBottom:24|Lines:5|WithNextStaff:Bracket,ConnectBars,Layer|Color:Default
|StaffProperties|Muted:N|Volume:100|StereoPan:64|Device:0|Channel:3
Again, after running the tool, this StaffProperties remain the same.
And in your version it becomes (what I expected)
|StaffProperties|EndingBar:Section Close|Visible:Y|BoundaryTop:12|BoundaryBottom:24|Lines:5|WithNextStaff:Bracket,ConnectBars,Layer|Color:Highlight 2
|StaffProperties|Muted:N|Volume:120|StereoPan:0|Device:0|Channel:3
I suppose for some - still unknown - reason, the tool does not write this modification back into the file on my system?
Bart
80
This little lua-script can help coloring objects in collapsed sections.
This script supposes that every object in the collapsed section has the color-option. If this is not the case, I don't know what happens with your score. It may corrupt your file !!! So, use with care.
The code should be self explanatory and can be adapted if more options are needed.
-- $NWCUT$CONFIG: FileText $
nwcut.setlevel(2)
nwcut.status = nwcut.const.rc_Succes
--nwcut.status = nwcut.const.rc_Report
local progname = 'change_collapse_color'
local HelpMsg = [[
This tool changes the color of items in a collapse boundery
]]
--------------------------------------
-- Main processing -------------------
--------------------------------------
assert(nwcut.getprop('Mode') == nwcut.const.mode_FileText, "Input type must be 'File Text'")
assert(nwcut.getprop('ReturnMode') == nwcut.const.mode_FileText, "Under 'Options', check 'Returns File Text'")
collapse_color = nwcut.prompt("collapse_color N ", "#",0,5)
collapse = 0
for item in nwcut.items() do
if collapse == 1 then item.Opts.Color = collapse_color ; end--if
if item:Is('Boundary') then
if item.Opts.Style == 'Collapse' then collapse = 1 end--if
if item.Opts.Style == 'EndCollapse' then collapse = 0 end--if
end--if
nwcut.writeline(item)
end--for
Bart
83
Paul,
My solution for this kind of issues is to copy the staff with the text into another staff but layer the copies on each other.
On one of the staves I put the lyrics of the verses and on the other one I put the lyrics for the refrain.
Then I mutually collapse the parts that I don't want to see.
Also, I always try to set a system break where I have inserted the collapsing switch to avoid ugly empty lyrics lines.
Here is an example of what I mean: (just past the whole text as a new file in NWC).
!NoteWorthyComposer(2.751)
|Editor|ActiveStaff:1|CaretIndex:2|CaretPos:-2
|SongInfo|Title:""|Author:"<Name>"|Lyricist:""|Copyright1:"Copyright © 2018 <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.2|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:Section Close|Visible:Y|BoundaryTop:12|BoundaryBottom:32|Lines:5|WithNextStaff:Bracket,ConnectBars,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:"this is the - first verse of the song\n"
|Lyric2|Text:"this is the se-cond verse of the song\n"
|Lyric3|Text:"this is the - third verse of the song\n"
|Lyric4|Text:"this is the - fourth verse of the song\n"
|Lyric5|Text:"this is the - fifth verse of the song\n"
|Clef|Type:Treble
|Boundary|Style:EndCollapse
|Note|Dur:4th|Pos:-6
|Note|Dur:4th|Pos:-6
|User|Slur.ms|Pos:-4|Pen:dash
|Note|Dur:8th,Dotted|Pos:-6
|Note|Dur:16th|Pos:-5
|Note|Dur:4th|Pos:-4
|Bar
|Note|Dur:8th,Dotted,Slur|Pos:-4
|Note|Dur:16th|Pos:-5
|Note|Dur:8th|Pos:-4
|Note|Dur:8th|Pos:-3
|Note|Dur:8th,Slur|Pos:-2
|Note|Dur:8th,Slur|Pos:-5
|Note|Dur:4th|Pos:-4
|Bar|SysBreak:Y
|Boundary|Style:Collapse
|Note|Dur:8th|Pos:1
|Note|Dur:8th|Pos:1
|Note|Dur:4th|Pos:1
|Note|Dur:8th|Pos:-2
|Note|Dur:8th|Pos:-2
|Note|Dur:4th|Pos:-2
|Bar
|Note|Dur:8th|Pos:-4
|Note|Dur:8th|Pos:-4
|Note|Dur:4th|Pos:-4
|Note|Dur:8th|Pos:-6
|Note|Dur:8th|Pos:-6
|Note|Dur:4th|Pos:-6
|Bar
|Note|Dur:4th,Dotted|Pos:-2
|Note|Dur:8th|Pos:-3
|Note|Dur:4th|Pos:-4
|Note|Dur:4th|Pos:-5
|Bar
|Note|Dur:Whole|Pos:-6
|Bar|Style:SectionClose|SysBreak:Y
|AddStaff|Name:"Staff-1"|Group:"Standard"
|StaffProperties|EndingBar:Section Close|Visible:Y|BoundaryTop:10|BoundaryBottom:14|Lines:5|WithNextStaff:Bracket,ConnectBars|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
|Lyrics|Placement:Bottom|Align:Standard Rules|Offset:0
|Lyric1|Text:"And here comes\nfi-na-ly\nthe re-frain\nof the song\nWhat do you think now?\n"
|Clef|Type:Treble
|Boundary|Style:Collapse
|Note|Dur:4th|Pos:-6|Opts:Lyric=Never
|Note|Dur:4th|Pos:-6|Opts:Lyric=Never
|User|Slur.ms|Pos:-4|Pen:dash
|Note|Dur:8th,Dotted|Pos:-6|Opts:Lyric=Never
|Note|Dur:16th|Pos:-5|Opts:Lyric=Never
|Note|Dur:4th|Pos:-4|Opts:Lyric=Never
|Bar
|Note|Dur:8th,Dotted,Slur|Pos:-4|Opts:Lyric=Never
|Note|Dur:16th|Pos:-5|Opts:Lyric=Never
|Note|Dur:8th|Pos:-4|Opts:Lyric=Never
|Note|Dur:8th|Pos:-3|Opts:Lyric=Never
|Note|Dur:8th,Slur|Pos:-2|Opts:Lyric=Never
|Note|Dur:8th,Slur|Pos:-5|Opts:Lyric=Never
|Note|Dur:4th|Pos:-4|Opts:Lyric=Never
|Bar
|Boundary|Style:EndCollapse
|Note|Dur:8th|Pos:1
|Note|Dur:8th|Pos:1
|Note|Dur:4th|Pos:1
|Note|Dur:8th|Pos:-2
|Note|Dur:8th|Pos:-2
|Note|Dur:4th|Pos:-2
|Bar
|Note|Dur:8th|Pos:-4
|Note|Dur:8th|Pos:-4
|Note|Dur:4th|Pos:-4
|Note|Dur:8th|Pos:-6
|Note|Dur:8th|Pos:-6
|Note|Dur:4th|Pos:-6
|Bar
|Note|Dur:4th,Dotted|Pos:-2
|Note|Dur:8th|Pos:-3
|Note|Dur:4th|Pos:-4
|Note|Dur:4th|Pos:-5
|Bar
|Note|Dur:Whole|Pos:-6
|Bar|Style:SectionClose
|Boundary|Style:Collapse
|AddStaff|Name:"Staff-2"|Group:"Standard"
|StaffProperties|EndingBar:Section Close|Visible:Y|BoundaryTop:10|BoundaryBottom:10|Lines:5|WithNextStaff:Bracket,ConnectBars|Color:Default
|StaffProperties|Muted:N|Volume:127|StereoPan:64|Device:0|Channel:3
|StaffInstrument|Trans:0|DynVel:10,30,45,60,75,92,108,127
|Clef|Type:Bass
|Note|Dur:4th|Pos:-1
|Note|Dur:4th|Pos:1
|User|Slur.ms|Pos:-4|Pen:dash
|Note|Dur:8th,Dotted|Pos:3
|Note|Dur:16th|Pos:2
|Note|Dur:4th|Pos:1
|Bar
|Note|Dur:8th,Dotted|Pos:-1
|Note|Dur:16th|Pos:-2
|Note|Dur:8th|Pos:-1
|Note|Dur:8th|Pos:-1
|Note|Dur:8th|Pos:-1
|Note|Dur:8th|Pos:3
|Note|Dur:4th|Pos:3
|Bar
|Note|Dur:8th|Pos:-1
|Note|Dur:8th|Pos:1
|Note|Dur:4th|Pos:3
|Note|Dur:8th|Pos:6
|Note|Dur:8th|Pos:6
|Note|Dur:4th|Pos:3
|Bar
|Note|Dur:8th|Pos:3
|Note|Dur:8th|Pos:3
|Note|Dur:4th|Pos:1
|Note|Dur:8th|Pos:1
|Note|Dur:8th|Pos:1
|Note|Dur:4th|Pos:-1
|Bar
|Note|Dur:4th,Dotted|Pos:-1
|Note|Dur:8th|Pos:0
|Note|Dur:4th|Pos:1
|Note|Dur:4th|Pos:3
|Bar
|Note|Dur:Whole|Pos:-1
|Bar|Style:SectionClose
!NoteWorthyComposer-End
84
Guido,
If you were meticulous in the past and all your scores have the target information in the "SongInfo" field (which is shown by CTRL-I), then you can create a list for all NWC-files (in the current folder) with the following command line in a cmd-box.
FOR %I in (*.nwc) DO ( echo %I : & "C:\Program Files (x86)\Noteworthy Software\NoteWorthy Composer 2\nwc-conv.exe" "%I" NWCTXT | findstr SongInfo ) >> c:\temp\SongInfo.txt
You can, of course, replace "SongInfo" with your own description. Be aware that the text is case sensitive, and blanks can be nasty.
Bart
91
I see a lot of older files in my "2.75" nwc folder.
nwc-convert.exe is certainly a conversion tool and /? gives the expected commandline help which was already mentioned before.
But, since this program was made in 2011, it is not sure that it will still do the job for recent files.
C:\Program Files (x86)\Noteworthy Software\NoteWorthy Composer 2>dir
Volume in drive C is Windows
Volume Serial Number is 2449-477F
Directory of C:\Program Files (x86)\Noteworthy Software\NoteWorthy Composer 2
[code]12/12/2016 18:07 <DIR> .
12/12/2016 18:07 <DIR> ..
12/12/2016 18:07 <DIR> AutoUserTools
12/12/2016 18:07 <DIR> Fonts
12/12/2016 18:07 <DIR> itrees
03/09/2015 22:30 1 878 LICENSE.RTF
20/12/2011 16:31 75 872 nwc-conv.exe
22/09/2015 14:16 1 909 976 NWC2.exe
17/09/2015 09:25 73 512 nwc2.ico
09/04/2014 13:26 210 NWC2.visualelementsmanifest.xml
22/09/2015 13:07 259 777 nwc2help.chm
29/06/2010 00:09 30 824 NWC2STDA.TTF
22/09/2015 12:16 10 100 Nwc2tips.tip
25/07/2007 13:54 1 078 NWCTXT.ICO
23/08/2013 23:01 2 708 piano.ini
22/09/2015 12:55 3 545 README.TXT
12/12/2016 18:07 <DIR> SAMPLES
12/12/2016 18:07 <DIR> Scripts
12/12/2016 18:07 <DIR> Setups
12/12/2016 18:07 <DIR> Template
12/12/2016 18:07 53 056 Uninstall.exe
12 File(s) 2 422 536 bytes
C:\Program Files (x86)\Noteworthy Software\NoteWorthy Composer 2>nwc-conv.exe /?
nwc-conv: version 2.5
This program is a front end command to the file convert options
available in the main NoteWorthy Composer 2 program.
Usage: nwc-conv IN_FMT OUT_FMT [-h|-v|-t|-0|-1]
IN_FMT
This specifies the input file or format that will be used.
This can be the name of a *.nwc or *.nwctxt file, or if
STDIN is used, it should indicate "NWC" or "NWCTXT".
OUT_FMT
This specifies the output file or format that will be used.
The format can be one of NWC, NWCTXT, MID, or INFO, but may
not be the same as the IN_FMT. This can be the name of the
intended output file, or just the the format name if STDOUT
is used.
-h Shows this help message
-v Shows the program name and version
-t Conversion process will use "NWC2Test" program
-0 Use type 0 when converting to MIDI
-1 Use type 1 when converting to MIDI
Example: nwc-conv NWCTXT "out\test.mid" -1
This creates a Type 1 MIDI file using the NWCTXT text
provided on standard input (STDIN)
Example: nwc-conv "in\test.nwc" NWCTXT > "out\test.nwctxt"
This converts the test.nwc file into NWCTXT which is sent
via standard output (STDOUT) to a test.nwctxt file
NWC2 Instance: C:\PROGRA~2\NOTEWO~1\NOTEWO~1\nwc2.exe
C:\Program Files (x86)\Noteworthy Software\NoteWorthy Composer 2>
Bart