<?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[change matrix value receive channels without changing their values + scale output]]></title><description><![CDATA[<p>Hi, </p>
<p>I use 1 <em>matrix send value send</em> in each<strong> </strong>scene to remote control the <em>matrix value received</em> linked to the dmx usb pro in an activated scene that stays forever,<br />so I can use the crossfades for lights, <br />but as the patch can move, how can I send/change each Chanel Name to each instance of <em>matrix value send</em> along the patch, </p>
<p>I'm tempted by a user actor to" save and update all"' but I'd loose all my Matrix values different for each scene, <br />I'm also afraid Reading a data array actor where the patch is stored  with enter scene value, could provoque some bugs or glitch as the datas are being interpolated while/before entering the scene...</p>
<p>should I pass all the scenes 1st and read data array in each scene before launching the show when patch has been changed? <br /></p>
<p>if I'm using enter scene to recall snapshots should I rewrite them after the read of data array ?</p>
<p>Many thanks </p>]]></description><link>https://community.troikatronix.com/topic/7215/change-matrix-value-receive-channels-without-changing-their-values-scale-output</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 14:51:33 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/7215.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Mar 2021 21:37:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to change matrix value receive channels without changing their values + scale output on Mon, 22 Mar 2021 15:28:18 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@dusx</a></p><p>Thx so much I ll try it and get back to you! </p>]]></description><link>https://community.troikatronix.com/post/45517</link><guid isPermaLink="true">https://community.troikatronix.com/post/45517</guid><dc:creator><![CDATA[Bennnid]]></dc:creator><pubDate>Mon, 22 Mar 2021 15:28:18 GMT</pubDate></item><item><title><![CDATA[Reply to change matrix value receive channels without changing their values + scale output on Thu, 18 Mar 2021 00:21:42 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2741">@bennnid</a> said:</p>
<blockquote>32 dmx Chanel’s for now </blockquote>
<p> You might just want to break apart your Matrix output string into the 32 values then, run each through a Limit-Scale Value actor, and than re-format the Text string with Text Formatter. <br />Since each one may have a custom range, its about as easy to do it this way as it is to create a JS loop/function to do it, since you would have to build up 128 value array to pass in that would define the scaling to be done.</p>
<p>Actually, we can break down the Text into an array and rebuild it in JS, allowing you to route any value to a Limit Scale Value actor as needed... or build up a complete user actor.<br /></p>
<p><a href="/assets/uploads/files/1616026593959-builldnteardown_js.izz">builldNteardown_JS.izz</a><br /></p>
<p>This Izzy file has a scene with 2 JS actors that should be able to break down your Matrix Value Receive actors output string, allow you to adjust the values and then rebuild it.</p>
<p>NOTE: in the file I am using the 2 JS actors in the reverse order you will want to. I didn't have a Matrix actor creating the list of values, so I built it first.</p><p>Build Text Code</p><pre>
function main()
{
// first input is Delimiter
var i;
var delimiter = arguments[0];
var txt = "";
for (i = 1; i &lt; arguments.length; i++)
{
 if (i == arguments.length -1)
 {
 // don't add delimiter to last item
 txt += arguments[i];
 }else{
 txt += arguments[i] + delimiter;
 }
}
return txt;
}</pre><p>Break Down Text Code</p><pre>
function main()
{
// first input is Delimiter
// take a delimited string as second input and splits into an array..
//set return to array so individual values are output
var delimiter = arguments[0];
var out = arguments[1].split(delimiter);
out.unshift(out.length); // make the first output value 
return out;
}</pre>]]></description><link>https://community.troikatronix.com/post/45447</link><guid isPermaLink="true">https://community.troikatronix.com/post/45447</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Thu, 18 Mar 2021 00:21:42 GMT</pubDate></item><item><title><![CDATA[Reply to change matrix value receive channels without changing their values + scale output on Tue, 16 Mar 2021 08:33:30 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@dusx</a></p><p>I m using 32 dmx Chanel’s for now </p><p>I guess I d need just a few to be rescaled but each session in a different theatre would change those ones...</p>]]></description><link>https://community.troikatronix.com/post/45397</link><guid isPermaLink="true">https://community.troikatronix.com/post/45397</guid><dc:creator><![CDATA[Bennnid]]></dc:creator><pubDate>Tue, 16 Mar 2021 08:33:30 GMT</pubDate></item><item><title><![CDATA[Reply to change matrix value receive channels without changing their values + scale output on Mon, 15 Mar 2021 20:08:31 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2741">@bennnid</a></p><p>How many values are you passing through the Matrix?<br />Does each value need its own individual scaling range min/max?</p>]]></description><link>https://community.troikatronix.com/post/45380</link><guid isPermaLink="true">https://community.troikatronix.com/post/45380</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Mon, 15 Mar 2021 20:08:31 GMT</pubDate></item><item><title><![CDATA[Reply to change matrix value receive channels without changing their values + scale output on Mon, 15 Mar 2021 13:38:13 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@dusx</a></p>
<p>thanks, I know nothing in java but I'll dig in ! <br />for the moment, the java actor <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2066">@juriaan</a> made outputs all Chanel when 1 is being modified... I wonder if it would be possible to output only if Chanel is being changed... that would low cpu use isn't it? <br /></p>]]></description><link>https://community.troikatronix.com/post/45356</link><guid isPermaLink="true">https://community.troikatronix.com/post/45356</guid><dc:creator><![CDATA[Bennnid]]></dc:creator><pubDate>Mon, 15 Mar 2021 13:38:13 GMT</pubDate></item><item><title><![CDATA[Reply to change matrix value receive channels without changing their values + scale output on Tue, 09 Mar 2021 17:49:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2741">@bennnid</a> said:</p>
<blockquote>get a min max scaling for each output of matrix receive actor?</blockquote>
<p> I think the only way to do this direct from the Matrix Value Receive actor would be to use JavaScript to parse and update/scale the values as needed.<br />I can imagine sending the output from Matrix Value Receive into JavaScript (using .split to break it into and array) and another input array that contains the limit scale value function.<br />This page contains some approaches to doing the scaling: <a href="https://stackoverflow.com/questions/14224535/scaling-between-two-number-ranges">https://stackoverflow.com/ques...</a><br /></p><p>It will be interesting to see how cpu intense this is though. Really depends on the length/count of values in the Matrix Value Receive output.</p>]]></description><link>https://community.troikatronix.com/post/45232</link><guid isPermaLink="true">https://community.troikatronix.com/post/45232</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Tue, 09 Mar 2021 17:49:27 GMT</pubDate></item><item><title><![CDATA[Reply to change matrix value receive channels without changing their values + scale output on Tue, 09 Mar 2021 10:26:11 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a></p><p>Hi</p><p>Do you think it would be possible to get a min max scaling for each output of matrix receive actor?</p><p>I m afraid unpacking output/ scaling each/ repacking for hex to dmx would make some pb...</p><p>Thnaks</p>]]></description><link>https://community.troikatronix.com/post/45229</link><guid isPermaLink="true">https://community.troikatronix.com/post/45229</guid><dc:creator><![CDATA[Bennnid]]></dc:creator><pubDate>Tue, 09 Mar 2021 10:26:11 GMT</pubDate></item><item><title><![CDATA[Reply to change matrix value receive channels without changing their values + scale output on Fri, 05 Mar 2021 09:52:49 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2741">@bennnid</a></p><p>so as mark said in this page, you can simply change routing clicking on Atrix receive actor to edit routing ;-)<br /></p><p><a href="https://support.troikatronix.com/support/solutions/articles/13000085235">https://support.troikatronix.c...</a></p>]]></description><link>https://community.troikatronix.com/post/45147</link><guid isPermaLink="true">https://community.troikatronix.com/post/45147</guid><dc:creator><![CDATA[Bennnid]]></dc:creator><pubDate>Fri, 05 Mar 2021 09:52:49 GMT</pubDate></item><item><title><![CDATA[Reply to change matrix value receive channels without changing their values + scale output on Thu, 04 Mar 2021 10:47:30 GMT]]></title><description><![CDATA[<p>oh and also I need to be able to modify matrix value receive output with min/max by chanel before I output it in serial raw data...</p><p>indeed, I'm using matrix interpolation between scenes to crossfade light sets, But ..<br />the light operator needs to adjust (min) - max of each source regarding the scene reality ( some may be less/more powerful regarding bulbs),<br />I can't do it at the output of the controller, since the changing the scenes sends the info and are tracked with control panel ( soon on motorized midi ctrl).</p><p>Is it possible to unpack matrix value receive, shape each chanel data with multiplier, and pack it back again to enter serial raw? </p><p>seems possible/coherent? </p>]]></description><link>https://community.troikatronix.com/post/45121</link><guid isPermaLink="true">https://community.troikatronix.com/post/45121</guid><dc:creator><![CDATA[Bennnid]]></dc:creator><pubDate>Thu, 04 Mar 2021 10:47:30 GMT</pubDate></item></channel></rss>