TS Audio-To-Midi....it's real time though, so probably best for analysing single stabs of sound rather than entire patterns.