<?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[Sampler oneshot mode in scripting]]></title><description><![CDATA[<p dir="auto">MAAAN! I cant <strong>WAIT</strong> for the new documentation!!!</p>
<p dir="auto">I want to set a sampler into one shot mode (and back again) in my script:</p>
<pre><code>TheSamplersAsSamplers[0].setAttribute(TheSamplersAsSamplers[0].OneShot,0);
</code></pre>
<p dir="auto">Can anyone tell me the correct attribute name?</p>
<p dir="auto">I looked in  XML</p>
<pre><code>&lt;Processor Type="StreamingSampler" ID="mySampler" Bypassed="1" Gain="0.0"
                       Balance="0.0" VoiceLimit="256.0" KillFadeTime="20.0" IconColour="0"
                       PreloadSize="8192.0" BufferSize="4096.0" VoiceAmount="256.0"
                       SamplerRepeatMode="3.0" RRGroupAmount="1.0" PitchTracking="1.0"
                       OneShot="1.0" CrossfadeGroups="0.0" Purged="0.0" Reversed="0.0"
                       NumChannels="1" UseStaticMatrix="0.0" Group0Table="" Group1Table=""
                       Group2Table="" Group3Table="" Group4Table="" Group5Table="" Group6Table=""
                       Group7Table="" SampleMapID="myMap"&gt;
              &lt;ChildProcessors&gt;
</code></pre>
<p dir="auto">which makes it look like it should be "OneShot" but that give this:</p>
<pre><code>Interface:! Warning: undefined parameter 0
</code></pre>
]]></description><link>https://forum.hise.audio/topic/14733/sampler-oneshot-mode-in-scripting</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 14:01:15 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14733.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 May 2026 10:30:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Sampler oneshot mode in scripting on Tue, 12 May 2026 10:35:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a> thanks yeah spent another go round in the source to uncover this too.. thank you.</p>
]]></description><link>https://forum.hise.audio/post/120259</link><guid isPermaLink="true">https://forum.hise.audio/post/120259</guid><dc:creator><![CDATA[Lindon]]></dc:creator><pubDate>Tue, 12 May 2026 10:35:40 GMT</pubDate></item><item><title><![CDATA[Reply to Sampler oneshot mode in scripting on Tue, 12 May 2026 10:33:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/67">@Lindon</a> said in <a href="/post/120255">Sampler oneshot mode in scritping</a>:</p>
<blockquote>
<p dir="auto">Interface:! Warning: undefined parameter 0</p>
</blockquote>
<p dir="auto">Just tested, sampler needs to be of ChildSynth type.</p>
]]></description><link>https://forum.hise.audio/post/120258</link><guid isPermaLink="true">https://forum.hise.audio/post/120258</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Tue, 12 May 2026 10:33:30 GMT</pubDate></item><item><title><![CDATA[Reply to Sampler oneshot mode in scripting on Tue, 12 May 2026 10:31:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/67">@Lindon</a> You can right-click a module's header and select Dump Parameter ID and Values to see all available options.</p>
<p dir="auto">For the sampler</p>
<pre><code>sampler0: (StreamingSampler) - Parameter dump: 
	[0]: "Gain" | 1.00
	[1]: "Balance" | 0.00
	[2]: "VoiceLimit" | 128.00
	[3]: "KillFadeTime" | 20.00
	[4]: "PreloadSize" | 8192.00
	[5]: "BufferSize" | 4096.00
	[6]: "VoiceAmount" | 256.00
	[7]: "RRGroupAmount" | 8.00
	[8]: "SamplerRepeatMode" | 3.00
	[9]: "PitchTracking" | 1.00
	[10]: "OneShot" | 0.00
	[11]: "CrossfadeGroups" | 0.00
	[12]: "Purged" | 0.00
	[13]: "Reversed" | 0.00
	[14]: "UseStaticMatrix" | 0.00
	[15]: "LowPassEnvelopeOrder" | 0.00
	[16]: "Timestretching" | -1.00
</code></pre>
]]></description><link>https://forum.hise.audio/post/120257</link><guid isPermaLink="true">https://forum.hise.audio/post/120257</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Tue, 12 May 2026 10:31:40 GMT</pubDate></item></channel></rss>