Flex Equalizer
by Paul Taylor, Jan. 19, 2009, under [ actionscript ]

This is not a new concept in Flash, but as far as I could tell, there weren’t many solutions for this in Flex. Here’s my stab at doing an equalizer. Watch out for your ears, the volume is set to 100% by default.

http://guyinthechair.com/wp-content/flex/equalizer/EqualizerApplication.html

Fixed
I do have one small problem with it, and I’m working to figure it out… for reasons unknown to me the SoundMixer.computeSpectrum function will return a null array sometimes. I have absolutely no clue why, and I’m open to any suggestions as to why. It only errors in the first 5 seconds.

Update: Figured it out. The problem was that I was relying on EnterFrame to call the render method on the equalizer. Unfortunately, EnterFrame could potentially be dispatched before the sound file was loaded from the server, therefore computeSpectrum wouldn’t have any sound data to work with. This would cause computeSpectrum to return me a null array.

Tags: , ,

6 Responses to “Flex Equalizer”
  1. Aron Prins says:

    hey bro,

    awesome app! is it opensource? i’d like to use it for my project zipyourmix.com

    please get back to me: info@zipyourmix.com

    cheers,
    Aron

  2. MechanisM says:

    ANY SOURCE?

  3. Paul Taylor says:

    Unfortunately not, as this is being used in a client site. If I get some time soon, I might refactor it to a point where I can release the source. But as it is now, I can’t release client code.

  4. Priya says:

    Hi,

    Which flex ui component you are using for vertical bar ?

    I also like the bar used in http://www.flexvideochat.com/bin/

    I am creating web based sip phone like http://www.wantlinux.net/wp-content/uploads/2009/04/xten_x-lite.jpg

    I have some query regarding phone.

    I want to make bars of in/out stream levels that shows incoming and outgoing voice level.
    like in following phone for incoming voice(Green-colored) and outgoing voice(Red-colored).

    My query is this : I have retried mic level by mic.activelevel But.
    But, I don’t know how to get incoming stream level.

    And which flex ui component should I use for “verticale bars” in Application??
    like your equalizer

    If u suggest me.. It would be great help for me : priya4562@gmail.com

    Thanks,
    Priya

  5. xero says:

    Hey, that’s a pretty nice flex app! I’m wondering which song is playing in the background. My Shazam-App wouldn’t tell me that, would you? :)

    Thanks!

Leave a Reply: