问题描述
我知道使用SoundMixer.computeSpectrum和Sound.extract()方法,但这些方法处理的总声音输出。取而代之的,是有办法来处理每一个的SoundChannel,从而为他们每个人的图形可视化?
I know the SoundMixer.computeSpectrum and Sound.extract() methods , but those methods deal with the total sound output.Instead, is there a way to deal with every single SoundChannel, so as to provide a graphical visualization of each of them?
推荐答案
恐怕这是不可能的。事实上,使用computeSpectrum方法,甚至不计算自己的渠道,但分析每一个声音的Flash插件捕获。这可能是恼人的时候声音都打在不同的位置,这将导致跨域的问题。
I'm afraid that's not possible. In fact, the computeSpectrum method doesn't even compute your own channels but analyses every sound the Flash plugin catches. This can be annoying when the sounds are playing on a different location which will cause crossdomain issues.
我想你最好能够尝试使用并分析Sound.extract()方法。
I guess you can best try to use and parse the Sound.extract() method.
心连心
这篇关于AS3:分析声音频谱一个接一个,一个通道一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!