Duemilanove and potentiometers

Or look at the way I did it on this project:-
http://www.thebox.myzen.co.uk/Hardware/MIDI_Footsteps.html