Need a simple timer sound player app

view story

http://androidforums.com – I have no idea how to even begin to program an app for this so I figured I would come here and ask for help. I need a app that will play a sound file for a set time adjustable by milliseconds. IE I can set it to play for 300ms and then adjust it to 290ms or 310ms or whatever is needed for the current project. I have the following phones that it can run on, Motorola Cliq XT (rooted), HTC MyTouch 4g slide, HTC MyTouch 4g, kyocera hydro. Any help is appreciated. (General)