Tutorial: building an audio visualizer in python

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


  • dehblehmehn

    hasn’t this been published before???
    old news.

  • leo ch

    sehr nützliches Tutorial

  • leo ch

    very useful tutorial

  • Cmitz

    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: ')

  • Cmitz

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

  • Mr Blender

    thats reallly cool

  • machbauer

    Machine translation failed. retry

  • machbauer

    @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..

  • zson

    Machine translation failed. retry

  • zson

    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

  • archaic

    Machine translation failed. retry

  • archaic

    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.