# computeSpectrum + audio source question

**URL:** <https://forum.kirupa.com/t/computespectrum-audio-source-question/196863>\
**Category:** flash\
**Created:** [August 11, 2006, 3:11pm UTC](https://forum.kirupa.com/t/computespectrum-audio-source-question/196863 "2006-08-11T15:11:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noizbot](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@noizbot](https://forum.kirupa.com/u/noizbot)\
**Post date:** [August 11, 2006, 3:11pm UTC](https://forum.kirupa.com/t/computespectrum-audio-source-question/196863/1 "2006-08-11T15:11:32Z")

</div>

Like many others I really like computeSpectrum 🙂 That said, there’s something I want to do and I don’t know if it’s possible.

In every example that I’ve seen (and in my own experience working with it) computeSpectrum functions on all audio currently being output by Flash. What I want/need to do is target the spectrum/FFT stuff to only one channel of audio. What I mean is, I want to get and display spectrum data on some playing audio (ie: an .mp3), but at the same time I want to be able to play other audio (ie: interface sound effects) that does not interfere with that spectrum.

Is there any way, obvious or not, to accomplish this? I could easily be missing something.

Here’s one non-obvious method that I thought of: Perhaps there is some way to quickly capture the entire spectrum data of the entire .mp3 ahead of time and then use that data to provide the spectrum while \*really \*playing back the .mp3. If nothing else is possible, is this at least possible somehow, or does computeSpectrum -only- work in realtime on playing audio?

Does anyone have a magical solution for me? :huh:
