I had a demo of a very interesting piece of software recently called ScoreCleaner
(www.doremir.com, although unfortunately the site looks to be down at the moment). It can
take freely played rubato MIDI input and intelligently create a meaningful score from
them. Is that the sort of thing you had in mind?