You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found a case where I need to take a URI generated by MidiWriterJS and modify it and output an updated URI. Is there a good way to do this with the existing library functionality? If not, I propose a new Reader class that accepts a URI or File as an input and generates the Track object from it. I can take a shot at the implementation.
The text was updated successfully, but these errors were encountered:
Hi @wileymc, there isn't currently a way to read a MIDI file into this library and modify its contents. Given the serial nature of adding events with MidiWriterJS I'm not sure how modifying an existing MIDI file would work exactly. Do you have any thoughts about how that would look?
For the implementation, I think something similar to what tonejs has done here would be possible but may be difficult given MidiWriters current architecture.
I've found a case where I need to take a URI generated by MidiWriterJS and modify it and output an updated URI. Is there a good way to do this with the existing library functionality? If not, I propose a new
Reader
class that accepts a URI or File as an input and generates the Track object from it. I can take a shot at the implementation.The text was updated successfully, but these errors were encountered: