<?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[How to duplucate LAF knob]]></title><description><![CDATA[<p dir="auto">Hi everyone. I've added a laf knob to the script folder. I've used ```<br />
include("name.js"):<br />
``in onInit and it appears and works fine. Now, after modifying it or even keeping it original, how can I duplicate it to create more knobs? If I duplicate it normally, it doesn't work properly. I also tried duplicating the js script and re-creating it, but when I include it in onInit, it doesn't appear and the other one gets corrupted.<br />
Thanks for your help.</p>
]]></description><link>https://forum.hise.audio/topic/13290/how-to-duplucate-laf-knob</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 07:54:48 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/13290.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Aug 2025 14:06:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to duplucate LAF knob on Tue, 26 Aug 2025 15:08:26 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey yes I'm on Discord serve, thanks</p>
]]></description><link>https://forum.hise.audio/post/108878</link><guid isPermaLink="true">https://forum.hise.audio/post/108878</guid><dc:creator><![CDATA[AGD_]]></dc:creator><pubDate>Tue, 26 Aug 2025 15:08:26 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Tue, 26 Aug 2025 14:59:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4481">@AGD_</a> Thanks, are you on the Discord server? New course will be ready pretty soon</p>
]]></description><link>https://forum.hise.audio/post/108877</link><guid isPermaLink="true">https://forum.hise.audio/post/108877</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Tue, 26 Aug 2025 14:59:42 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Tue, 26 Aug 2025 14:58:45 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey it's works fine! Thank you David! I'm looking forward to your next course because now that I've finished the first one, I'm having a bit of trouble following the correct order to continue, even though I'm studying your videos, which are fantastic! Thank you so much.</p>
]]></description><link>https://forum.hise.audio/post/108876</link><guid isPermaLink="true">https://forum.hise.audio/post/108876</guid><dc:creator><![CDATA[AGD_]]></dc:creator><pubDate>Tue, 26 Aug 2025 14:58:45 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Sat, 23 Aug 2025 20:29:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4481">@AGD_</a> All good. lmk <img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/android/1f91b.png?v=fba14f4754a" class="not-responsive emoji emoji-android emoji--left-facing_fist" style="height:23px;width:auto;vertical-align:middle" title=":left-facing_fist:" alt="🤛" /></p>
]]></description><link>https://forum.hise.audio/post/108673</link><guid isPermaLink="true">https://forum.hise.audio/post/108673</guid><dc:creator><![CDATA[Chazrox]]></dc:creator><pubDate>Sat, 23 Aug 2025 20:29:58 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Sat, 23 Aug 2025 13:40:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4087">@Chazrox</a> thank you and sorry for this late reply, but I wasn't in the studio yesterday. Thanks, I'm just starting out, so I might be asking some silly questions.</p>
]]></description><link>https://forum.hise.audio/post/108655</link><guid isPermaLink="true">https://forum.hise.audio/post/108655</guid><dc:creator><![CDATA[AGD_]]></dc:creator><pubDate>Sat, 23 Aug 2025 13:40:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Fri, 22 Aug 2025 08:32:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4481">@AGD_</a> yes.</p>
<p dir="auto">You can highlight all the knobs you want to share the LAF. Right click and create a script reference to them as a group.</p>
<p dir="auto">then do:</p>
<pre><code>
const var allMyButtons = [ Content.getComponent(button1),
Content.getComponent(button2),
Content.getComponent(button3),
Content.getComponent(button4)
];

for (a in allMyButtons)
a.setLocalLookAndFeel(myLafFunction);

</code></pre>
<p dir="auto">thats off the top of my head. I think that looks right.</p>
]]></description><link>https://forum.hise.audio/post/108570</link><guid isPermaLink="true">https://forum.hise.audio/post/108570</guid><dc:creator><![CDATA[Chazrox]]></dc:creator><pubDate>Fri, 22 Aug 2025 08:32:18 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Fri, 22 Aug 2025 07:34:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4087">@Chazrox</a> thanks for your reply. At the moment I want to create 4 knobs with the same layout. If you've any suggestion, thanks.</p>
]]></description><link>https://forum.hise.audio/post/108568</link><guid isPermaLink="true">https://forum.hise.audio/post/108568</guid><dc:creator><![CDATA[AGD_]]></dc:creator><pubDate>Fri, 22 Aug 2025 07:34:41 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Thu, 21 Aug 2025 21:13:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4481">@AGD_</a> are you trying to have different designs for each knob or do you want them all to be the same?</p>
]]></description><link>https://forum.hise.audio/post/108558</link><guid isPermaLink="true">https://forum.hise.audio/post/108558</guid><dc:creator><![CDATA[Chazrox]]></dc:creator><pubDate>Thu, 21 Aug 2025 21:13:07 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Thu, 21 Aug 2025 17:15:44 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey thank you!</p>
]]></description><link>https://forum.hise.audio/post/108549</link><guid isPermaLink="true">https://forum.hise.audio/post/108549</guid><dc:creator><![CDATA[AGD_]]></dc:creator><pubDate>Thu, 21 Aug 2025 17:15:44 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Thu, 21 Aug 2025 15:59:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4481">@AGD_</a></p>
<p dir="auto">You don't need to put this in a separate file, and at this stage it might just be making things more complicated for you.</p>
<p dir="auto">Here's an example of creating two laf objects.</p>
<pre><code>const myLaf = Content.createLocalLookAndFeel();

const myOtherLaf = Content.createLocalLookAndFeel();
</code></pre>
]]></description><link>https://forum.hise.audio/post/108547</link><guid isPermaLink="true">https://forum.hise.audio/post/108547</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Thu, 21 Aug 2025 15:59:33 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Thu, 21 Aug 2025 15:11:07 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey thank you for your reply.<br />
I think I've misread the code. How do I create a local LAF object? I placed the script in the scripts folder and used the include"name.js" function in onInit. Is there another way (or rather, the correct way) to create a LAF object? Thanks.</p>
]]></description><link>https://forum.hise.audio/post/108545</link><guid isPermaLink="true">https://forum.hise.audio/post/108545</guid><dc:creator><![CDATA[AGD_]]></dc:creator><pubDate>Thu, 21 Aug 2025 15:11:07 GMT</pubDate></item><item><title><![CDATA[Reply to How to duplucate LAF knob on Thu, 21 Aug 2025 14:26:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4481">@AGD_</a></p>
<p dir="auto">Create a new local laf object for each knob design. They can all exist in the same js file as long as they have unique names.</p>
]]></description><link>https://forum.hise.audio/post/108542</link><guid isPermaLink="true">https://forum.hise.audio/post/108542</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Thu, 21 Aug 2025 14:26:29 GMT</pubDate></item></channel></rss>