For that you have a few options.
You could probably do it with a Java Applet. For this, you would want to be familiar with java AWT programming.
Similarly, you could probably use Macromedia Flash.
None of these approaches is as good in the long run as just putting up links to the sound files and letting people play them how they want.