<?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[Confused about set.Bypassed() and ChildSynth vs Sampler]]></title><description><![CDATA[<p dir="auto">In my current project I've saved my sampler modules as Child Synth references</p>
<pre><code>samplers_Start[i] = Synth.getChildSynth("Names")
</code></pre>
<p dir="auto">For a Round Robin change I wanted to make I realised I needed the samplers as get.Sampler() references so I can do .setActiveGroup()<br />
But then I realised that my Sampler bypassing function wasn't working anymore:<br />
It works again if I change it back to Synth.getChildSynth() instead, but I don't understand why this is this way....</p>
<pre><code>// REFERENCES
const s_Child = Synth.getChildSynth("Sampler1");
const s_Synth = Synth.getSampler("Sampler1");

// --- Using setBypassed
s_Child.setBypassed(1); 	// Works
//s_Synth.setBypassed(1);  	// Doesnt work

// Set Active Group
//s_Child.enableRoundRobin(0); 	// Doesnt work
//s_Child.setActiveGroup(1); 	// Doesnt work

s_Synth.enableRoundRobin(0); 	// Works
s_Synth.setActiveGroup(1);		// Works

for(i = 0; i &lt; 20; i++)
{
	Console.print(s_Child.getAttributeId(i)); 	// Works
	Console.print(s_Synth.getAttributeId(i)); 	// Works
}
</code></pre>
<p dir="auto">I think I have some general confusion in this area and I sometimes don't know whether to look for a API method or a documentation Property, or when to do .getAttributes().</p>
]]></description><link>https://forum.hise.audio/topic/14887/confused-about-set-bypassed-and-childsynth-vs-sampler</link><generator>RSS for Node</generator><lastBuildDate>Sat, 27 Jun 2026 15:54:54 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14887.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Jun 2026 12:29:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Confused about set.Bypassed() and ChildSynth vs Sampler on Sat, 27 Jun 2026 12:47:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/2118">@observantsound</a> <s>You can use both references at the same time. Just use the one that works for the bypass, and the other for your sampler job</s></p>
<p dir="auto">What I said might work, but do as <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a> said it's better implementation even if the reference are the same behind the scene <img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=fba14f4754a" class="not-responsive emoji emoji-emoji-one emoji--thumbs_up" style="height:23px;width:auto;vertical-align:middle" title=":thumbs_up:" alt="👍" /></p>
]]></description><link>https://forum.hise.audio/post/121600</link><guid isPermaLink="true">https://forum.hise.audio/post/121600</guid><dc:creator><![CDATA[ustk]]></dc:creator><pubDate>Sat, 27 Jun 2026 12:47:52 GMT</pubDate></item><item><title><![CDATA[Reply to Confused about set.Bypassed() and ChildSynth vs Sampler on Sat, 27 Jun 2026 12:45:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/2118">@observantsound</a></p>
<p dir="auto">In the API browser, if the heading is Sampler, then it needs to be a sampler reference</p>
<p dir="auto"><img src="/assets/uploads/files/1782564246572-0cf45193-c287-40ec-b66d-370f594bd909-image.png" alt="0cf45193-c287-40ec-b66d-370f594bd909-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If the heading is ChildSynth then it needs to be a child synth reference</p>
<p dir="auto"><img src="/assets/uploads/files/1782564269944-33493610-9b8e-4409-8de8-cbf592a58d9d-image.png" alt="33493610-9b8e-4409-8de8-cbf592a58d9d-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">What I do is I get all the references as child synths and then in places where I need to call a Sampler function I use <code>.asSampler().mySamplerFunction()</code></p>
]]></description><link>https://forum.hise.audio/post/121599</link><guid isPermaLink="true">https://forum.hise.audio/post/121599</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sat, 27 Jun 2026 12:45:28 GMT</pubDate></item></channel></rss>