As far as I know there is no 'satisfying' way to do this. Way too complex for polyphonic/multitimbral music.

Only monophonic/monotimbral can be converted to MIDI.