Hi it’d like to know if it’s at all possible create a “parametric” equalizer in flash.
Not just the usual graphic effects but a tool to modify the output of the sound that pass trough the application. Any reference, tips idea welcomed.
Thanks
Hi it’d like to know if it’s at all possible create a parametric equalizer
Share
It’s not going to be terribly easy… but here might be a way:
Some on the FFT and IFFT functions, FFT usually outputs complex values (real + complex components), which can be converted to magnitude and phase components. What you really need is only the magnitude, which has a formula = (sqrt(real^2 + complex^2)). Humans ears are NOT sensitive to the phase (As opposed to the eyes, which are VERY sensitive to phase), so when you do the inverse FFT, you can insert a random or flat phase with little difference. Note that my approach is very low level in terms of filter implementation.
Here is a Fourier Transform function (not Fast though, it’s just a convolution (O(n^2)) vs FFT O(nlogn)) just for reference (err.. it’s off the top of my head so if might be wrong with the constants):