you could set the audio input to control the opacity of the patch instead (connect the audio in patch to a math patch, then an HSL color patch). If you multiplied the signal by 5 and then subtracted 2 you can get a result that's fairly punchy without being flickery. Mess around with numbers and see what works for you. multiplying it by a really high number like 10,000 will have the same effect as hooking the audio in straight to the "enable" section of the shape patches. If you subtract half of that number from the math patch you will only see the shapes when the audio is at 50% or above. subtract 3/4s that number and then you will see the shapes when the audio is at 25% or above, and so on.

The issue behind the flickering is that the enable input looks for a boolean (true/false signal), but it looks to the closest thing if it can't find that (anything above zero = true, zero and below= false). So a audio input reading of .001 will trigger it. in addition to using alpha/opacity like in the solution above (my preferred choice, since I like the smoothness and variability it offers), you can just subtract a number from the audio input data using the math patch, and create a "threshold" like in the first solution.

sorry if my instruction-giving is a bit obsessive :(

Andrew

On Oct 23, 2007, at 3:51 PM, Andrew Larking wrote:

Hi all.

So many questions!

I would like to have a range of pre-set shapes, which I would like to turn on and off via audio input. Imagine an array of squares filling the screen, all invisible (not enabled?). When certain input levels are reached, they turn on. I thought this would be simple by connecting audio in to the enable, via a range, but whatever I set it flickers. Any ideas?

A.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- [EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/ andrewohlmann%40gmail.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to