Hello Christoph,

as you explained to me off-list, you are running the VJ Software VDMX and you 
are looking for a technique to hold a signal for a certain time.

As you can see in the attached composition JavaScript is unnecessary here. Some 
people say that JavaScript has a big performance overhead which should be 
avoided if you can do the same thing with pure QC patches.

I guess there are hundred other ways to do this so this may be not the best 
solution. (My solution has a glitch: if the triggerSignal comes in again when 
the outgoing signal is still "true" then the outgoing signal is "false" for a 
single frame because the used stopwatch patch gets reset to zero)

best,

Achim Breidenbach
Boinx Software

Attachment: audiodelay_javascript (pure QC).qtz
Description: application/quartzcomposer


On 24.10.2010, at 12:29, Christoph Kluxen wrote:

> I´m working at a composition to delay the boolean operation and even stop 
> them from restarting by a set value.
> 
> The Javascript sets the threshold to pass the switch by inputNumber[1] .
> 
> function (__boolean outputNumber) main (__number inputNumber[2])
> {
>       var result = new Object(0);
>       result.outputNumber = inputNumber[0] > inputNumber[1];
>       return result;
> }
> 
> 
> 
> 
> How can I increase the time that the value goes above inputNumber[1] and stop 
> it at that set time from retriggering?
> It`s not a rule to be a boolean operator, could be a number,too.
> 
> 
> 
> The Idea behind is to use an audio input and to control the time, so it`s not 
> so fast and unusable.
> Hard to get into it, but didn`t find a delay command at the javascript. 
> Besides where is a reference to the javascript, that Quartz uses?
> 
> thanks _______________________________________________
> 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/achim%40boinx.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