<?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[Changing Sample Start Mod]]></title><description><![CDATA[<p dir="auto">I noticed that if I change the SampleStartMod in the sampler, and then save the project, the change will automatically be written into the loaded sample map.</p>
<pre><code>Sampler1: The sample map has unsaved changes so it will be embedded into the sampler.
</code></pre>
<p dir="auto">This will lead to this message when loading the project next time.</p>
<pre><code>Sampler1:! Loading embedded samplemaps is bad practice. Save the samplemap to a file instead.
</code></pre>
<p dir="auto">And as I understand it, that is a  no no no...</p>
<p dir="auto">In my project I have a script that will change the SampleStartMod if meeting some conditions, and this will change as soon as those conditions is true.</p>
<ul>
<li>What is the recommendation regarding this ...bad practice...?</li>
<li>What will happen when the project is compiled and the SampleStartMod is changed via the script?</li>
<li>Do I need to set a static SampleStartMod length and resave all samplemaps with that setting?</li>
</ul>
]]></description><link>https://forum.hise.audio/topic/14352/changing-sample-start-mod</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 07:59:04 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14352.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Feb 2026 10:22:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Changing Sample Start Mod on Wed, 04 Feb 2026 13:54:25 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> said in <a href="/post/117400">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117396">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">But the sample map xml files are also changed when saving the project, if I open the maps in a text editor I can see the changes are made</p>
</blockquote>
<p dir="auto">Aha I misunderstood. So it's autosaving them, hmm that's unexpected.</p>
</blockquote>
<p dir="auto">Yes indeed it is.</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117396">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">So if I understand right, it doesn't matter as long as it's referring to the right ch1</p>
</blockquote>
<p dir="auto">Needs testing in a compiled plugin.</p>
</blockquote>
<p dir="auto">Ok I have tested it in a stand alone, and that works fine</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117396">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">The user can change all samples in range between 0 - 5000 smpl, that is already fixed</p>
</blockquote>
<p dir="auto">In that case I would just use sample start mod and a constant modulator or set the start offset in the note on callback, rather than changing the sample properties at run time.</p>
</blockquote>
<p dir="auto">Yes I have been thinking in that direction as well, but I also have a script that already make use of the SampleStartMod, so that will add up to the Sample Start setting I guess.<br />
But I think it would be the best way to use Sample Start Mod for this purpose as well</p>
<p dir="auto">Thank you David for the feedback, it's much appreciated!</p>
]]></description><link>https://forum.hise.audio/post/117419</link><guid isPermaLink="true">https://forum.hise.audio/post/117419</guid><dc:creator><![CDATA[ulrik]]></dc:creator><pubDate>Wed, 04 Feb 2026 13:54:25 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Sample Start Mod on Wed, 04 Feb 2026 11:02:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117396">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">But the sample map xml files are also changed when saving the project, if I open the maps in a text editor I can see the changes are made</p>
</blockquote>
<p dir="auto">Aha I misunderstood. So it's autosaving them, hmm that's unexpected.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117396">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">So if I understand right, it doesn't matter as long as it's referring to the right ch1</p>
</blockquote>
<p dir="auto">Needs testing in a compiled plugin.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117396">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">The user can change all samples in range between 0 - 5000 smpl, that is already fixed</p>
</blockquote>
<p dir="auto">In that case I would just use sample start mod and a constant modulator or set the start offset in the note on callback, rather than changing the sample properties at run time.</p>
]]></description><link>https://forum.hise.audio/post/117400</link><guid isPermaLink="true">https://forum.hise.audio/post/117400</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Wed, 04 Feb 2026 11:02:17 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Sample Start Mod on Wed, 04 Feb 2026 05:38:09 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> said in <a href="/post/117383">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117382">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">And it seems the "embedded map" is still referring to the right .cr1 file.</p>
</blockquote>
<p dir="auto">Yes</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117382">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">Could you explain?</p>
</blockquote>
<p dir="auto">The changes are saved with the project but not with the sample map.</p>
</blockquote>
<p dir="auto">But the sample map xml files are also changed when saving the project, if I open the maps in a text editor I can see the changes are made</p>
<blockquote>
<p dir="auto">But since your use case is for the user to be able to edit the start any way then this doesn't matter because they can't save the sample map once it's embedded.</p>
</blockquote>
<p dir="auto">That is great to hear.<br />
But while working with the project the sample maps are changed and it leads to the message that it's bad practice to load embedded samplemaps.<br />
So if I understand right, it doesn't matter as long as it's referring to the right ch1</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117381">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">A feature for the user to adjust the sample start</p>
</blockquote>
<p dir="auto">Do you want them to be able to set the start at any point of the sample? How many samples are we dealing with?</p>
</blockquote>
<p dir="auto">The user can change all samples in range between 0 - 5000 smpl, that is already fixed</p>
]]></description><link>https://forum.hise.audio/post/117396</link><guid isPermaLink="true">https://forum.hise.audio/post/117396</guid><dc:creator><![CDATA[ulrik]]></dc:creator><pubDate>Wed, 04 Feb 2026 05:38:09 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Sample Start Mod on Tue, 03 Feb 2026 16:03:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117382">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">And it seems the "embedded map" is still referring to the right .cr1 file.</p>
</blockquote>
<p dir="auto">Yes</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117382">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">Could you explain?</p>
</blockquote>
<p dir="auto">The changes are saved with the project but not with the sample map. But since your use case is for the user to be able to edit the start any way then this doesn't matter because they can't save the sample map once it's embedded.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117381">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">A feature for the user to adjust the sample start</p>
</blockquote>
<p dir="auto">Do you want them to be able to set the start at any point of the sample? How many samples are we dealing with?</p>
]]></description><link>https://forum.hise.audio/post/117383</link><guid isPermaLink="true">https://forum.hise.audio/post/117383</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Tue, 03 Feb 2026 16:03:24 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Sample Start Mod on Tue, 03 Feb 2026 15:41:00 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> said in <a href="/post/117380">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">If you change any sample map property then the sample map has changed, when you save the project it will save this as an embedded sample map unless you save the sample map xml.</p>
</blockquote>
<p dir="auto">And it seems the "embedded map" is still referring to the right .cr1 file.</p>
<blockquote>
<p dir="auto">...unless you save the sample map xml</p>
</blockquote>
<p dir="auto">Could you explain?<br />
It is in fact saving the changes already when saving the project</p>
]]></description><link>https://forum.hise.audio/post/117382</link><guid isPermaLink="true">https://forum.hise.audio/post/117382</guid><dc:creator><![CDATA[ulrik]]></dc:creator><pubDate>Tue, 03 Feb 2026 15:41:00 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Sample Start Mod on Tue, 03 Feb 2026 15:36: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> said in <a href="/post/117380">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">What's the reason for changing these properties dynamically</p>
</blockquote>
<p dir="auto">A feature for the user to adjust the sample start</p>
<p dir="auto">Do you have any thoughts about how to do it another way?</p>
]]></description><link>https://forum.hise.audio/post/117381</link><guid isPermaLink="true">https://forum.hise.audio/post/117381</guid><dc:creator><![CDATA[ulrik]]></dc:creator><pubDate>Tue, 03 Feb 2026 15:36:40 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Sample Start Mod on Tue, 03 Feb 2026 15:31:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> said in <a href="/post/117379">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">as soon as I change the Sample Start, or the Sample Start Mod</p>
</blockquote>
<p dir="auto">If you change any sample map property then the sample map has changed, when you save the project it will save this as an embedded sample map unless you save the sample map xml.</p>
<p dir="auto">What's the reason for changing these properties dynamically&gt;</p>
]]></description><link>https://forum.hise.audio/post/117380</link><guid isPermaLink="true">https://forum.hise.audio/post/117380</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Tue, 03 Feb 2026 15:31:50 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Sample Start Mod on Tue, 03 Feb 2026 15:27:58 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> said in <a href="/post/117378">Changing Sample Start Mod</a>:</p>
<blockquote>
<p dir="auto">Usually the sample start mod is fixed in the sample map and you control the position used with a modulator in the Sample Start chain.</p>
</blockquote>
<p dir="auto">Hi David<br />
Yes I know that, what is your recommendations regarding this?<br />
Because as soon as I change the Sample Start, or the Sample Start Mod and save the project the changes will be applied to the sample map as well.<br />
So when I load the project again I'll get the</p>
<pre><code>Sampler1:! Loading embedded samplemaps is bad practice. Save the samplemap to a file instead.
</code></pre>
<p dir="auto">even though the samples for that map are saved as Monolith.</p>
<p dir="auto">Do I get that message because the sampler doesn't recognize which monolith it should use for that map or...?</p>
<p dir="auto">Even if I load that sample map after changing the Sample Start or Sample Start Mod, it will still load the right .ch1 file so why is it compiling about loading embedded samplemaps?<br />
Sorry if I don't understand the logic behind this</p>
]]></description><link>https://forum.hise.audio/post/117379</link><guid isPermaLink="true">https://forum.hise.audio/post/117379</guid><dc:creator><![CDATA[ulrik]]></dc:creator><pubDate>Tue, 03 Feb 2026 15:27:58 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Sample Start Mod on Tue, 03 Feb 2026 15:11:34 GMT]]></title><description><![CDATA[<p dir="auto">Usually the sample start mod is fixed in the sample map and you control the position used with a modulator in the Sample Start chain.</p>
]]></description><link>https://forum.hise.audio/post/117378</link><guid isPermaLink="true">https://forum.hise.audio/post/117378</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Tue, 03 Feb 2026 15:11:34 GMT</pubDate></item><item><title><![CDATA[Reply to Changing Sample Start Mod on Tue, 03 Feb 2026 15:07:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/307">@ulrik</a> Also if changing Sample Start, it will be stored in the sample map when saving project</p>
]]></description><link>https://forum.hise.audio/post/117377</link><guid isPermaLink="true">https://forum.hise.audio/post/117377</guid><dc:creator><![CDATA[ulrik]]></dc:creator><pubDate>Tue, 03 Feb 2026 15:07:59 GMT</pubDate></item></channel></rss>