Skip to main content
February 21, 2012
Question

10 band real time equalizer from mic to earphones

  • February 21, 2012
  • 1 reply
  • 3257 views

Hi. I would like to do script to do 10 band equalizer which would change sound from microphone dynamicly (in real time) and result play in earphones (also realtime) with small time lag.

Is that possible? Maybe some paid library? I would like to get 15 band EQ.

I found something like this:

http://www.blixtsystems.com/2008/05/simple-3-band-eq-with-flash-player-10/

but i don`t know how to scale it to get 10 or 15 bands.

Would it work on mobile air apps or only on desktop & flash apps?

This topic has been closed for replies.

1 reply

February 22, 2012

I found something like this:

http://philippseifried.com/blog/2011/10/20/dynamic-audio-in-as3-part-3-robot-voice/

I would like to change it get EQ band corrector to set some bands (f.e. 10 different frequences in hearing range from 125Hz to 8000Hz) volume level up anddown. 

Something like this:

band125hz.volume +=1;

band200hz.volume +=5;

band400hz.volume +=0;

band800hz.volume +=1;

I would like volume up and down by frequencies. This script after change should strengthen (boost) or weaken (cut) the energy of specific frequency bands as in this process:

http://en.wikipedia.org/wiki/Equalization

kglad
Community Expert
Community Expert
February 22, 2012

i don't think what you want to do is easy if you want to accurately determine sound frequencies.  at least, it wasn't 2 years ago when i made a hearing loss simulation (http://www.kglad.com/Files/forums/hlSim.html) for a cochlear implant/hearing aid company.

to control the frequency spectrum (which is what you want to do), i had to explicitly perform a fourier transform (and its inverse) and the spectrum data available using as3.  i adapted someone elses code to do this but i can't recall whose code i adapted.

if you only need to approximate the frequency spectrum cut-offs, you can use flash'es SoundMixer.computeSpectrum with FFT enabled.

February 26, 2012

Could someone tell me more about it? I read about computeSpectrum and FFT but i can`t realise in what way i should read that data matrix. Any help will be appreciated.

Is computeSpectrum works with dynamic captured data from microphone on realtime?