Resolve MIDI ports by properties. Resolves #4.