<?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[Duplicate with input connections]]></title><description><![CDATA[<p>It would be great if you could duplicate an actor with its input connections. In my work,  I find myself reconnecting dozens of actors with the same inputs. I change one parameter (for example, an index), but the connections are all the same.<br /></p>]]></description><link>https://community.troikatronix.com/topic/5482/duplicate-with-input-connections</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 09:59:18 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/5482.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Sep 2018 19:51:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Duplicate with input connections on Thu, 20 Sep 2018 09:41:11 GMT]]></title><description><![CDATA[<p>Just adding the link to the official Troikatronix tutorial on JavaScript Grouping and Ungrouping.</p><p><a href="https://support.troikatronix.com/support/solutions/articles/13000014935-grouping-ungrouping-and-passing-json-values-with-javascript">https://support.troikatronix.c...</a><br /></p>]]></description><link>https://community.troikatronix.com/post/32163</link><guid isPermaLink="true">https://community.troikatronix.com/post/32163</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Thu, 20 Sep 2018 09:41:11 GMT</pubDate></item><item><title><![CDATA[Reply to Duplicate with input connections on Wed, 19 Sep 2018 01:35:57 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/975">@jtsteph</a> said:</p>
<blockquote>Well I couldn't stay away and have run through your explanation. I'll pick up any questions about this system in your new thread. I will say that this rings of efficiency, which I love. Also, I figured out how to parse out a single controller value in your JS "Ungroup Node". It's a stone's throw for me to modify this if I want any number of  values instead of just one.
The JS node will need two inputs: one for the JSON string and one for the index.
</blockquote>
<p> Exciting! I look forward to hearing about the results (if you're comfortable sharing them).</p>]]></description><link>https://community.troikatronix.com/post/32139</link><guid isPermaLink="true">https://community.troikatronix.com/post/32139</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Wed, 19 Sep 2018 01:35:57 GMT</pubDate></item><item><title><![CDATA[Reply to Duplicate with input connections on Wed, 19 Sep 2018 02:50:59 GMT]]></title><description><![CDATA[<p>Well I couldn't stay away and have run through your explanation. I'll pick up any questions about this system in your new thread. I will say that this rings of efficiency, which I love. Also, I figured out how to parse out a single controller value in your JS "Ungroup Node". It's a stone's throw for me to modify this if I want any number of  values instead of just one.<br /></p>
<p>The JS node will need two inputs: one for the JSON string and one for the index.<br /></p>
<p></p>
<pre>
function main()
{
    var parsed = JSON.parse(arguments[0]);
    var array = [];
    var arrayindex = arguments[1];
    array.push(parsed [arrayindex]);
    return array;
    }</pre>
<p>UPDATE</p><p>Here's the JS for selecting a range. Input 1 is the JSON, Input 2 is the start index, Input 3 is the end Index.</p><p></p><p></p><pre>
function main()<br />{<br />    var parsed = JSON.parse(arguments[0]);<br />    var array = [];<br />    var indexstart = arguments[1];<br />    var indexend = arguments[2];<br />    var i;<br />    for (i = indexstart; i&lt;= indexend; i++) {<br />    array.push(parsed [i]);}<br />    return array;<br />    }<br />    <br />   </pre><br /><p></p><p>Thanks again,</p>
<p>- J  </p>
<p></p>]]></description><link>https://community.troikatronix.com/post/32138</link><guid isPermaLink="true">https://community.troikatronix.com/post/32138</guid><dc:creator><![CDATA[jtsteph]]></dc:creator><pubDate>Wed, 19 Sep 2018 02:50:59 GMT</pubDate></item><item><title><![CDATA[Reply to Duplicate with input connections on Wed, 19 Sep 2018 00:54:54 GMT]]></title><description><![CDATA[<p>On first perusal, this looks amazing, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1435">@Woland</a>, I will certainly dig into this. <br /></p><p>I am just starting to play with the Group/Ungroup actors and think that this will be the key to everything here. I was intrigued by <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2066">@Juriaan</a> 's method of using a "parser" to select the fader(s) that he wanted. I imagine it is a question of defining the index or range of indexes for the array value(s) for the Javascript Parser. I will have a hack at it - I'm not super familiar with JS but I'll see what I can come up with. I will spend some time with your outline tomorrow.</p><p>Thanks for all of your input.</p><p>- J<br />   </p>]]></description><link>https://community.troikatronix.com/post/32136</link><guid isPermaLink="true">https://community.troikatronix.com/post/32136</guid><dc:creator><![CDATA[jtsteph]]></dc:creator><pubDate>Wed, 19 Sep 2018 00:54:54 GMT</pubDate></item><item><title><![CDATA[Reply to Duplicate with input connections on Wed, 19 Sep 2018 00:30:46 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/975">@jtsteph</a></p><p>I made an example Patch just now while I was thinking about this particular idea. I wonder if it will be useful to you.</p><p>Check out <a href="https://community.troikatronix.com/topic/5486/easy-snapshots-for-user-actors-with-user-actors-inside-them" target="_blank">this new forum post</a> for screenshots and the files</p><p>Best wishes,</p><p>Woland</p>]]></description><link>https://community.troikatronix.com/post/32135</link><guid isPermaLink="true">https://community.troikatronix.com/post/32135</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Wed, 19 Sep 2018 00:30:46 GMT</pubDate></item><item><title><![CDATA[Reply to Duplicate with input connections on Tue, 18 Sep 2018 21:08:06 GMT]]></title><description><![CDATA[<p>Hi there,</p>
<p>What I personally do with my Presonus Faderport 8 (Bit the same as a BCR) is use JavaScript to encode the values into JSON with a 'Formatter' and then use a 'Parser' to select the 'Fader' that I wish to receive.</p>
<p>What is great about this setup is that I get all the data that I need in a single User Output called 'out data' that I then can connect all over the place with a Broadcaster / Listener or even record it as you wish with a 'Trigger Value' actor (Raw data output) and then just 'trigger' the text value to a 'Parser' and continue like that :)<br /></p>
<p><a href="/assets/uploads/files/1537304885348-exampleparserformatter.izz">EXAMPLE FILE</a><br /></p>]]></description><link>https://community.troikatronix.com/post/32124</link><guid isPermaLink="true">https://community.troikatronix.com/post/32124</guid><dc:creator><![CDATA[Juriaan]]></dc:creator><pubDate>Tue, 18 Sep 2018 21:08:06 GMT</pubDate></item><item><title><![CDATA[Reply to Duplicate with input connections on Tue, 18 Sep 2018 20:19:39 GMT]]></title><description><![CDATA[<p>Oh, wow. This has the potential to save me a bunch of time. I have a massive user actor with all the values from my BCR2000 on it and am going to organize it into discrete, indexed, global value segments. Using your input, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1435">@Woland</a>, from another thread, I am separating the controller values into global value groups indexed by controller rail, channel (track), and scene. At the moment I am working on using your technique to produce the indexes for the global values with the the format text actor. There will be 8 groups of 13 and 1 group of 4 values for each track. Then I have to build patches for a launchpad and MM-1 to receive values from as well.</p>
<p>In this current example, I will need to duplicate the text formatting actor 9 times to creates my groups. Each time, I have to reconnect its inputs.<br /></p>
<p>I suspect that your Java Script method would be the better way to do this. The goal is to have all the controller values on the top level so that I can snapshot them to store a setup.</p>
<p>The BCR MIDI out Actor has 108 values on it.</p>
<p>Thanks again for your input.<br /> </p>
<p><img src="/assets/uploads/files/1537301369323-capture-resized.jpg" style="cursor:pointer" /></p>]]></description><link>https://community.troikatronix.com/post/32118</link><guid isPermaLink="true">https://community.troikatronix.com/post/32118</guid><dc:creator><![CDATA[jtsteph]]></dc:creator><pubDate>Tue, 18 Sep 2018 20:19:39 GMT</pubDate></item><item><title><![CDATA[Reply to Duplicate with input connections on Tue, 18 Sep 2018 19:55:25 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/975">@jtsteph</a></p><p>Could you provide a screenshot or a little more detail to help me visualize this better?</p><p>Also, I'm not sure if <a href="https://community.troikatronix.com/topic/2190/send-multiple-values-between-user-actors-with-a-single-patch-cord" target="_blank">my thread necromancy on this post</a> from three years ago might interest you and save you some patching time on this project.</p><p>Best wishes,</p><p>Woland</p>]]></description><link>https://community.troikatronix.com/post/32114</link><guid isPermaLink="true">https://community.troikatronix.com/post/32114</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Tue, 18 Sep 2018 19:55:25 GMT</pubDate></item></channel></rss>