<?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[Naming JavaScript inputs &#x2F; outputs]]></title><description><![CDATA[<p>Hi there all,</p><p>I'm currently doing some math calculations in a Javascript actor. I would really like to name my inputs and outputs so that they still make sense when I open a week old patch.</p><p>Any way or is this a feature request ?</p><p>- Juriaan</p>]]></description><link>https://community.troikatronix.com/topic/4779/naming-javascript-inputs-outputs</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 09:20:58 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/4779.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Nov 2017 23:00:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Wed, 26 Mar 2025 21:22:14 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/43">@jfg</a></p><p>Things have happened. Mark was responding to the request for renaming inputs/outputs on the JavaScript actor, which is now a feature (there’s a comment at the top of the default code explaining how to do it).</p><p><br />As for my list, I’m finding that making user actors and macros is an easy enough way to name inputs and outputs. </p>]]></description><link>https://community.troikatronix.com/post/56079</link><guid isPermaLink="true">https://community.troikatronix.com/post/56079</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Wed, 26 Mar 2025 21:22:14 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Wed, 26 Mar 2025 21:15:49 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> said:</p>
<blockquote>It's a feature request... but a good one. Let's see if we can get it into v2.6.</blockquote>
<p> </p><p>it is a very old post but nothing new happened in between. I think it would still be highly desirable, especially for actors like set/get global values or data array and more (see Woland list)</p>
<p>Best regards, </p>
<p>Jean-François </p>]]></description><link>https://community.troikatronix.com/post/56078</link><guid isPermaLink="true">https://community.troikatronix.com/post/56078</guid><dc:creator><![CDATA[jfg]]></dc:creator><pubDate>Wed, 26 Mar 2025 21:15:49 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Tue, 14 Nov 2017 03:41:24 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> </p><p>My thought was a rather generic feature to wrap an actor, or perhaps a selection of actors into a User Actor. No magic beyond that. The User Inputs and Outputs would be named as they were from the actor originally and could then be modified as needed.</p><p>I know this 'bundling' type feature has come up before and it would massively empower users and encourage the use of User Actors. While also addressing the naming of IO. I don't imagine this any easy add feature so I'm not recommending this for 2.6</p>]]></description><link>https://community.troikatronix.com/post/27398</link><guid isPermaLink="true">https://community.troikatronix.com/post/27398</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Tue, 14 Nov 2017 03:41:24 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Tue, 14 Nov 2017 02:07:16 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> said:</p>
<blockquote>a faster way to change the in/out names of User Actors.<br />By the way, a kind of in-between suggestion would be this: only <em>certain <span id="redactor-inline-breakpoint"></span></em>actors allow this name change option –– it could even be limited to particular inputs and outputs. Example candidates include the Data Array, Javascript, and new OSC Multi Receive actors. In reality, there's only a few inputs/outputs where changing the name becomes super important and –– I would argue –– allowing a name change in these instances would not be any more confusing than 'value 1', 'value 2', 'value 3.' If we were to allow this, we might enforce a prefix and then have the user's text. E.g., if the user changed the first three outputs of a Data Array actor, then you'd end up with:<br />v1: My Name<br />v2: Your Name<br />v3: Another Name<br />Where the v1, v2 and v3 are the predefined prefix, echoing the original 'value 1', etc.<br />Best,<br />M<br /></blockquote>
<p>Hiya,</p><p>I just banged through all of the Isadora Actors and made a weighted, (admittedly a little bias), list of where I could see this being useful.</p><p>Key </p><ul><li>2 = Only two "important" parameters, but possibly useful to rename them</li><li>* = Variable number of parameters, so these could theoretically benefit from renaming</li><li>*** = Would be helpful</li><li>***** = Would be absolutely amazing</li></ul><p>My Nominations:</p><p>Video:</p>
<p>2 - Video Mixer<br />*****GLSL shader (I'm sure there's a way to rename via the code, but it'd be massively simpler if we could just rename the outside)</p>
<hr /><p>Generators:</p>
<p>***Envelope Generator<br />*****Envelope Generator ++</p>
<hr /><p>Calculation:</p>
<p>2 - Calculator<br />2 - Comparator<br />*****Data Array<br />*Hold Range<br />2 - Logical Calculator<br />*Lookup<br />*Max Value Hold<br />*Maximum<br />*Min Value Hold<br />*Minimum<br />*Table<br />2 - Text Comparator<br />***Text Formatter<br />2 - Timecode Calculator<br />2 - Timecode Comparator<br />*****Timed Trigger<br />*Value Select</p>
<hr /><p>Control:</p>
<p>*****Javascript<br />*****Router<br />*****Selector<br />*****Sequential Trigger<br />***Simultaneity</p>
<hr /><p>Communications:</p>
<p>***Broadcaster<br />*****Get Global Values<br />***Listener<br />***Net Broadcaster<br />*****OSC Listener<br />*****OSC Multi Transmit<br />*****OSC Transmit<br />*****Set Global Values<br />***TCP Send Data</p><hr /><p>User: </p>
<p>*****Macro<br />*****User Actor</p><hr /><p>Anyone else have thoughts on this? Perhaps there are actors I missed, or actors that I don't use as often as others and as such didn't weight with a heigh enough value.</p><p> Best wishes,</p><p>Woland</p><p>P.S. I submitted a feature request with this information in case that was more useful than posting it here.</p>]]></description><link>https://community.troikatronix.com/post/27396</link><guid isPermaLink="true">https://community.troikatronix.com/post/27396</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Tue, 14 Nov 2017 02:07:16 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Tue, 14 Nov 2017 00:36:26 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@dusx</a> said:</p>
<blockquote>Wrapping these into User actors gives the same functionality (arguably more) so a quick way of doing this would be my preferred option.</blockquote>
<p>Can you be a bit more specific about what you mean? Do you mean, click and actor and choose a command and –– boom –– it's a User Actor with all the same inputs and outputs  <em><strong><u>plus</u></strong></em> some easy way to change the names? Or do you mean simply a faster way to change the in/out names of User Actors.</p><p>By the way, a kind of in-between suggestion would be this: only <em>certain <span id="redactor-inline-breakpoint"></span></em>actors allow this name change option –– it could even be limited to particular inputs and outputs. Example candidates include the Data Array, Javascript, and new OSC Multi Receive actors. In reality, there's only a few inputs/outputs where changing the name becomes super important and –– I would argue –– allowing a name change in these instances would not be any more confusing than 'value 1', 'value 2', 'value 3.' If we were to allow this, we might enforce a prefix and then have the user's text. E.g., if the user changed the first three outputs of a Data Array actor, then you'd end up with:</p><p>v1: My Name<br />v2: Your Name<br />v3: Another Name</p><p>Where the v1, v2 and v3 are the predefined prefix, echoing the original 'value 1', etc.</p><p>Best,<br />M</p>]]></description><link>https://community.troikatronix.com/post/27392</link><guid isPermaLink="true">https://community.troikatronix.com/post/27392</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Tue, 14 Nov 2017 00:36:26 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Mon, 13 Nov 2017 18:47:55 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@dusx</a> said:</p><blockquote><br />Wrapping these into User actors gives the same functionality (arguably more) so a quick way of doing this would be my preferred option.<br /></blockquote>
<p>Oh wow, I love this idea! </p>]]></description><link>https://community.troikatronix.com/post/27377</link><guid isPermaLink="true">https://community.troikatronix.com/post/27377</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Mon, 13 Nov 2017 18:47:55 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Mon, 13 Nov 2017 18:42:51 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a></p><p>There could be some confusion, especially if a file was passed to a new developer/designer.</p><p>Wrapping these into User actors gives the same functionality (arguably more) so a quick way of doing this would be my preferred option.</p>]]></description><link>https://community.troikatronix.com/post/27376</link><guid isPermaLink="true">https://community.troikatronix.com/post/27376</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Mon, 13 Nov 2017 18:42:51 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Sun, 12 Nov 2017 20:01:16 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a></p>
<p>Confusion was my worry. </p>
<p>Would it be possible to automatically preface custom-named parameters with an asterisk or other symbol to serve as a clear indication of which parameters have vanilla names and which have been customized?</p>
<p>Another way one might prevent the problem of confusion could be to implement a system where mousing over a parameter with a modified name could display “This parameter’s has been renamed from ‘[original name]’” at the top of the info that pops up when you mouse over a parameter to see what it does. </p>
<p>Along that same vein, you could go through and add “This parameter’s original name is ‘x’” to the top of the info for each parameter of each actor in order to avoid having to code anything that checks whether a parameter has been renamed and still having a simple way to identify whether a parameter has been renamed and also to check the original name of any given parameter without having to reset the actor to default or cross-reference with a fresh version of the same actor. I know that’s an overwhelming amount of data entry, but if you’d like, I’m happy to volunteer my time to go actor by actor, pull the original input and output description text, add the line that identifies the vanilla parameter name, then send you back the edited actors. Obviously my coding skills in no way even approach yours, but it’s a very easy, repetitive task that I could do on my own, (even with my lesser coding skills), and it’d free up your time to deal with more important matters than data entry. Of course I’d be careful not to touch anything in the code other than the pop up info for the parameters, so there’s absolutely no chance of me creating bugs. Let me know what you think.</p>
<p>Best wishes,</p>
<p>Woland</p>
<p>Best wishes,</p>
<p>Woland</p>]]></description><link>https://community.troikatronix.com/post/27341</link><guid isPermaLink="true">https://community.troikatronix.com/post/27341</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Sun, 12 Nov 2017 20:01:16 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Sun, 12 Nov 2017 19:55:15 GMT]]></title><description><![CDATA[<p>Hi</p><p>It might be useful for input name changes to be captured in a actor associated log file. That way deconstructing renamed actors with renamed inputs and outputs would be possible.</p><p>Regards</p><p>Bonemap </p>]]></description><link>https://community.troikatronix.com/post/27340</link><guid isPermaLink="true">https://community.troikatronix.com/post/27340</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Sun, 12 Nov 2017 19:55:15 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Sun, 12 Nov 2017 19:07:47 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1435">@woland</a></p>
<p>Well, what I'm actually proposing is a text box that pops open (just like the Rename Actor one) and you can enter the name of the input or output. If you tab, it goes to the next input/output so you can quickly set up a bunch of them. Having the custom name <em>and <span id="redactor-inline-breakpoint"></span><span id="redactor-inline-breakpoint"></span></em>the original seems cumbersome... the actors are going to be massive.</p><p>Your suggestion to have a reset command is however a good one; I too had figured that this would be a necessity.</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/361">@mc_monte</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@DusX</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/317">@crystalhorizon</a> – do you think we'd end up with support tickets because of these renamed inputs or outputs?</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/27337</link><guid isPermaLink="true">https://community.troikatronix.com/post/27337</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Sun, 12 Nov 2017 19:07:47 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Sun, 12 Nov 2017 17:11:22 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> said:</p>
<blockquote>
Well, basically the easiest thing to do is to let users rename any input or output. Let me mull that over.<br />Best Wishes,<br />Mark</blockquote>
<p> A system wherein if you renamed an input or an output, the default name was preserved in brackets, after the custom name, would be a way to avoid confusion. Perhaps a checkbox in Setting or in the drop-down menus for actors themselves that would allow you to enable or disable displaying the vanilla names in brackets after the custom names. </p>
<p>I’m suggesting brackets over parenthesis for selfish reasons, as I know that I would use parenthesis in the custom name to denote mins/maxes or data type for my own reference and seeing “Custom Name (Info About Custom Name) [vanilla name]” would be more aesthetically pleasing and easily understandable to me than “CN (Info about CN) (VN)” or “CN [Info about CN] (VN)”. </p>
<p>Example based on my earlier comment:</p>
<p>“Note Name (Text) [value 1]”</p>
<p>“MIDI Octave (-5 to 5) [value 2]”</p>
<p>Another thing to consider if you do implement customizable input and output names; having “Reset Actor Input/Output/Input+Output Names to Default” options in the right-click drop down menu for individual actors, as all three would definitely have their uses.</p>
<p>Do you want me to submit a feature request so there’s a ticket for this?</p>
<p>Best wishes,</p>
<p>Woland</p>]]></description><link>https://community.troikatronix.com/post/27330</link><guid isPermaLink="true">https://community.troikatronix.com/post/27330</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Sun, 12 Nov 2017 17:11:22 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Sun, 12 Nov 2017 16:26:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1435">@woland</a> said:</p>
<blockquote>I'd love this maybe have this for Set and Get Global Values Actors too.</blockquote>
<p>Well, basically the easiest thing to do is to let users rename any input or output. Let me mull that over.</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/27329</link><guid isPermaLink="true">https://community.troikatronix.com/post/27329</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Sun, 12 Nov 2017 16:26:56 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Thu, 09 Nov 2017 16:07:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2066">@juriaan</a></p><p>I always wrap my JS actors into User Actors.</p><p>This allows the IO to be named and have the type/range defined.</p><p>Additionally, if it's useful it can be saved to my toolbox.</p>]]></description><link>https://community.troikatronix.com/post/27245</link><guid isPermaLink="true">https://community.troikatronix.com/post/27245</guid><dc:creator><![CDATA[DusX]]></dc:creator><pubDate>Thu, 09 Nov 2017 16:07:27 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Thu, 09 Nov 2017 04:40:42 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/1435">@woland</a> said:</p>
<blockquote>it'd be so much nicer if one could just rename the values</blockquote>
<p> Would be a nice option for the Data Array as well, particularly if renaming an input on one side updated the corresponding output side.</p><img src="/assets/uploads/files/1510202296839-screen-shot-2017-11-09-at-2.34.01-pm.png" /><p>regards,</p><p>bonemap</p>]]></description><link>https://community.troikatronix.com/post/27206</link><guid isPermaLink="true">https://community.troikatronix.com/post/27206</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Thu, 09 Nov 2017 04:40:42 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Thu, 09 Nov 2017 02:37:25 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> said:</p>
<blockquote>get it into v2.6</blockquote>
<p> Looking forward to the release, I hope the team is getting enough time for it!</p><p>Best Wishes</p><p>bonemap</p>]]></description><link>https://community.troikatronix.com/post/27201</link><guid isPermaLink="true">https://community.troikatronix.com/post/27201</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Thu, 09 Nov 2017 02:37:25 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Wed, 08 Nov 2017 23:51:23 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a><br /></p><p>I'd love this maybe have this for Set and Get Global Values Actors too. I realize that the ability to resize the Comment text in the new version might save me from the frustrating gradual offset you can see in the image below, but it'd be so much nicer if one could just rename the values themselves so one wouldn't need "Legend" Comments everywhere.<br /></p><img src="/assets/uploads/files/1510184844193-screen-shot-2017-11-08-at-6.46.41-pm-resized.png" /><p>Best wishes,<br /></p><p>Woland</p>]]></description><link>https://community.troikatronix.com/post/27194</link><guid isPermaLink="true">https://community.troikatronix.com/post/27194</guid><dc:creator><![CDATA[Woland]]></dc:creator><pubDate>Wed, 08 Nov 2017 23:51:23 GMT</pubDate></item><item><title><![CDATA[Reply to Naming JavaScript inputs &#x2F; outputs on Wed, 08 Nov 2017 23:14:21 GMT]]></title><description><![CDATA[<p>It's a feature request... but a good one. Let's see if we can get it into v2.6.</p><p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/124">@DusX</a> – stay on me for this. It's not too hard. We'll have to do it with comments as in the GLSL Shader Actor.</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/27192</link><guid isPermaLink="true">https://community.troikatronix.com/post/27192</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Wed, 08 Nov 2017 23:14:21 GMT</pubDate></item></channel></rss>