-
Notifications
You must be signed in to change notification settings - Fork 119
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
Json to midi #31
Comments
Did you look at |
It is almost, what I am looking for, but not exactly. What I am missing, is feature, that would allow me to transform json into MidiConvert object (deserialize it in other words). |
Ahhh. I don't see a Or, if something quick and dirty is more your style, maybe something like this? const midi = new Midi()
const encoded = midi.encode.apply(myJSON);
midi.decode(encoded) It would roundtrip through the encoder, which is a bit wasteful, but it would get you the object you wanted. Alternatively, I'd copy |
I'll try with pull request :) |
This can close now. |
How do i use fromJSON() fx to get the midi file i mean how to get the midi file. |
Hi, I was searching in your documentation and tests, however I could not find feature I am interested in.
Is it currently possible to generate midi file from json, that was created via MidiConvert?
My use-case is :
The text was updated successfully, but these errors were encountered: