I work for Sibelius so I'm heavily involved in this world. MusicXML is a great standard and offered a solid basis for data interchange between music notation programs. But now there's a new group working to build a successor standard, MNX: https://w3c.github.io/mnx/docs/ It was originally going to be in XML but they recently switched to JSON, which is a good move, I think. I can't wait for it to be adopted as it will…
How well does MusicXML (and MNX) represent the full range of notation? It seems like an exceptionally hard problem. Related: Can it handle non-Western notations?
MusicXML
51–60 of 80 posts
Re: MusicXML
#52And there are actually a lot of alternatives, e.g. ABC notation, Alda, Music Macro Language, LilyPond, to name a few. Difficult to decide which one to prefer.
Re: MusicXML
#53Earlier quoted context omitted.
I'm all for JSON-with-comments, and I even have a bit of a soft spot for the idea of JSON-with-expressions, but considering how far I expect this one to be on the "interchange" side of the spectrum between interchange formats and authoring formats, I doubt that comments will be missed a lot. Certainly less, less by several orders of magnitude, than in the depressingly ubiquitous JSON-as-configuration use case...
Another concern with comments is that apps might try to (ab)use them to store app specific information, which hurts the goal of an interchange format.
Re: MusicXML
#54Earlier quoted context omitted.
Hi, I'm the person running the MNX project! Contributions welcome — we're making good progress and the new format is going to be really fantastic.
Awesome project (as always) Adrian! Will MNX allow for inline comments? I don’t see any comments on the examples page: https://w3c.github.io/mnx/docs/mnx-reference/examples/ I know JSON doesn’t have comments, but JS and JSON5 allow for comments. It would be super nice to allow for comments because you can hand annotate sections of the MNX file for the purposes of teaching.
Given the choice between supporting comments and supporting a wider variety of implementations/libraries ("plain" JSON as opposed to a comments-supporting variant), I think the latter is a more practical priority.
With that said, we'd like to add a standard way to add vendor-specific information to an MNX document — which is definitely a must-have, for applications that will use MNX as a native format — and I could see a comments-ish thing appearing in that form.
Regarding that examples page, I'm actually planning to do something along those lines anyway. The MusicXML docs and the MNX docs use the same system (a Django app), and the MusicXML part uses a custom XML tag to define "this part of the XML example should be highlighted in blue" (example: https://w3c.github.io/musicxml/musicxml-reference/examples/a...). It's on my to-do list to implement the same thing for the JSON version — which is essentially like inline comments(ish), if you squint.
Re: MusicXML
#55I work for Sibelius so I'm heavily involved in this world. MusicXML is a great standard and offered a solid basis for data interchange between music notation programs. But now there's a new group working to build a successor standard, MNX: https://w3c.github.io/mnx/docs/ It was originally going to be in XML but they recently switched to JSON, which is a good move, I think. I can't wait for it to be adopted as it will…
Hi, I'm the person running the MNX project! Contributions welcome — we're making good progress and the new format is going to be really fantastic.
Re: MusicXML
#56Earlier quoted context omitted.
XML is much more precise and much more flexible. It also benefits from much more powerful and mature tooling. The few comparative downsides it has include verboseness, which doesn't matter to machines, and that younger devs don't know how to work with it, which again shouldn't be much of an issue in this use case.
XML is less precise, because it's more flexible. Powerful and mature tooling only matters to people creating and editing XML, not computers. XML Schemas are there to support human editors, not computers. Verboseness means larger files and longer processing times, which does matter to computers; the verbosity is explicitly and only there for human readers and editors. JSON is a much better format for something humans…
Re: MusicXML
#57MusicXML is old hat. All the cool kids are using MusicJSON now. EDIT: I'd like to clarify that I posted this comment, as a joke , before the below comment went on to clarify that there was, in fact, a JSON-based rewrite of the music standard in progress: https://news.ycombinator.com/item?id=38460827 Never change, tech world!
Please don't post one-line jokes on HN. The longstanding culture of this venue finds that inappropriate.
Re: MusicXML
#58Earlier quoted context omitted.
Never heard of either before but having looked at the comparison [0] I think I prefer the XML version. [0] https://w3c.github.io/mnx/docs/comparisons/musicxml/
What do you like better about the XML version?
I like JSON for data transfer but for describing documents XML is decent.
Re: MusicXML
#59Re: MusicXML
#60Earlier quoted context omitted.
Yes I'm familiar and... > Here's a taste of things to come it sounds like randomly generated MIDI... Doesn't sound like anything to me at all. Music is very subjective but I've so far seen no model that's convincing. If you like it that's cool I suppose. I personally use algorithmic composing plenty in my own compositions (I write music for piano) and these kind of models don't do it for me. They're definitely tools,…
Well yes, this model like others is quite far from giving you a finished piece. But if it's giving you "a sense" of possibly useful ideas, that's enough to make it more than "random". (Besides, I'm not sure that we would even want AI to produce music on its own with zero human input - what would be the point of that? So "just noodling around, giving you some ideas to get started with" is quite good as far as it goes.…