Skip to main content
Recent Posts
31
User Tools / Re: NWCCONVERTOR
Last post by Flurmy -
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).
32
User Tools / Re: NWCCONVERTOR
Last post by Flurmy -
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.  ;)
33
User Tools / Re: NWCCONVERTOR
Last post by Lawrie Pardy -
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.
Sorry mate, I missed that little subtlety...
NWCCONVERTOR should do the conversion to MusicXML for you though - I've used it for exactly that in the past...

OK, just did some testing with Versions 2.0.05.04, 2.0.05.03 and 2.0.05.01
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...
34
User Tools / Re: NWCCONVERTOR
Last post by Mike Shawaluk -
This is correct.  The compressed NWC file format is proprietary, which is a big part of why .nwctxt exists in the first place...  Or so I understand.
This was originally true; the native NWC format used to be a proprietary binary format, but at some point, the program changed to use gzip compression of the .nwctxt representation of the score, which came out to the approximate same size as the old native binary format. 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.

This does not answer Flurmy's concern over only being able to convert .nwctxt file to .nwctxt, but I thought I would respond with the historical information.
35
User Tools / Re: NWCCONVERTOR
Last post by Flurmy -
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.
36
User Tools / Re: NWCCONVERTOR
Last post by Lawrie Pardy -
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!  :))
This is correct.  The compressed NWC file format is proprietary, which is a big part of why .nwctxt exists in the first place...  Or so I understand.
37
User Tools / Re: NWCCONVERTOR
Last post by Flurmy -
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
Last post by Flurmy -
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..
40
General Discussion / 2026
Last post by Opagust -
Happy and healthy 2026 to all NWC members.

May the (tuning) fork be with you!