Test Release: nwc2musicxml 2015-11-20 07:11 pm Posted a binary update/release of Nicolas Froment's ( @lasconic ) nwc2musicxml that can be run locally as a NWC User Tool:https://github.com/nwsw/nwc2musicxml/releases/tag/test_0.3In order to use this release, you must have installed Java SE (Java run-time environment).If you download the included *.jar file, you can then configure it as a user tool from Tools, User Tool, New...A screenshot of the configuration is attached.Note: Updated to version test_0.3 on 02-Jun-2016 Quote Selected Last Edit: 2016-06-02 06:57 pm by NoteWorthy Online
Re: Test Release: nwc2musicxml Reply #1 – 2015-11-20 07:51 pm I have made a few test runs of the tool, but haven't tried to import the results into any other programs just yet. However, I've noticed a few anomalies:1. If the score contains hairpins, text similar to the following will be printed in the STDOUT window prior to the XML:CrescendoCrescendoCrescendoStopStopDiminuendoStopDiminuendoStopDiminuendoStopStopStopStop2. I received an exception when running this for one score:Code: [Select · Download]Exception in thread "main" java.lang.NumberFormatException: For input string: "9.5" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at fr.lasconic.nwc2musicxml.model.Tempo.parse(Tempo.java:49) at fr.lasconic.nwc2musicxml.convert.Nwc2MusicXML.processLine(Nwc2MusicXML.java:550) at fr.lasconic.nwc2musicxml.convert.Nwc2MusicXML.convert(Nwc2MusicXML.java:80) at fr.lasconic.nwc2musicxml.convert.Nwc2MusicXML.main(Nwc2MusicXML.java:1519)It appears to have been caused by a Tempo object with Pos:9.5. Changing the Tempo object's position to an integer value prevents the exception. Quote Selected 1 Likes
Re: Test Release: nwc2musicxml Reply #2 – 2015-11-20 08:45 pm Quote from: Mike Shawaluk – 2015-11-20 07:51 pmI have made a few test runs of the tool, but haven't tried to import the results into any other programs just yet.In my experience, a successful import depends largely on the source material. I am not necessarily going to fix all of the possible problems. This is largely provided as-is.I updated the release to test_0.11, which includes the fixes for your reported issues. Quote Selected
Re: Test Release: nwc2musicxml Reply #3 – 2015-11-21 06:23 pm I've tried this out and it provided an xml score that loaded successfully into another music program.This was not without errors (such as missing fermata, missing accidentals ) . But given the following :Quote from: NoteWorthy Online – 2015-11-20 08:45 pmThis is largely provided as-is.I'm not sure that I want to spend time checking between source and output and then documenting errors, particularly since the opposite conversion of mxml to nwc2 , that I would find much more useful, does not appear to be on the cards. Quote Selected
Re: Test Release: nwc2musicxml Reply #4 – 2015-11-21 06:36 pm Quote from: Richard Woodroffe – 2015-11-21 06:23 pmthe opposite conversion of mxml to nwc2 , that I would find much more useful, does not appear to be on the cards. IMHO Both are useful and both should be on the cards. Maybe for version 3.0 ? Quote Selected
Test Release: nwc2musicxml test_0.2 Reply #5 – 2015-11-22 12:20 pm In this update:new -utsave option for saving directly to an xml filebasic support for note beams Quote Selected
Re: Test Release: nwc2musicxml Reply #6 – 2015-11-22 01:00 pm Quote from: NoteWorthy Online – 2015-11-20 07:11 pm<snip>In order to use this release, you must have an up to date Java run-time environment installed on your machine.<snip>Damn - I have some Cisco tools I MUST use that will not run in current Java releases - I need to be about 3 years (currently) out of date Quote Selected
Re: Test Release: nwc2musicxml Reply #7 – 2015-11-22 01:08 pm You can install and use multiple JRE versions. Quote Selected
Re: Test Release: nwc2musicxml Reply #8 – 2015-11-23 03:21 am Thanks Eric,when my head is up to it I'll take a closer look. Quote Selected
Re: Test Release: nwc2musicxml Reply #9 – 2015-11-23 05:34 pm I changed the build target to Java SE 6, and then rebuilt the tool. Perhaps that will help... Quote Selected
Re: Test Release: nwc2musicxml Reply #10 – 2015-11-24 03:45 am Wonderful!!! Worked a treat.Thanks mate Quote Selected 1 Likes
Re: Test Release: nwc2musicxml Reply #11 – 2015-11-24 03:48 pm Thanks - it will be great when conversion NWC <---> XML is available natively in NWC Quote Selected
Re: Test Release: nwc2musicxml Reply #12 – 2015-11-30 10:58 am Looks promissing. How can I use it to try it out?I downloaded the "update" from reply #5; I only received a warning when I used the user tool.test_0.11 from reply #2? or the earlier "included *jar file?I'm a layman in these matters. Quote Selected
Re: Test Release: nwc2musicxml Reply #13 – 2015-12-11 03:49 am Quote from: Paul O – 2015-11-30 10:58 amHow can I use it to try it out?I am looking at ways to make this easier. Quote Selected
Re: Test Release: nwc2musicxml Reply #14 – 2016-02-09 02:36 pm This has been updated to fix issues with notes in the Tenor clef. Quote Selected
Re: Test Release: nwc2musicxml Reply #15 – 2016-03-16 08:44 pm Quick question: Is there a way to set the default output directory? It automatically goes to My Documents and I would like to set another one as default if possible. Quote Selected
Re: Test Release: nwc2musicxml Reply #16 – 2016-05-01 03:52 pm I just updated http://nwc2musicxml.appspot.com/ with the fixes made by "Noteworthy Online" and a couple other fixes. It also have a new UI. Enjoy! Quote Selected
Re: Test Release: nwc2musicxml Reply #17 – 2016-05-29 10:09 pm And another update. The converter now supports Coda, Segno and voltas. Thanks to Tim Hedger-Gourlay.http://nwc2musicxml.appspot.com/ Quote Selected
Re: Test Release: nwc2musicxml Reply #18 – 2019-03-03 02:28 am lasconic, thanks a ton for this converter! Unfortunately, it doesn't correctly assign lyrics to notes when different lyric lines use different voices to reflect a change in rhythm from one verse to another. Which makes almost every real converted file unusable without a large amount of additional work. Any chance you could fix that? ( I don't know java or have any working knowledge of the .nwctxt format, otherwise I'd help.) Quote Selected
Re: Test Release: nwc2musicxml Reply #19 – 2021-05-24 09:28 am I started to write a tool for converting musicxml to nwctxt. Until a month ago I never opened a musicxml file. But I found the documentation on https://www.musicxml.com/. There's a tutorial, but it doesn't cover everything, and the rest of the documantation isn't very easy to master. Another great help was lasonic's tool. So I could study the xml-files from several of my own nwctxt files, which are all choral scores.My next step will be to download some bigger files from the scriptorium and run lactoniscs tool on them, so I can compare the output of my tool with the original nwc-file.But after that I'd like to test with 'external' xml files. So If you could send me such files, with their corresponding pdf, I would be very grateful. You can include them as a reply to this post, or send a personal message. Quote Selected
Re: Test Release: nwc2musicxml Reply #20 – 2021-05-24 02:01 pm Of course you know about https://www.niversoft.com/products/xml2nwc/, do you? Quote Selected
Re: Test Release: nwc2musicxml Reply #21 – 2021-05-24 03:30 pm Dear Opagust,Musescore can export files into musicxml format. So what you can do is to search for midi files on the internet (or create them from NWC files), import them in Musescore and export as musicxml file. With this detour you can create for your tests more musicxml files that you can ever verify. See one attached example.Bart Quote Selected
Re: Test Release: nwc2musicxml Reply #22 – 2021-05-24 06:24 pm Sorry, Bart, but I disagree.If you pass through MIDI you lose too many typographic details.It is much better to seek the internet for some well done Musescore parts and export them in musicxml. Quote Selected