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

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. toy sun 4 years ago

    Man, this is so great. Please!!! Help a bruther out and post some code!!!

    Thanks,

    John

    Reply to this comment

  2. Eric 3 years ago

    I love it. Not only is the sound dope, but your animations are killer, they remind me alot of Presstube.com

    Hope your able to post some source.

    Good Stuff.

    Reply to this comment

  3. Lee Grey 3 years ago

    Vsnares, wooop wooop!

    Reply to this comment

  4. Dave 3 years ago
  5. nick 3 years ago

    did you ever post a tutorial/script? I looked but couldn’t find it :/

    Reply to this comment

  6. nexflo 3 years ago

    did it ever get published?

    Reply to this comment

  7. Soulwire 3 years ago

    Yeah, the source code was never published as it was my first AS3 adventure and is a rather hacktastic affair!

    I am building an AS3 Music Visualisation Class, which will allow you to easily build visualisers using simple shortcuts and built in methods. I intended to post it last week, but have been working on beat detection which has proved to be a larger job than I had first anticipated.

    I’m still testing different algorithms in order to find the most efficient and universally applicable to a variety of input. Once this is done I will release the project with several examples and a tutorial on implementing the Class.

    If you can’t wait, here are the source files for the above experiment (minus the artwork which I would rather not distribute)

    Keep an eye out for the AS3 Visualiser Class, it’ll be sweet! I’ll email all of you who have commented on this post when it’s out.

    Reply to this comment

  8. anant 3 years ago

    thank you very very much….

    Reply to this comment

  9. nick 3 years ago

    hey, I thew a song in there and the artwork appeared. So the animations were included in there. Just thought i’d let you know.

    thanks for the file!

    Reply to this comment

  10. sn3p 3 years ago

    Dude, it’s awesome!
    Please keep me posted if there are updates.

    cheers

    Reply to this comment

  11. Dan Stoneman 3 years ago

    Hey dude, awesome work. I am currently doing something very simliar using live audio input and about to test using instruments and DJ equipment! REally appreciate the coding and I hope to get in contact soon.

    Reply to this comment

  12. Adam Fehnel 3 years ago

    Here, just wanted to show you the results I had when adding Nine Inch Nails – Just Like You Imagined to your wonderful code.

    http://adamfehnel.com/sound

    Reply to this comment