Questions about MusicXML

Author
mwduffy
Max Output Level: -90 dBFS
  • Total Posts : 2
  • Joined: 2011/09/16 12:34:22
  • Status: offline
2011/09/16 15:07:22 (permalink)

Questions about MusicXML

For me the Expanded upgrade would be worth it for the MusicXML support but only if it is a serious attempt to support it. The announcements are a little thin on details. So I have some questions. Hopefully someone has answers.

1. Music XML is supported for export but can it be imported? My preferred use would be round trip - Sonar to scoring then back to Sonar.

2. What version of Music XML is supported. Version 3.0 came out in August. Does Sonar support V3?

3. MusicXML is available as an XML DTD or as an XML Schema (XSD). Does Sonar export with an explicit declaration for one or the other? This is not a trival question because DTD does not support XML namespaces and some kinds of downstream processing could be difficult if you export the document with a DTD declaration. On the other hand if you export with a schema (XSD) declaration you can later on create aggregate XML documents mixing multiple schemas. I would hope that there is a preference or option to control this.

4. What products has the feature been tested against? I use Notion3 and Sibelius6. I would be really disappointed if Sonar's MusicXML exports do not seamlessly integrate with Notion and Sibelius import.

5. A big problem I have with midi export/import is that the notation programs I import into do not always preserve chords correctly in a piano part. Midi cannot distinguish chords from multiple voices because midi does not provide for the notion of a chord. This leads to a big mess for me to clean up in the score. A series of 4 note chords interspersed with two note chords leads to a bunch of unneeded rests. The importing program persists in using 4 voices in this part. It could be 4 flutes for all it knows. MusicXML appears to provide the extra information that the importing program needs.  There are <chord> tags and also <forward> and <backup> tags to control the music counter from advancing with each note of the chord). Will Sonar actually use these features? And has it been tested? Otherwise I'm not going to save any time over a midi export/import.


BTW, at the time I wrote this the website for Recordare, the publisher of the MusicXML format, lists software that supports MusicXML but Sonar is not listed yet. http://www.recordare.com/musicxml/community/software

I appreciate that the Sonar team has many use cases to support so I'm happy to see the XML support. Sonar can't do all things well. So I bought Notion because Sonar is not a scoring program. I use TuxGuitar because Sonar is not best with tablature. Now if I can tie them together with XML I'll be a lot happier.
#1

4 Replies Related Threads

    vintagevibe
    Max Output Level: -51 dBFS
    • Total Posts : 2446
    • Joined: 2003/12/15 21:45:06
    • Location: Atlanta, Ga
    • Status: offline
    Re:Questions about MusicXML 2011/09/16 15:09:58 (permalink)
    My experience with XML is between Notion and Sibelius and there are glitches there and I expect glitches in Sonar as well.
    #2
    musicxml
    Max Output Level: -90 dBFS
    • Total Posts : 2
    • Joined: 2011/09/16 21:04:15
    • Status: offline
    Re:Questions about MusicXML 2011/09/16 21:19:16 (permalink)
    We have now updated our MusicXML software page at the Recordare site to include SONAR. It's listed in the beta/prototype section until the release starts shipping.

    Note that regarding issue 3, MusicXML's XSD definition is not in a namespace - otherwise the DTD and XSD versions would be incompatible. The difference between a DTD and XSD is primarily in import, not export. Since this release only exports MusicXML files, I would be very surprised to see an option relating to DTD/XSD differences.

    #3
    mwduffy
    Max Output Level: -90 dBFS
    • Total Posts : 2
    • Joined: 2011/09/16 12:34:22
    • Status: offline
    Re:Questions about MusicXML 2011/09/17 11:13:24 (permalink)
    musicxml


    We have now updated our MusicXML software page at the Recordare site to include SONAR. It's listed in the beta/prototype section until the release starts shipping.

    Note that regarding issue 3, MusicXML's XSD definition is not in a namespace - otherwise the DTD and XSD versions would be incompatible. The difference between a DTD and XSD is primarily in import, not export. Since this release only exports MusicXML files, I would be very surprised to see an option relating to DTD/XSD differences.


    I think exporting in MusicXML is a really huge step. But every new feature of a software product establishes a legacy that must be supported for some time (usually longer than the developers want). DTD's are good for the immediate use case - export - but might complicate future use cases.
    I have gotten away from using DTD's, not because I don't like them but because they can make mash-ups difficult. Imagine producing something like the Real Book for an iPad in XML - you could use MusicXML for the scores, XHTML for the front matter and TOC, and a binder format to enclose them. Or building a musical database to support a Pandora-like application where the scores are marked up with analytic notations in some other namespace. It's just easier to do these things in XSD. But that's not Sonar's immediate use case so I won't complain if I have to look at a DTD. It's still worth it to me to buy the option to have the XML capability.

    You said that the MusicXML  DTD and XSD versions are compatible. Does this mean that they have the same post-validation structure so I can write one stylesheet to deal with both? 




    #4
    musicxml
    Max Output Level: -90 dBFS
    • Total Posts : 2
    • Joined: 2011/09/16 21:04:15
    • Status: offline
    Re:Questions about MusicXML 2011/09/18 00:52:45 (permalink)
    I agree that if we starting now we would use an XSD or Relax NG schema to define the MusicXML language, and include namespace support. However, MusicXML development started in 2000 so DTDs were the only workable option at that time.

    A MusicXML file is a MusicXML file. You can validate it against the DTD or the XSD and the post-validation structure is indeed the same. The same code and stylesheets work whether you validate against a DTD or XSD. That's why it makes no sense for SONAR to worry about DTD vs. XSD when it comes to MusicXML file export; it's only a consideration during MusicXML file import.

    There's lots more information about MusicXML at http://www.recordare.com/musicxml, including signup for the MusicXML developer mailing list.


    #5
    Jump to:
    © 2024 APG vNext Commercial Version 5.1