~ Audio Time Stretching - Implementation in Pure Java Using WSOLA
» Door Joren op maandag 06 februari 2012 - ReageerThe DSP library for Taros, aptly named TarsosDSP, now includes an implementation of a time stretching algorithm. The goal of time stretching is to change the duration of a piece of audio without affecting the pitch. The algorithm implemented is described in An Overlap-add Technique Based On Waveform Similarity (WSOLA) for High Quality Time-Scale Modification of Speech.
To test the application, download and execute the WSOLA jar file and load an audio file. For the moment only 44.1kHz mono wav is allowed. To get started you can try this piece of audio.
There is also a command line interface, the following command doubles the speed of in.wav:
java -jar TimeStretch.jar 2.0 in.wav out.wav
The source code of the Java implementation of WSOLA can be found on the TarsosDSP github page.

