A decent computer and lots of volume is recommended.

Well, due to the fear of slipping behind, I felt I better start learning the new Flash language, Actionscript 3, and at first glance, one of the coolest features is definitely the SoundMixer.computeSpectrum function.

This is a quick experiment which uses the spectrum data of a streaming mp3 to trigger animation. Although it dynamically reacts to the beat, there are elements of randomness in this example so the animation / visualisation is different every time.

I’ve seen a few Actionscript 3 visualisations before, though they tend to follow the graphic equaliser tradition, whereas I wanted something a little more creative.

I will release some source code as soon as I have built this into a robust class. I intend to build an easily customisable music visualisation program which can build visualisations from your own graphics with various configurable parameters.

Download: AS3 Audio Visualiser

Have fun, but epileptics beware!

The track is Öngyilkos Vasárnap by Venetian Snares

Posted on 14 May 2007
111 Comments
8 Trackbacks

Meta

AS3 Music Visualisation was posted on May 14th 2007 in the category Lab / Actionscript 3.0, Flash, Generative, Open Source and tagged; , , , , , , .

You can Leave a comment.


Warning: file_get_contents(http://search.twitter.com/search.atom?q=from:soulwire&rpp=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 410 Gone in /home/soulwire/webapps/soulwire_blog/wp-content/themes/soulwire/functions.php on line 203

Discussion

99 Responses to AS3 Music Visualisation

1 7 8 9

Leave a Reply

Pingbacks / Trackbacks

  1. 8 years ago Adobe - Make some noise « I Love Flash

    [...] sound, including pitch control, tempo control, EQs, etc. A few days ago I was researching a few audio visualizers and made several [...]

  2. 8 years ago AS3 Flash Music Visualisations on Bandcamp by Soulwire

    [...] AS3 music visualisation 15% similar Actionscript 3 computeSpectrum [...]

  3. 7 years ago computeSpectrum() Roundup! | DestroyYourComputer.com | Blog - Interactive Design Agency

    [...] AS3 Music Visualization (Source in comments) [...]

  4. 6 years ago Current Music Visualisation | HD Visualisations

    [...] in current times, or rather that I have found in my investigations. SoulWire.co.uk has written a quite nice action-script 3 (flash) based music visualisation engine that works very nicely (nice choice of track to demonstrate it with too.) I like the avenues of [...]

  5. 6 years ago Ozzie und die Menschheit » Blog Archive » links…visualisierung

    [...] http://blog.soulwire.co.uk/laboratory/flash/actionscript3-dynamic-sound-visualisation -> schon etwas verrückter…scheint auch ein Programm zu sein. muss ich noch [...]

  1. Rocky 6 years ago

    Hi. Great work by the way. I’m currently creating a media player in flash for desktops and one of the functionality I wanted to include were music visualizations. Hope to see your complete code for this. Thanks. Great Work.

    Reply to this comment

  2. warum 6 years ago

    BREAKCORE!!!) you are cool)

    Reply to this comment

  3. J_Mo 6 years ago

    Loving this…just like many others by the look.

    This may be a simple one to asnwer…..How can I make the track loop??

    Reply to this comment

  4. Jamie 6 years ago

    I love the code, im getting back into flash after about a year off. One thing i can’t seem to get to work is the Event.SOUND_COMPLETE. I’m your example it calls to the sound object and not the channel. I have read in a few places that it needs to actually call to the channel. I have tried both lines below but neither seem to work.

    MySound.addEventListener (Event.SOUND_COMPLETE,soundStop);
    channel.addEventListener (Event.SOUND_COMPLETE,soundStop);

    Any help would be great.
    Thanks
    Jamie

    Reply to this comment

  5. Red 6 years ago

    Since your awesome music visualizer was just featured on reddit, you will probably be getting a lot of comments like this:

    Are there any plans to release a Visualizer plug-in for WMP or Winamp or VLC or really anything?

    Simply put these visualizations are awesome and I love them.

    Reply to this comment

  6. Jannika 5 years ago

    So true. Honesty and everything recognzied.

    Reply to this comment

  7. herpetic infection 5 years ago

    My brother suggested I might like this blog. He was once entirely right. This publish actually made my day. You cann’t consider simply how a lot time I had spent for this info! Thank you!

    Reply to this comment

1 6 7 8