改变音调(非实时)
我心里一直有这个问题,但无论我问什么,我都无法得到有用的答案或建议:
我怎样才能发出声音(不是实时的)?
我使用 AVFoundation 框架来播放我的声音,如下所示:
AVAudioPlayer *player = [[AVAudioPlayer alloc] initWithContentsOfURL:TempRecFile error:nil];
player.volume = 1;
[player play];
How can i set theitch or the rates of my sound without using some othere Frameworks like OpenAL.不过,如果您知道我可以在哪里学习 OpenAl,我们非常欢迎您:D
i alway had this question in my mind, but wherever i asked, i could never get an answer or a suggestion that would be helpful:
How can i pitch a sound (not realtime) ?
Im using AVFoundation framework to play my sounds like so:
AVAudioPlayer *player = [[AVAudioPlayer alloc] initWithContentsOfURL:TempRecFile error:nil];
player.volume = 1;
[player play];
How can i set the pitch or the frequency of my sound without having to use some othere frameworks like OpenAL. Although, if you know a place where i could learn some OpenAl you're very welcome :D
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一些 iPhone 时间音调转换库提到了这个 StackOverflow 答案:Real- iPhone 上的时间变调,
可以离线工作,也可以实时工作。
这里有一篇关于时间音调技术的维基百科文章,以及有关该主题的 dspdimention 概述。
There are a few iPhone time-pitch shifting libraries mentioned the this StackOverflow answer: Real-time Pitch Shifting on the iPhone,
which work offline as well as potentially in real-time.
Here's a wikipedia article on time-pitch technology, and a dspdimention overview on the topic.