Skip to main content

Show Posts

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

Messages - Flurmy

4
User Tools / Re: Rhythmic slash notation
Additions made.  ;)

I know I could highlight and use Global Mod to make these changes after the fact
Well, I'd rather change "User1" in the code with the desired font, but I know this is cheating!  :))  :))

there is any way to shorten the length of the slash and reposition it to reflect more of what one would see in a jazz chart?
Not impossible at all, but I need some examples.
I based my tools on the examples found online.
5
User Tools / Beat slashes
This tool converts rests with durations multiples of 1/4 to beat slashes (a purely visual marker).
In jazz and popular music, passages are often notated with slash noteheads that indicate no specific pitch and show no rhythm.
Depending on the content, this might indicate an improvised solo and accompaniment pattern to be devised by the player,
or a suggestion to continue in the style of previously notated passage.

It uses the char '/' of MusicDingsSans or MusicDingsSerif with the same size of the standard NWC2STDA.
By default that font is assumed as font User 1, but a different User font (1..6) can be specified on the command line.
E.g., "scripts\fl_BeatSlashes.lua 3" to use User 3.

Rests moved up out of the score can be used instead of headless, stemless crotchet by specifying 'r' on the command line.

Version 2.0
6
User Tools / Re: Rhythmic slash notation
Quite often I need to enter comping marks - these are really just a slash in place of a crotchet (quarter note) rest.
Do you mean something like in the attached image?
Of course I can make it as an enhancement, but I see it quite different, hence deserving his own tool.
I was indeed wondering if creating it or not.
Stay tuned.

then I move the rest off the page with Global_mod.  The rest must be moved instead of being made invisible or it won't take up the necessary horizontal space.  Perhaps you could modify this tool to automate that process too (it would need to move the rest).
Yuk, I forgot that trick (and I was hoping it wasn't needed anymore...)!
I don't remember which was the usual value for the offset. Perhaps the maximum allowed. Maybe 25000?
7
User Tools / Re: Rhythmic slash notation
I am curious whether you also saw this review, and whether it was the motivation for creating this user tool.
Yesssss!  :D
But there is more.
Lately I'm transcribing a lot of jazz for the orchestra and often the guitar part is written this way.
I did it by hand for a couple of scores, but then I asked myself what I was waiting to automate it.
The review was just the final push.  ;)

I think that creating a specific object for this is a sort of overkilling, but sure it will work too.
Good luck!
8
User Tools / Rhythmic slash notation
This tool converts a sequence of notes to a rhythmic pattern (visual only) using the rhythmic slash notation.
(See attached image as an example.)
The original notes (or chords) are uninportant and will be standardized and muted.
What matters is simply their duration.
It uses the char '/' of MusicDingsSans or MusicDingsSerif with the same size of the standard NWC2STDA.
By default that font is assumed as font User 1, but a different User font (1..6) can be specified on the command line.
E.g., "scripts\fl_SlashNotation.lua 3" to use User 3.

Version: 1,1
12
General Discussion / Re: Very complicated score (spartito molto complicato)
Nice trick, Harald!

Sligltly off topic: years ago I saw many scores in which there were the instructions (in Italian) "from (the glyph for Segno) to (the glyph for Coda) then follows", but lately I see only, as per NWC, the glyph for Segno, the indication "To Coda", the command "D.S. al Coda" and the gliph and text "Coda".
Was it an old way that became obsolete or a "local only" (Italian) use?

e.g. Something like this:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Clef|Type:Treble
|TimeSig|Signature:4/4
|Note|Dur:Whole|Pos:0
|Bar
|Flow|Style:Segno|Pos:8
|Note|Dur:Whole|Pos:-1
|Bar
|Note|Dur:Whole|Pos:-2
|Text|Text:""|Font:StaffSymbols|Pos:9.5|Justify:Right|Placement:AtNextNote
|Bar
|Note|Dur:Whole|Pos:-1
|Bar
|Note|Dur:Whole|Pos:0
|Bar|Style:SectionClose
|Text|Text:"poi segue"|Font:PageText|Pos:8.5
|Text|Text:"da "|Font:PageText|Pos:15|Wide:Y
|Text|Text:""|Font:StaffSymbols|Pos:12.5|Wide:Y
|Text|Text:" a "|Font:PageText|Pos:15|Wide:Y
|Text|Text:""|Font:StaffSymbols|Pos:15|Wide:Y
|Boundary|Style:Gap|Width:400|SystemConnections:N
|Bar|Style:SectionOpen
|Note|Dur:Whole|Pos:1
|Bar
|Note|Dur:Whole|Pos:2
|Bar|Style:SectionClose|SysBreak:Y
!NoteWorthyComposerClip-End
15
User Tools / Re: Percussion splitter
Since I don't want to roll back my NWC installation and I'm almost sure I forgot to change some items :P , yukulele, could you please try this (beta) version? Thanks.

