Tzarls ·
It would be nice, and I´m sure quite useful, to have a MIDI player primitive. Such a primitive should have the option to load a Standard MIDI file (using the standard file dialog) and then output the MIDI stream. It should be able to play using host´s tempo or not, and should have trigger inputs for play, stop, resume and a float input for things like "go to xx measure".
Additionally, there could be a Save to MIDI FIle primitive, with a trigger to execute the save operation and a String Array as input. One should be able to make a MIDI sequence using the array, with instructions like "01:01:0000 1 NoteOn 100", meaning "at specified time, on channel 1, NoteOn message with velocity of 100"
And on top of that, the Save To MIDI could have an option "Save to Memory Location". And the MIDI player could have the option "Load from Memory Location". That way one could create sequences and play them back without the need of a temporary file.
What do you think?