如何改变音频的节奏和音调的个性使用的ffmpeg? [英] How to change audio tempo and pitch individuality using ffmpeg?

查看:1035
本文介绍了如何改变音频的节奏和音调的个性使用的ffmpeg?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已成功地发挥使用的ffmpeg和AudioTrack类的音频文件在我的Andr​​oid项目。我可以使用AudioTrack类setRate方法改变音频的速度。但它也改变声音的音高,我想只改变速度的声音,但我发现在网上没有解决方案。

I have managed to play audio files using ffmpeg and AudioTrack class in my android project. I can change the speed of audio using AudioTrack class setRate method. But it also change the pitch of audio, I want to change only Tempo of audio but I found no solution on net.

任何人都可以请帮我在这,因为对于此的支持。

anyone can please help me on this as there is no support for this.

推荐答案

解决方法: 我试过SoundTouch库。我编译它成功地为Android,但后来我没有使用它的功能,因为我不知道如何使用这个库加载声音。

Solution : I tried SoundTouch library. I compiled it successfully for android but then I failed to use its function because I don't know how to use this library to load audio.

但在那之后我试图库称为索尼克。其基本的语音,因为它使用PSOLA算法中改变音高和节奏。但其确定。

But after that I tried library called Sonic. Its basically for Speech as it use PSOLA algo to change pitch and tempo. But its ok.

这篇关于如何改变音频的节奏和音调的个性使用的ffmpeg?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