I am trying to create midi file. I have Array of values note pitch, velocity, note length.
I need simple function somthing like this
// Saves one track midi file
public void SaveAsMidi(string fileName, int[] notes, int[] length, int velocity)
{
}
Or maybe there is xml to midi or other api that I can use to save my data as midi as for c# miditoolkit it is good only for creating midi connection between devices. To save it you have to create some kind of midi sequencer and fill it with data and then you can save. I think it is a overkill but if there is no other solution then i have to use it.