Advertisement

You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Tutorial: building an audio visualizer in python

14

Blendercookie.com published their new video tutorial for Blender 2.5 demonstrating how to build an audio visualizer Blender and to let python drive the animation F-curves of those meshes with the wave elements of an audio input. This looks pretty spectacular.

Here is a short project description from their website:

In this Blender 2.5 video tutorial, we will be taking a look at how to use sound to drive an object’s scale.

We will be building a ‘field’ of cubes, each of which will pulse along to certain frequencies of a song.

What is covered in this tutorial:
- Baking sound to F-curves.
- Programatically creating an N-by-M matrix (field/ grid)
- Setting a keyframe and baking F-curves from Python
- Finding out which frequencies to use using Audacity

Note: In recent SVN versions the API has been updated. If you’re using one of these later versions please be sure to replace “bpy.ops.object.scale_apply()” with “bpy.ops.object.transform_apply(scale=True)

For more go to: www.blendercookie.com/building-an-audio-visualizer-in-python

14 Comments

  1. Yeah, I have tried that one...
    Only problem is that my blender build always crashes when running it.
    And nobody seems to know why :')

  2. Ja, ich habe, dass man versucht, ... Das einzige Problem ist, dass mein Mixer zu bauen immer abstürzt, wenn es läuft. Und niemand scheint zu wissen, warum: ')

  3. @Cmitz

    What build do you use, and what for?
    Doesn't it work with the official one?
    Maybe you could post your blend-file somehow, with Dropbox or something similar, to see what is wrong..

  4. Dang...Will have to wait till tomorrow to post the blend as i just transfered the file to my external. Also, made a mistake...i used blender 2.57b

  5. Hey guys, i know this isnt the right spot bug can someone please point me to a place where i can get help writing a python script. Im trying to write one for an similar audio visualization. A disco type floor. any help would be appriciated.

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.

Advertisement

×