在动作中加快或降低音频速度?

时间:2022-07-29 02:43:10

I can't find a way to speed up or down the audio speed (pitch) with actionscript (or any other way in flash). Is it possible?

我无法通过动作脚本(或闪光灯中的任何其他方式)找到加快或降低音频速度(音高)的方法。可能吗?

I want to make a small DJ game, with a control to speed up or down from 15% an uploaded mp3. Any idea on how I could implement that?

我想制作一个小型的DJ游戏,其控制可以从上传的mp3的15%加速或减速。关于如何实现这一点的任何想法?

1 个解决方案

#1


I'm not awesome at audio stuff, but I think the way you'd do it is to manipulate the ByteArray of the sound:

我对音频的东西不是很棒,但我认为你这样做的方法是操纵声音的ByteArray:

There's an example here:

这里有一个例子:

http://www.kelvinluck.com/2008/11/first-steps-with-flash-10-audio-programming/

I'd also suggest looking at Andre Michelle's stuff (http://blog.andre-michelle.com/)

我也建议看看Andre Michelle的东西(http://blog.andre-michelle.com/)

#1


I'm not awesome at audio stuff, but I think the way you'd do it is to manipulate the ByteArray of the sound:

我对音频的东西不是很棒,但我认为你这样做的方法是操纵声音的ByteArray:

There's an example here:

这里有一个例子:

http://www.kelvinluck.com/2008/11/first-steps-with-flash-10-audio-programming/

I'd also suggest looking at Andre Michelle's stuff (http://blog.andre-michelle.com/)

我也建议看看Andre Michelle的东西(http://blog.andre-michelle.com/)