Hi everyone. I’m somewhat new to TouchDesigner and I’m trying to do something that I thought should be somewhat straightforward but maybe it’s not. I have an analyze top which is the average chan1 from an audio input file. I also have a geometry containing just a long, thin rectangle. What I would like to do is have the rectangle size in the x dimension and expand and contract dependent on the input from the analyze top. Right now, I have the analyze TOP dropped in to the “scale x” field under the first instance tab on the geo. The geo doesn’t change size, though, and it stays the same. Does anyone know what I’m doing wrong?
Hi,
Sounds like you are mixing data types. If you want to drop in the output of an Analyze directly into the geometry x parameter, you need CHOP data, not a TOP, because a parameter does not read pixel information.
If you want to stay in TOP world and use the pixel data, you can create a geometry with a single instance and pass the top data through the Scale field to affect it.
Find attached an example with both approaches.
Best,
Darien
RectangleAudio.tox (3.7 KB)
Hi @aftonsteps,
for basic concepts in TouchDesigner we recommend also going through our curriculum at
Short videos give an excellent introduction into the common techniques. Particularly on the topic of driving parameters with other data, you could check:
Cheers
Markus
Thank you so much! I replaced the TOP with a CHOP. I also dropped the CHOP analyze into the sx dropdown under “scale” on XForm, whereas previously I had dropped it on “Scale X” under one of the instance tabs.