<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[If &#x2F; Then OSC Listener Loop]]></title><description><![CDATA[<p dir="auto">Hey all.<br />
What would be the best way to do an if/then loop for the following;</p>
<p dir="auto">I have an OSC fader control that is /isadora/9 set from 0 - 100<br />
If that fader hits 75 then it needs to trigger a movie.</p>
<p dir="auto">The stumble is, I already have the OSC Listener value out being used to control the horizontal position of a shape.<br />
I was thinking to use a pass value actor and setting the min. / max. to 75, but not sure what actor would receive that output and trigger the movie which is movie #1.</p>
<p dir="auto">Any ideas...?<br />
Thanks in advance.<br />
<img src="/uploads/files/FileUpload/60/40fd2b-screen-shot-2012-07-02-at-7.57.51-pm.png" alt="40fd2b-screen-shot-2012-07-02-at-7.57.51-pm.png" class=" img-responsive img-markdown" /></p>
]]></description><link>https://community.troikatronix.com/topic/100/if-then-osc-listener-loop</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 05:34:40 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/100.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Jul 2012 18:01:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to If &#x2F; Then OSC Listener Loop on Mon, 02 Jul 2012 20:22:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi Mark.<br />
Thanks for taking the time.<br />
That did the trick.</p>
<p dir="auto">I have been watching your youtube tutorials, good stuff. In particular Value Scaling pt.1 &amp; 2... it still has me baffled.<br />
I am having a devil of a time trying to get a vertical line bar to "grow" with the (above) OSC vertical fader. It works, but the fader numbers are from 0-100 and the vertical are from 100-0.<br />
I will make another post to keep things orderly.</p>
<p dir="auto">Thanks again... this is a great community.<br />
-DG</p>
]]></description><link>https://community.troikatronix.com/post/3491</link><guid isPermaLink="true">https://community.troikatronix.com/post/3491</guid><dc:creator><![CDATA[Chizzer]]></dc:creator><pubDate>Mon, 02 Jul 2012 20:22:30 GMT</pubDate></item><item><title><![CDATA[Reply to If &#x2F; Then OSC Listener Loop on Mon, 02 Jul 2012 19:19:10 GMT]]></title><description><![CDATA[<p dir="auto">Dear Chizzer,</p>
<div>Use a Comparator actor, with the OSC Listener output going into the 'value 1' input, and 'value 2' set to 75\. You can use the 'true' output to trigger when the fader value goes above 75\. (If the value has a lot of noise in it [i.e., is coming from some sensor] you may want to use the Compare Guarded actor instead.) </div>
<div>You should start with the 'visible' property of the Movie Player set to 'off'. (Click on the word 'visible' and use the inspector to set check the "Initialize" checkbox and set the value to 'off')</div>
<div>Then, connect the 'true' output to a Trigger Value actor that will send a 1 into the 'visible' input of the movie to start it playing.</div>
<div>Best Wishes,</div>
<div>Mark</div>]]></description><link>https://community.troikatronix.com/post/3488</link><guid isPermaLink="true">https://community.troikatronix.com/post/3488</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Mon, 02 Jul 2012 19:19:10 GMT</pubDate></item></channel></rss>