Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Isadora: User Patches, Tips & Tricks:
How to trigger something once...

 

 


skulpture
User


May 20, 2008, 6:04 AM

Post #1 of 9 (3707 views)
Shortcut
How to trigger something once... Can't Post

I am receiving OSC triggers from EyeCon. The trigger sets off the envalope generators in Isadora, it all works great but I was just wondering how I can make a 'gate' or 'switch' that allows only one OSC trigger an then ignores the rest. Does this make sense?

I want to gate or stop the messages so that the person triggering them does not trigger again by accident.

Any ideas?


An instant without duration....

www.grahamthorne.co.uk


gavspav
User


May 20, 2008, 7:24 AM

Post #2 of 9 (3705 views)
Shortcut
Re: [skulpture] How to trigger something once... [In reply to] Can't Post

One way is to use the gate actor!

Connect your osc trigger to the trigger input of a Trigger Value actor set to zero.
Connect the value of the trigger value to the on/off input of a gate actor.
Place the gate actor in between your Osc listener and your envelope generator.

Does that make sense - I should have made a picture or sommat.
You've probably sussed it by now anyway.

Don't forget to reset the gate actor to on

Gav


skulpture
User


May 20, 2008, 7:42 AM

Post #3 of 9 (3702 views)
Shortcut
Re: [gavspav] How to trigger something once... [In reply to] Can't Post

I did try the gate actor but the gate just went on/off/on/off because the trigger was still coming in from OSC.

I have figured out a way, its a bit of a poor excuse for a solution. (see attached)

Basically I have used a "trigger value - 1" going to a "calculator +1" an connecting that to the OSC channel.
Thus once triggered it changes to channel 2 stopping any more data.

Its not the best way and I can't use channel 2 now but its working for now.


An instant without duration....

www.grahamthorne.co.uk
Attachments: Picture 1.png (63.7 KB)


gavspav
User


May 20, 2008, 11:09 AM

Post #4 of 9 (3699 views)
Shortcut
Re: [skulpture] How to trigger something once... [In reply to] Can't Post

Are you sure you read my post?
I'm almost certain that if you send a 0 to the Gate Actor then the gate should never go on. It will go to off and stay there.
Trigger a trigger value of zero.


skulpture
User


May 20, 2008, 1:29 PM

Post #5 of 9 (3693 views)
Shortcut
Re: [gavspav] How to trigger something once... [In reply to] Can't Post

Hi Gav, I did read your post yes, but probably read it to fast!

Your right it does work, I will probably re-do the patches I made today using the gate actor.

Thanks mate. Wink


An instant without duration....

www.grahamthorne.co.uk


william
User


May 21, 2008, 7:26 AM

Post #6 of 9 (3640 views)
Shortcut
Re: [skulpture] How to trigger something once... [In reply to] Can't Post

In the past, I've used a pass value actor set to a max of 1 so when the curve hits one, even if a pulse or a trigger is still coming it, nothing passes.

There is an integer counter inline before set to stop counting at 2 (for some reason when it's set to 1, it occasionally won't fire properly. Anyway, this is setup so these two actors both stop calculating after 1 pulse for the pass value, and 2 for the IC, to save on cpu (however minimal it is).

Actor attached.
Attachments: ONE-CLICK-LIMIT.iua (1.67 KB)


skulpture
User


May 21, 2008, 1:50 PM

Post #7 of 9 (3631 views)
Shortcut
Re: [william] How to trigger something once... [In reply to] Can't Post

Thanks William.


An instant without duration....

www.grahamthorne.co.uk


Matt
Novice

May 25, 2008, 4:38 AM

Post #8 of 9 (3306 views)
Shortcut
Re: [skulpture] How to trigger something once... [In reply to] Can't Post

This might work as well.
-Matt
Attachments: 1.tiff (99.0 KB)


Mark Coniglio
TroikaTronix / Moderator

May 29, 2008, 12:06 AM

Post #9 of 9 (2629 views)
Shortcut
Re: [skulpture] How to trigger something once... [In reply to] Can't Post

You can use the MultiBlocker actor with a time of like 99999.

That's 27 days or so; not really just once, but pretty much the same result unless your making an installation that will run for a year, etc.

Best,
Mark

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Mark Coniglio / TroikaTronix
Creator of Isadora

 
 
 


Search for (options) copyright © TroikaTronix 2007