SoundTouch安装方法见:http://blog.youkuaiyun.com/qq354960984/article/details/53201448
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* 使用SoundTouch工具生成带特殊音效的音频文件
*
* 结果文件下载地址:http://pan.baidu.com/s/1gf9LdmF
*
* @author Brook
*
*/
public class SoundEffectDemo {
public static void main(String[] args) throws Exception {
// 机器人
execCommand("soundstretch4Lame original.mp3 Robot-Highest.mp3 -pitch=11");
execCommand("soundstretch4Lame original.mp3 Robot-Higher.mp3 -pitch=9");
execCommand("soundstretch4Lame original.mp3 Robot-High.mp3 -pitch=5");
execCommand("soundstretch4Lame original.mp3 Robot-Low.mp3 -pitch=-5");
execCommand("soundstretch4Lame original.mp3 Robot-Lower.mp3 -pitch=-9");
execC