<?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[What filetypes and channel sizes are supported?]]></title><description><![CDATA[<p dir="auto">Really struggling to find this info on the site and docs and forum. I do see reference to people using flac a little bit, but when I put one in Sampler it isn’t playing back (but it’s waveform does appear), and multichannel flac crashes HISE</p>
<p dir="auto">Multichannel wav crash HISE when you select the file, WavPack refuses to appear in the list of files.</p>
<p dir="auto">This page has me especially confused that I might be missing something:<br />
<a href="http://hise.audio/blog/posts/handling-multi-channel-samples" rel="nofollow ugc">http://hise.audio/blog/posts/handling-multi-channel-samples</a><br />
"Allow a flexible routing. Effects must be applicable to either individual channels or the (stereo) mix of all positions. Also surround samples should be possible.”</p>
<p dir="auto">I’d really love to avoid going to Wav because I’m using the multichannel feature and there is lots of dead 0 space after many of the samples but the feature requires the same sample length. This will bloat my files hugely if I have to go to Wav.</p>
<p dir="auto">Thanks for any light shed on this</p>
]]></description><link>https://forum.hise.audio/topic/9399/what-filetypes-and-channel-sizes-are-supported</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Nov 2026 00:08:57 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/9399.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Apr 2024 18:20:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to What filetypes and channel sizes are supported? on Fri, 12 Apr 2024 21:23:48 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey</p>
<p dir="auto">It’s achieved; I’m loading samples based on their tokens and creating a module structure. Right now I’m only loading one mic (OH_M) and there are 6 other mic positions to load later with multimic. I should probably investigate doing it manually and exporting the sample map to see how it is represented there, if it is.</p>
<pre><code>const
var dataObj = Engine.loadFromJSON("../ArticulationData.json");

include("UI.js");



function createModule(type, name, parent) {
    if (type.toLowerCase() == "sampler") {
        var type = builder.SoundGenerators.StreamingSampler;
    } else {
        var type = builder.SoundGenerators.SynthChain;
    }

    var module = builder.create(type, name, parent, builder.ChainIndexes.Direct);
    return module;
}


function createSampleObj(fName, note1, note2, loVel, hiVel, RRGroup /*(j+1)*/ , Duplicate /*0*/ ) {
    var obj = {
        FileName: fName,
        Root: note1,
        LoKey: note1,
        HiKey: note1,
        LoVel: loVel,
        HiVel: hiVel,
        RRGroup: RRGroup,
        Duplicate: Duplicate
    };

    return obj
}

var builder = Synth.createBuilder();
builder.clear();

var sampleMap = [];
var stopper = 0;
for (group in dataObj) {
    
    stopper++;
    
    
    var groupSampler = createModule("Sampler", group, 0);
            include("SetSamplerAttributes.js");


    sampleMap = [];
    for (hit in dataObj[group]) {
	    
        var rrGroups = dataObj[group][hit].RRGroups;
        var rrSize = dataObj[group][hit].RRSize;
        var Layers = dataObj[group][hit].Layers;
        var note1 = dataObj[group][hit].Note1;
        var note2 = dataObj[group][hit].Note2;
			
		
		var count = 0;	
        for (i = 0; i &lt; rrGroups; i++) { // for each rrGroup
			
			
            for (j = 0; j &lt; rrSize &amp;&amp; count &lt; Layers; j++) {
	            count++;
            
            	include("SampleSortConsolePrint.js");

                var fName = "{PROJECT_FOLDER}" + group + "-" + hit + "-OH_M-" + count + ".wav";
                
                include("VelocityMath.js");

                var obj = createSampleObj(fName, note1, note2, loVel, hiVel, (j+1), 0);
                
                sampleMap.push(obj);

                if (count == Layers) { // only saves complete sample sets until overflow logic is complete
                //Console.print("test");
                    Engine.dumpAsJSON(sampleMap, group + ".json");
                }
            }
            Synth.getSampler(group).loadSampleMapFromJSON(sampleMap);
        }
    }

    if (stopper &gt; 4) break // Let's take it slow
}

builder.flush();
</code></pre>
<p dir="auto">Working good!</p>
]]></description><link>https://forum.hise.audio/post/78329</link><guid isPermaLink="true">https://forum.hise.audio/post/78329</guid><dc:creator><![CDATA[Fergler]]></dc:creator><pubDate>Fri, 12 Apr 2024 21:23:48 GMT</pubDate></item><item><title><![CDATA[Reply to What filetypes and channel sizes are supported? on Fri, 12 Apr 2024 14:34:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/3469">@Fergler</a> said in <a href="/post/78292">What filetypes and channel sizes are supported?</a>:</p>
<blockquote>
<p dir="auto">hr1 out</p>
</blockquote>
<p dir="auto"><code>.hr</code> is an archive format (like zip) it's not the compression format which is <code>.ch</code></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/3469">@Fergler</a> said in <a href="/post/78292">What filetypes and channel sizes are supported?</a>:</p>
<blockquote>
<p dir="auto">Btw, is there a way to get access to the tokenizing feature via scripting? I’m currently using</p>
<p dir="auto">Synth.getSampler(group).loadSampleMapFromJSON(sampleMap);</p>
<p dir="auto">from a json file generated based on the files right before this function is called. I suppose I need to put some mic token info into the JSON but I can’t find any relevant key/value pairs to use.</p>
</blockquote>
<p dir="auto">I'm not familiar with <code>loadSampleMapFromJSON()</code> What is it that you are wanting to do?</p>
]]></description><link>https://forum.hise.audio/post/78297</link><guid isPermaLink="true">https://forum.hise.audio/post/78297</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Fri, 12 Apr 2024 14:34:10 GMT</pubDate></item><item><title><![CDATA[Reply to What filetypes and channel sizes are supported? on Fri, 12 Apr 2024 14:22:45 GMT]]></title><description><![CDATA[<p dir="auto">Ok, thanks. I will go to wav and try hr1 out</p>
<p dir="auto">Btw, is there a way to get access to the tokenizing feature via scripting? I’m currently using</p>
<p dir="auto">Synth.getSampler(group).loadSampleMapFromJSON(sampleMap);</p>
<p dir="auto">from a json file generated based on the files right before this function is called. I suppose I need to put some mic token info into the JSON but I can’t find any relevant key/value pairs to use.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.hise.audio/post/78292</link><guid isPermaLink="true">https://forum.hise.audio/post/78292</guid><dc:creator><![CDATA[Fergler]]></dc:creator><pubDate>Fri, 12 Apr 2024 14:22:45 GMT</pubDate></item><item><title><![CDATA[Reply to What filetypes and channel sizes are supported? on Fri, 12 Apr 2024 08:07:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/3469">@Fergler</a> - and make sure before you start to load audio that the samples a(.wav files) are in the Samples folder in your project.</p>
]]></description><link>https://forum.hise.audio/post/78272</link><guid isPermaLink="true">https://forum.hise.audio/post/78272</guid><dc:creator><![CDATA[Lindon]]></dc:creator><pubDate>Fri, 12 Apr 2024 08:07:41 GMT</pubDate></item><item><title><![CDATA[Reply to What filetypes and channel sizes are supported? on Thu, 11 Apr 2024 22:47:42 GMT]]></title><description><![CDATA[<p dir="auto">Mono or stereo wav files - I think aiff work too.</p>
<p dir="auto">HISE's lossless compression is based on flac so no need to compress the samples before loading them.</p>
<p dir="auto">HISE's system for handling multi-mic samples is you load in each channel as a separate wav (stereo or mono) then within HISE you can merge them in a pseudo multi-channel sample. From then on within HISE you interact with the pseudo sample while retaining the ability to route the individual channels.</p>
<p dir="auto">I show that at the start of this video:<br />
<a href="https://youtu.be/sV9aMTphmDE?si=zoTut4vovZ0LrTe8" rel="nofollow ugc">https://youtu.be/sV9aMTphmDE?si=zoTut4vovZ0LrTe8</a></p>
]]></description><link>https://forum.hise.audio/post/78266</link><guid isPermaLink="true">https://forum.hise.audio/post/78266</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Thu, 11 Apr 2024 22:47:42 GMT</pubDate></item></channel></rss>