[edit: tool version officially released and attached to the first message]
17
User Tools / Re: Percussion splitter
Quote
In the new beta, the |Text:*| property and User object properties are now stored as strings (replaces the nwcOptText object).

In the current general release, text properties use a nwcOptText class for storage. This is a heavy operation that requires an additional allocated table just to store the encoded string.
In this same release, user object properties are all stored as raw, encoded strings. This creates a complicated approach to handling the text properties.

In the new beta, all of these text properties are maintained as simple decoded strings. All simple strings are passed through an encoding filter before writing them back into a nwctxt file stream, which strives to make scripting changes to these properties much simpler.
It does create an issue for current tools.

As it currently stands, changes will be required in tool code when accessing these text properties. Perhaps the easiest way to handle this is by two utility functions:
Code: [Select · Download]
local function GetTextProp(item,lbl)
  local t = item.Opts[lbl]
  return (t and t.Text) and t.Text or t
end
Code: [Select · Download]
local function SetTextProp(item,lbl,txt)
  item:Provide(lbl,'')

  if item.Opts[lbl].Text then
    item.Opts[lbl].Text = txt
  else
    item.Opts[lbl] = txt
  end
end
19
User Tools / Re: Percussion splitter
A-ha!
I seem to remember (quite surprising for me!  ;D ) that a small change about this was made in the lua libraries in NWC 2.8 Beta 1 (the one I'm using).
Which version of NWC are you using?
21
User Tools / Re: Percussion splitter
But I don't know why the behaviour is different on my side.
So do I.

But:
  • In your snippet the staff name is "perc", in your dump is "perc." but, even after changing it, I found no difference in the result.
  • Using your dump routine I get:
    Code: [Select · Download]
    { 
       ["Name"] = perc.,
       ["Group"] = Standard,
    }

Quite different! Why?
22
User Tools / Re: Percussion splitter
I don't.
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.751)
|Editor|ActiveStaff:1|CaretIndex:1|CaretPos:0
|SongInfo|Title:"test perc"|Author:"<Name>"|Lyricist:""|Copyright1:"Copyright © 2026 <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:"perc"|Group:"Standard"
|StaffProperties|EndingBar:Section Close|Visible:Y|BoundaryTop:12|BoundaryBottom:12|Lines:5|Color:Default
|StaffProperties|Muted:N|Volume:127|StereoPan:64|Device:0|Channel:10
|StaffInstrument|Trans:0|DynVel:10,30,45,60,75,92,108,127
|Clef|Type:Percussion
|Note|Dur:4th|Pos:0
|Note|Dur:4th|Pos:-1
|Note|Dur:4th|Pos:-2
|Note|Dur:4th|Pos:-3
|AddStaff|Name:"Perc. staff 1"|Label:"Toms"|Group:"Percussions"
|StaffProperties|EndingBar:Section Close|Visible:Y|BoundaryTop:12|BoundaryBottom:12|Lines:1|WithNextStaff:Bracket,ConnectBars|Color:Default
|StaffProperties|Muted:N|Volume:127|StereoPan:64|Device:0|Channel:10
|StaffInstrument|Trans:-5|DynVel:10,30,45,60,75,92,108,127
|Clef|Type:Percussion
|Key|Signature:Bb|Tonic:F|Visibility:Never
|Note|Dur:4th|Pos:3y
|Note|Dur:4th|Pos:2y
|Note|Dur:4th|Pos:1y
|Note|Dur:4th|Pos:0y
!NoteWorthyComposer-End
23
User Tools / Re: Percussion splitter
Argument #1 is the name of the staff. There something odd with them.
What are the names of the staves in your score that begin with "Perc. staff "?

P.S. I'm not Bart!  :D
26
User Tools / Re: NWCCONVERTOR
you could specifically check for these problems during conversion and either delete or replace them with a flag - maybe "BLANK"?
In the xml he following chars are reserved and must be "escaped", that is:
"  replaced with  &quot;
'   replaced with  &apos;
<  replaced with  &lt;
>  replaced with &gt;
& replaced with  &amp;
(whatever similitude to html is...  ;) )
This is NOT my idea. This is the standard!
https://www.w3.org/TR/xml11/#NT-Char
- 2.4 Character Data and Markup
27
User Tools / Re: NWCCONVERTOR
pencil-button.png is missing in the .zip.
There's no way to include it permanently in the .exe?
28
User Tools / Re: NWCCONVERTOR
More generally, the following chars must be "escaped" in xml:
Quote
"   &quot;
'   &apos;
<   &lt;
>   &gt;
&   &amp;
29
User Tools / Re: NWCCONVERTOR
Quote
The ampersand character (&) and the left angle bracket (<) MUST NOT appear in their literal form, except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section. If they are needed elsewhere, they MUST be escaped using either numeric character references or the strings "&amp;" and "&lt;" respectively.
The right angle bracket (>) may be represented using the string "&gt;", and MUST, for compatibility, be escaped using either "&gt;" or a character reference when it appears in the string "]]>" in content, when that string is not marking the end of a CDATA section.
32
User Tools / Re: NWCCONVERTOR
Here it comes.
Since you're at it, take care at where the "repeat" bars appear.
33
User Tools / Re: NWCCONVERTOR
Well, for sure I'm not a musicxml specialist, but I'd look at how musescore manages the flow.
It seems it has no problem with them.
34
User Tools / Re: NWCCONVERTOR
I don't know if there is official documentation on the format, but I think it would be theoretically possible to create compressed NWC files in a converter.
I see no point in reinventing the wheel.
Do you want such a converter? Here it comes:
Code: [Select · Download]
nwc2.exe -convert "%~dpn1.nwctxt" "%~dpn1.nwc"
Save it in a file and use the .bat extension.  ;)

