Link to home
Start Free TrialLog in
Avatar of lexshine
lexshine

asked on

Actionscript 3.0 computeSpectrum while ignoring SoundTransform

I am using computespectrum to display some audio information.

My question is, can you do the following:

SoundMixer.computeSpectrum(ba, true, 0);

and somehow ignore volume SoundTransforms that might be going on that are affecting the very sounds you are computing? I would like to computespectrum on the full volume and not have it be affected by how I may manipulate the sound.
Avatar of Spy6
Spy6

You can't really do that. What you can do is you can multiply it with the volume.

So for instance the vol is at 20% now. That means the values you are receiving now are 20% from X, X being their original value ... so X = (100/vol perc) * current value

I hope this makes sense.
Avatar of lexshine

ASKER

yes, but how do you apply that variable to the computeSpectrum statement?

ASKER CERTIFIED SOLUTION
Avatar of Spy6
Spy6

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks