title: Getting signals from a MIDI port in C#
body: <p>I bought a MIDI keyboard for my birthday. I found a program (MidiPiano) that gets signals from the MIDI input and translates it into music, but I'd rather like to write one myself.</p>
  
  <p>Where can I find documentation for doing such a task? The MIDI protocol is well documented, but not the MIDI ports.</p>
  
  <p>I checked two projects from CodeProject (Project MIDI and C# MIDI Toolkit), but spent many hours without getting close to my goal.</p>
  
  <p>A reference to a project will be fine, but please, only C#.</p>