About getting sound waveform in AS3
-
28-10-2019 - |
Question
Is it possible to get whole waveform of a mp3 sound in AS3 without the need to pass all the sound with the playhead and how?
Are there any functions that do this work.
Solution
I'm not sure if I completely understand your question, but you're probably looking for the SoundMixer
class, which has a computeSpectrum()
function that gives you a snapshot of the current sound wave: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/SoundMixer.html#computeSpectrum()
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow