de-men / music_xml

A Dart package project to parse MusicXML.
https://pub.dev/packages/music_xml
BSD 3-Clause "New" or "Revised" License
7 stars 6 forks source link

Is it possible to create MusicXmlDocument from parts and nodes ? #1

Closed DanielCardonaRojas closed 2 years ago

DanielCardonaRojas commented 2 years ago

First of all thank you for creating this package.

I'm currently working on a chord writing app and wanted to export to musicxml. From what I see MusicXmlDocument only has one exposed constructor which works by parsing a xml string.

I would like to map from my own data structures into parts and nodes from this library and do a conversion that way and create a MusicXmlDocument by creating all intermediate objects..

thaihuynhxyz commented 2 years ago

Yes, I allow public constructor at #2 please update music_xml: ^1.0.4