« Another CMYK separation in 3D | Main | Away3D video-wall »

Sound vizualizer with Away3D

I keep playing with examples for upcoming Away3D tutorials on Flashmagazine. Here's a simple sound visualizer using Away3D. I store the average 512 samples in 20 values and use these to scale and color the cubes. I've spent way too much time playing with this one (without getting the results I wanted), so I better move on to the next example. I guess Beat Detection is a little harder than I thought...

This content requires Flash Player 9 (or a more recent version). You need to upgrade your Flash Player
The source will be in the tutorial and there's no interactivity on this one, just enjoy the music:)

A word from our sponsors :)

Comments

no audio too :)

I don't see a thing in FF. In IE I get this error:

SecurityError: Error #2121: Security sandbox violation: SoundMixer.computeSpectrum: http://www.flashgamer.com/a/Basic07_cube_music.swf cannot access . This may be worked around by calling Security.allowDomain.
at flash.media::SoundMixer$/computeSpectrum()
at Basic07_cube_music/Basic07_cube_music::onEnterFrame()[/Users/jensa/Documents/Flex Builder 3/Away3D_Tutorials/Basic07_cube_music.as:139]

great visualizer and great song
thanks!

Having a hard time reproducing the errors mentioned here. Works fine in IE, FF, Opera and Chrome as well as Safari and FF on a Mac when I test it. Could it be that you tested just as I uploaded a version with a path-bug? I fixed that just minutes later...

Anyway - thanks for dropping by and giving feedback!

J

[update: Anton confirmed that it's now working. He and hal must have checked just as I had the faulty version out]

Cooooool!
Just a question though, you seems to fancy Away3D over Papervision3D. Why?

Hei Thomas!
I did some tests with both Away3D and PV3D about half a year ago and made my choice based on what I found. For the project I was about to do, Away 3D simply performed better. There were also some really neat things that PV3d didn't have and I found the syntax in Away more intuitive.

Others may make a different decision, but I think Away3D is easier to get started with for the beginner. There's a lot of nice "default" things (Scene, camera, positioning) that I think make it easier to get started with. Then again, I've only spent maybe a week doing PV3D whereas I've spent a lot of hours on Away :)

J

Hei Jensa

Thanks for your well explained answer. I'm looking forward to try your Away3D tutorial when it's done.

Thomas

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)