AS3: Analyzing sound spectrums one by one, one channel at once
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 singl开发者_高级运维e SoundChannel, so as to provide a graphical visualization of each of them?
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.
I guess you can best try to use and parse the Sound.extract() method.
hth
精彩评论