2 mybook1122 mybook1122 于 2014.05.26 15:01 提问

soundtouch 在android中运用,录音文件可以变速,mp3不能变速

用soundStreth.pocess(String infile,String outfile, int rate,int tempto,int fitch);
这个方法,对wav有用,但是对mp3不起作用。

查询官网文件
SoundStretch features:
1 Reads & writes .wav audio files
2 Allows very broad parameter adjustment ranges:
Tempo & Playback Rate adjustable in range -95% .. +5000%
The sound Pitch (key) adjustable in range -60 .. +60 semitones (+- 5 octaves).
3 Beats-Per-Second (BPM) detection that can adjust tempo to match with the desired BPM rate.
4 Full source codes available
5 Command-line interface allows using the SoundStretch utility for processing .wav audio files in batch mode
6 Supports processing .wav audio streams through standard input/output pipes
6 SoundStretch uses the SoundTouch library routines for the audio procesing.

我想知道是否有其他的方法,可以使mp3也可以变速。

1个回答

ban_sibuhuo
ban_sibuhuo   2016.01.20 21:13

将mp3 decode成pcm再编码成wav进行播放。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!