I'm at the start of a small project to capture MIDI notes in real time as played on an attached keyboard. I can process existing MIDI files but am looking to generate my data on the fly.
In my estimation (and hope), my requirement is quite basic and I really only want to capture note information (NT - note, time on/off, velocity on/off etc.) in real time. I will require accurate timestamps so I presume I will have to generate these on the system side as each note arrives as opposed to reading them from a MIDI file. Latency may be an issue but I will deal with that as required.
It appears there are a number of potential directions such as MIDI.Net or the C# MIDI Toolkit but thus far I've not succeeded in locating any sample code that is helpful in getting me started.
If anyone can point me in the right direction, I would be very grateful indeed.
Many thanks from Sydney, Australia, Dave