AS3: Analyzing sound spectrums one by one, one channel at once

孤人 提交于 2020-01-04 04:32:08

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/7416277/as3-analyzing-sound-spectrums-one-by-one-one-channel-at-once

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!