- Category:
- ActiveX-DCOM-ATL
- Tags:
-
- File Size:
- 229.5kb
- Update:
- 2008-10-13
- Downloads:
- 0 Times
- Uploaded by:
- llvj
Description: pcm this code to load and play the first one voice, and then monitor Event.ENTER_FRAME events, that is, voice playback trigger onEnterFrame () function. onEnterFrame () first call SoundMixer.computeSpectrum () method, the waveform data stored in the ByteArray object in bytes. and then use vector graphics rendering API sound waveform. The first traversal for the cycle 256 before the left channel data, and use Graphics.lineTo () method from one point to another point of painting. The second for the cycle traverse the next 256 right channel data in the opposite order of the drawing, right-to-left. final waveform can produce an interesting image effects.
To Search:
File list (Check if you may need any files):