Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] is there an example of how to transform the MusicXmlDocument into a MIDI? #17

Open
rafaeljustinox opened this issue Dec 14, 2023 · 4 comments

Comments

@rafaeljustinox
Copy link

I know that the context of this package is just to parse XML. But would you have an example of MusicXmlDocument being used to build a MIDI file or to play MIDI notes in a sequenced and timed manner?

@rafaeljustinox
Copy link
Author

@thaihuynhxyz

@thaihuynhxyz
Copy link
Collaborator

Sorry @rafaeljustinox, I have no time right now. Please feel free to contribute your example to this repository.

@rafaeljustinox
Copy link
Author

@thaihuynhxyz I can contribute as soon as I manage to implement it. But I would like to understand for what purpose this package was used besides parsing the xml. Is there any other project where you used this package? Or was the idea just to extract information from the xml? If you have any tips on how I could use the parsed object to play the sounds synchronously, I'd appreciate it.

@eighty4
Copy link

eighty4 commented Oct 11, 2024

@rafaeljustinox

Have you build anything with this project yet? If not, here's some help with your questions:

I think the scope of this package is to read MusicXML into an object representation so that people can build programs that interop with MusicXML. Integrating MIDI would be a Bring Your Own Code use case that this package is meant for.

A lot of MIDI related packages on pub.dev read MIDI from .sf2 files.

Here is one that lets you build a MIDI programmatically: dart_midi_pro.

MIDI related: pub.dev search for MIDI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants