Kyma Forum
  Kyma Support
  time filtering triggers

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   time filtering triggers
Bill Meadows
Member
posted 23 March 2008 17:09         Edit/Delete Message   Reply w/Quote
How can I ensure that some minimum time has passed between consecutive triggers? I need to prevent false triggering with a manual input (e.g.: !PenDown) so I'd like to ignore consecutive triggers that occur within some small amount of time (say 100ms).

This must also be able to work while the Timeline is parked at a "WaitUntil" point.

IP: Logged

Phi Curtis
Member
posted 23 March 2008 19:53         Edit/Delete Message   Reply w/Quote
This will generate a 1 for 0.1 seconds:

(1 - (!Trigger ramp: 0.1 s)) rounded

The 1 only lasts 0.1 s, though. If you need !Trigger generate a 1 for long as the pen is held down, this will do it:

((1 - (!Trigger ramp: 0.1 s)) rounded + !Trigger) clipTo01

I haven't tried these at a !WaitUntil.


[This message has been edited by Phi Curtis (edited 23 March 2008).]

IP: Logged

Bill Meadows
Member
posted 23 March 2008 20:44         Edit/Delete Message   Reply w/Quote
Thanks! I think this will work.

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c