http://www.aplu.ch/home/apluhomex.jsp?site=44
Change Pitch and Velocity of a WAV or MP3 Sound File in Real-Time
Purpose: With the JAW framework you easily gain access from Java to a native routine written in any other language that compiles to a standard Windows DLL. As illustrative example we use the sophisticated sound processing library SoundTouch written in C++ (fromwww.surina.net/soundtouch) and include it in a Java application that plays sound files while you may change the pitch and the velocity independently in real-time.
Execute MyPodConv using WebStart.
Click Open and select any WAV or MP3 file. Press Play and change the Pitch or the Tempo.
Download the complete application and the source code.