Cinema 4D – Accessing Sound Effector probes with Python

The Sound effector has been a part of Cinema 4D for quite a while. Recently we had a need to use the effector to drive other parts of the scene, but not through other effectors (we needed numeric values etc.). Python to the rescue!

A sample scene using the Sound effector with Python tag

Simply add a Python tag to the Sound effector and use the following script (or rather, use this as you base and play with it):

Make sure to drop the Sound effector onto some dummy object (for example a Box with size 0,0,0), otherwise it will not run. It needs to be a “real” object, not a Null.

Add a bunch of UserData fields to the tag (or wherever you want ) and feed the probe data into them. Then you can pick these UserData fields up in e.g. Xpresso and go from there.

Here’s the sample scene file: SoundProbePython.zip (R20)

Leave a Reply

Your email address will not be published. Required fields are marked *

I confirm