<?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 load Sample maps after init ?]]></title><description><![CDATA[<p dir="auto">Hi, I have a problem.</p>
<p dir="auto">My VST downloads the expansion automatically and unzips it automatically. However, when I want to map my sample maps, the new sample maps are not updated in the content and sampler interface.</p>
<p dir="auto">How can I upload samples in HISE after initialization?</p>
<p dir="auto">Thank you.</p>
<pre><code>function redrawComboBox() {
    var SampleMaps = Sampler.getSampleMapList();
    var expansion = Engine.getExpansionList();
    var all_sample_maps = [];
	
    for (a in SampleMaps) {
        all_sample_maps.push(a);
    }
    for (e in expansion) {
        var expansion_SampleMaps = e.getSampleMapList();
        for (i in expansion_SampleMaps) {
             all_sample_maps.push(i);
        }
}
	
</code></pre>
]]></description><link>https://forum.hise.audio/topic/10059/how-to-load-sample-maps-after-init</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 10:04:52 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/10059.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Jul 2024 07:00:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to load Sample maps after init ? on Sun, 14 Jul 2024 13:03:17 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey said in <a href="/post/83276">How to load Sample maps after init ?</a>:</p>
<blockquote>
<p dir="auto">ExpansionHandler.refreshExpansions()</p>
</blockquote>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.hise.audio/post/83284</link><guid isPermaLink="true">https://forum.hise.audio/post/83284</guid><dc:creator><![CDATA[Lumi283]]></dc:creator><pubDate>Sun, 14 Jul 2024 13:03:17 GMT</pubDate></item><item><title><![CDATA[Reply to How to load Sample maps after init ? on Sun, 14 Jul 2024 09:45:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/2873">@Lumi283</a> Avoid using <code>var</code> and use <code>inline function</code> instead of <code>function</code> - unless it's a paint routine or callback.</p>
<p dir="auto">There is an expansion refresh function that you can use which I think will make the sample maps available. <code>ExpansionHandler.refreshExpansions()</code></p>
]]></description><link>https://forum.hise.audio/post/83276</link><guid isPermaLink="true">https://forum.hise.audio/post/83276</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Sun, 14 Jul 2024 09:45:25 GMT</pubDate></item><item><title><![CDATA[Reply to How to load Sample maps after init ? on Sun, 14 Jul 2024 07:03:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/2873">@Lumi283</a> Note: I am even forced to reload the workspace to see the new sample maps.</p>
]]></description><link>https://forum.hise.audio/post/83271</link><guid isPermaLink="true">https://forum.hise.audio/post/83271</guid><dc:creator><![CDATA[Lumi283]]></dc:creator><pubDate>Sun, 14 Jul 2024 07:03:53 GMT</pubDate></item></channel></rss>