For historical information, once upon a time there was a stand-alone file called "nwc-conv.exe" whose latest incarnation was version 2.5. Then it has been obsoleted and replaced by a simple command line parameter (see above).
35
User Tools / Re: NWCCONVERTOR
None allowed me to select "save as type" other than .nwctxt, BUT the offered filename ended in .musicxml and saved as such.

However, when I tried to open the saved musicxml test files the ones from the two more recent versions would NOT import into Musescore while the older one did just fine.  Something is broken...
You made me wonder, so I investigated.
Well, in my case the file ended in "-nwctxt.musicxml.nwctxt" (maybe a bit verbose?  :) )
I peeked inside and it's a .musicxml.
And, in my case, once renamed, it opened perfectly in musescore.

N.B. Long long ago I had to explain to my daughter that "converting" from .doc to .txt, or from .jpg to .png is not simply a matter of changing the extension.  ;)
36
User Tools / Re: NWCCONVERTOR
Lawrie, you missed the point.
I started with a .nwctxt file and, after the conversion,  my only option is to save it as  .nwctxt!   :o
I think I'm able to code myself such a converter.  :))
I need a file .musicxml or .mxl.
37
User Tools / Re: NWCCONVERTOR
There is more.
I clicked "Select NWC txt file", loaded my file, selected the options, got "Conversion completed", clicked "Save as" and the only option is to save it... as .nwctxt!  :))
38
User Tools / Re: NWCCONVERTOR
Code: [Select · Download]
Traceback (most recent call last):
  File "nwc2xml.py", line 1717, in convert
  File "nwc2xml.py", line 1497, in create_xml
  File "nwc2xml.py", line 1461, in create_part
  File "nwc2xml.py", line 1285, in process_object_user
  File "nwc2xml.py", line 1228, in process_user_object_line_span
ValueError: invalid literal for int() with base 10: '12.5'

The culprit is:
Code: (nwc) [Select · Download]
|User|LineSpan.nw|Pos:-9|Class:Span|Span:12.5

N.B. After that, no way to go ahead with another file of whatever; olny exit and restart..
39
General Discussion / Re: Merry Christmas
The last time I used the Baudot was with a telex machine with punched paper tape, just before they became obsolete. About 1985.  :D
I still have a virgin tape.  :o
41
General Discussion / Re: "Text" window size
Eeeh? Hai problemi di vista? (Che poi la riga "text" ha le stesse dimensioni delle altre.  :) )
Se invece ti riferisci al risultato dell'operazione, cioè al testo visualizzato, allora basta aumentare "font size", come dice la parola stessa... in foresto.  :D

(Sorry for the non Italian speaking people, but, while answering, I'm also kidding Lorenzo...)
42
User Tools / Re: NWCCONVERTOR
It seems the "NWC User" isn't recognised anymore.
Furthermore, "Sorry, no new users possible".
44
Object Plugins / Re: PageTxtMaestro.nw
This instruction doesn't make it clear whether you can have just one PageTxtMaestro on a staff to serve more than one PgTxt object, or , if you have more than one PgTxt object on that staff, you need more than one PageTxtMaestro objects.
I've always put only one PageTxtMaestro object only, even with many PgTxt objects.
Quote
Add an object of type PageTxtMaestro.nw into the front of your top staff.
This object does all of the printing work, so you need to add it first.
Note that your top staff must contain at least one note before PageTxtMaestro can do its job.
If I put a PageTxtMaestro.nw on multiple staves is because they can become the top staff when printing parts.
45
General Discussion / Re: Windows 11
I can understand David fears because the 2.8 installer requires a previous 2.75a (or, better, 275a.2) already installed.
If David did all the updating steps for a long time there is the risk to have to redo all those steps... back to the need of the CD.
Not sure at all, but quite afraid!