<?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[Automating a Picture Sequence]]></title><description><![CDATA[<p dir="auto">Searching for collected wisdom…</p>
<div>There's probably something obvious I'm missing, but I keep running into trouble trying to find an efficient way of flipping through a sequence of pictures repeatedly and automatically. </div>
<div>When I try to use the Wave Generator and scale the output value to correspond to the appropriate media numbers on a Picture Player, the output is nothing until it reaches those numbers, and then the Picture Player stops after the range has been surpassed.  </div>
<div>When I scale the Wave Generator, it is complex to get the correct value, say between Media number 35 and 48, when trying to determine what percentage of all the media the range should be, and then this gets screwed up when I add new media. </div>
<div> I understand how to do this via multiple scene changes, but I don't want to do that because I want to keep other images and video stages static. </div>
<div>Surely there must be a better way to do this, I just can't figure it out or find a tutorial or help file about it. </div>
<div>Essentially I just want a value that will run from a minimum to a maximum at a given speed.  This seems to be what the Wave Generator should do but maybe I'm approaching it incorrectly?</div>]]></description><link>https://community.troikatronix.com/topic/1713/automating-a-picture-sequence</link><generator>RSS for Node</generator><lastBuildDate>Thu, 19 Nov 2026 07:15:01 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/1713.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Jan 2015 16:56:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Automating a Picture Sequence on Thu, 15 Jan 2015 20:13:20 GMT]]></title><description><![CDATA[<p dir="auto">To control the output range add a second input to the javascript actor and pass it an upper limit of the range. Then change javascript to this:</p>
<div>
<p dir="auto">var sum = 0;</p>
<p dir="auto">function main()</p>
<p dir="auto">{</p>
<p dir="auto">if (sum &lt; arguments[1]) {</p>
<p dir="auto"><span class="Apple-tab-span" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"></span>     sum += arguments[0];</p>
<p dir="auto">}</p>
<p dir="auto"><span class="Apple-tab-span" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"></span>return sum;</p>
<p dir="auto"><span style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:10pt;font-family:inherit;vertical-align:baseline">}</span></p>
</div>]]></description><link>https://community.troikatronix.com/post/14266</link><guid isPermaLink="true">https://community.troikatronix.com/post/14266</guid><dc:creator><![CDATA[eight]]></dc:creator><pubDate>Thu, 15 Jan 2015 20:13:20 GMT</pubDate></item><item><title><![CDATA[Reply to Automating a Picture Sequence on Thu, 15 Jan 2015 17:48:58 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, DusX, I knew there had to be a simple solution that didn't involve scripting, powerful as it is.</p>
<div>The Pulse Generator is my new best friend. </div>]]></description><link>https://community.troikatronix.com/post/14265</link><guid isPermaLink="true">https://community.troikatronix.com/post/14265</guid><dc:creator><![CDATA[lpearse]]></dc:creator><pubDate>Thu, 15 Jan 2015 17:48:58 GMT</pubDate></item><item><title><![CDATA[Reply to Automating a Picture Sequence on Thu, 15 Jan 2015 17:44:34 GMT]]></title><description><![CDATA[<p dir="auto">I think you want to use a:<br />
 'pulse' generator,<br />
a 'counter' (that will give you the range and loop abilities)<br />
and output the values to the picture player.</p>
<p dir="auto">The pulse should trigger the 'add' of the counter.</p>
]]></description><link>https://community.troikatronix.com/post/14264</link><guid isPermaLink="true">https://community.troikatronix.com/post/14264</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Thu, 15 Jan 2015 17:44:34 GMT</pubDate></item><item><title><![CDATA[Reply to Automating a Picture Sequence on Thu, 15 Jan 2015 17:28:49 GMT]]></title><description><![CDATA[<p dir="auto">Wow thanks I've never looked at those actors.</p>
<div>But I also know practically nothing about java, my scripting started with Logo and ended with Basic… </div>
<div>But I can get this working, as you kindly illustrated, but I am missing where I add the if statements to control the output range.    
<div>Will this cycle back to the initial value?</div>
</div>]]></description><link>https://community.troikatronix.com/post/14263</link><guid isPermaLink="true">https://community.troikatronix.com/post/14263</guid><dc:creator><![CDATA[lpearse]]></dc:creator><pubDate>Thu, 15 Jan 2015 17:28:49 GMT</pubDate></item><item><title><![CDATA[Reply to Automating a Picture Sequence on Sat, 17 Jan 1970 10:49:01 GMT]]></title><description><![CDATA[<p dir="auto">How about using a javascript to integrate its input, which produces 1 at a given frequency?<img src="http://troikatronix.com/troikatronixforum/uploads/FileUpload/2c/1795c4-screen-shot-2015-01-15-at-9.05.44-pm.png" alt class=" img-responsive img-markdown" /></p>
<div>in javascript operator type this:</div>
<div>
<p dir="auto">var sum = 0;</p>
<p dir="auto">function main()</p>
<p dir="auto">{</p>
<p dir="auto"><span class="Apple-tab-span"></span>sum += arguments[0];</p>
<p dir="auto"><span class="Apple-tab-span"></span>return sum;</p>
<p dir="auto"><span style="font-size:10pt">}</span></p>
<p dir="auto">add if statement and initial value for the sum in javascript to control the output range.</p>
<p dir="auto">Cheers,</p>
<p dir="auto">--8</p>
</div>
<p dir="auto"><img src="/uploads/files/FileUpload/2c/1795c4-screen-shot-2015-01-15-at-9.05.44-pm.png" alt="1795c4-screen-shot-2015-01-15-at-9.05.44-pm.png" class=" img-responsive img-markdown" /></p>
]]></description><link>https://community.troikatronix.com/post/14262</link><guid isPermaLink="true">https://community.troikatronix.com/post/14262</guid><dc:creator><![CDATA[eight]]></dc:creator><pubDate>Sat, 17 Jan 1970 10:49:01 GMT</pubDate></item></channel></rss>