I want to manually have a function that creates a MIDI file according to users demands, for example.
User write 2 patches that contain 8 bars of 4 quarters of A4 (Co
Just wanted to add that Somascape has a very comprehensive and well-laid out resource for MIDI file structure and MIDI protocol. (Check out the drop-down menu on their site for additional resource pages). It helped me a lot recently while writing a MIDI framework for Swift.
Other good links on the MIDI file format can be found here:
From all the MIDI info I read recently, this seems to be the most comprehensive tutorial, in the other hand the following link is a good place to get started:
MIDI structure at the official MIDI website
Also, NAudio is a .NET library that works with MIDI files by Mark Heath.
I've also found this link very useful, I thought why not share it with people here.
I think this is the best .NET API for messing with MIDI files.