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
93 Comments
7 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.

Twitter <follow>

February 7th 2012 - 9:13pm

@yizzreel Ha, yeah Twitter isn't the medium for this kind of conversation ;) Thanks for the Watts link, about to press play now...

Discussion

99 Responses to AS3 Music Visualisation

1 2 3 ... 9

Leave a Reply

Pingbacks / Trackbacks

  1. 3 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. 3 years ago AS3 Flash Music Visualisations on Bandcamp by Soulwire

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

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

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

  4. 2 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. 1 year 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. Dennis Porter Jr. 4 years ago

    Hey man, you’re pretty good at programming. Nerds are few and far between up here in Detroit. I’m more of a PHP man myself, but I’m going hardcore into this actionscript thing. Trying to find the synergy between Javascript, PHP, MySQL, Actionscript, XML, and HTML. lol. Anyway just thought I’d drop you a line. Good luck on the sound spectrum class.

    Reply to this comment

    1. Xaria 7 months ago

      Wow, this is in every rpesect what I needed to know.

  2. Tom Pike 4 years ago

    Fucking sweet!

    Might have some work for you man, this kicks ass. Is it random too? seems different each time a bit.

    Good stuff.

    Reply to this comment

  3. David Backstein 4 years ago

    that`s definitely the best as3 visualizer i`ve seen. i love the song and the graphics!

    and i will code this for my own too!

    the real innovative thing is, that you don`t visualize frequencies but use kickbeats to make living graphics move. i love this kind of abstraction.

    a good idea for following versions: not to scale the hole graphics container but move every graphic for its own.

    thank you for that great inspiration!

    Reply to this comment

  4. Ryan 4 years ago

    that blew me away. i would love know how you did this! i anxiously await the day you post the source.

    Reply to this comment

  5. paulo 4 years ago

    ve se aprende isso caco.. seu porra.

    Reply to this comment

  6. Yo 4 years ago

    w o w… now that’s inspiring. well.. really your whole site is :)

    Reply to this comment

  7. Yo 4 years ago

    hi, any progress or new thoughts? i am very interested in this, create animation that dance to the beat … also, is there any actionscript library that animate human movements?

    Reply to this comment

  8. djcoconuts 4 years ago

    fantastic
    any possibility to get this code?

    Reply to this comment

  9. Soulwire 4 years ago

    I’m actually in the process of writing a tutorial for Kirupa on how to do this, so stay tuned and in the next couple of weeks I’ll have numerous examples ready with source code!

    Reply to this comment

  10. andrew narayan 4 years ago

    Hey cool stuff here. I’ve just started experimenting with the soundSpectrum. How are the source files coming along?

    Reply to this comment

  11. Carl Martin 4 years ago

    Dude….thats inspiring!

    I am a third year interactive media student trying to create artwork based around visualisers and would lovea look at the code!

    If you get the chance check out my facebook group about the project!

    http://bournemouth.facebook.com/group.php?gid=8877590999

    awesome…truly awesome!

    Reply to this comment

  12. P7 4 years ago

    Wow, this is awesome lovleyness…. Any code listings yet? :)

    Reply to this comment

1 2 3 ... 8