As part of the Google Summer of Code, MuseScore are developing Semi Real-time MIDI input. The idea is to create a number of different MIDI input modes with MuseScore one that will place a sustain pedal foot-tap as the master metronome.

Good luck to Peter who is hoping to do the coding as part of the Google Summer of Code.

More details online.