<?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[Preloading and Looping]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">As Christoph knows, I've been working with HISE with modified source code. That being said, I did take note of the fact that the vanilla version of HISE had two issues with preloaded samples. The first issue is that if a loop endpoint is defined to be a value smaller than the preload size, the sample won't play the loop properly until after it has read the preload buffer. I did make a fix for that via my source code edits, but still something worth addressing for the other users.</p>
<p dir="auto">The other issue I encountered is that if the preload buffer is at least the same size as the sample (whether it is explicitly supposed to preload the entire sample or not), it will not loop at all. Was this lack of loop support intentional? Either way, the best workaround I've found for this for my own purposes is to make the preload buffer decrease its size if the sample size is under a certain number, in my case, 8192 samples.</p>
<p dir="auto">Thank you for your time.</p>
]]></description><link>https://forum.hise.audio/topic/497/preloading-and-looping</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 05:33:20 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/497.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Dec 2017 20:27:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Preloading and Looping on Sat, 30 Dec 2017 14:14:31 GMT]]></title><description><![CDATA[<p dir="auto">I said I fix it right away, but then I got lazy :)</p>
]]></description><link>https://forum.hise.audio/post/3333</link><guid isPermaLink="true">https://forum.hise.audio/post/3333</guid><dc:creator><![CDATA[Christoph Hart]]></dc:creator><pubDate>Sat, 30 Dec 2017 14:14:31 GMT</pubDate></item><item><title><![CDATA[Reply to Preloading and Looping on Fri, 29 Dec 2017 18:19:28 GMT]]></title><description><![CDATA[<p dir="auto">made some experiments.<br />
It seems, sample. one of the way is being played to the end even with loop end far away from the end.<br />
When i play, the glitch position depends on the distance between loop end and sample end<br />
<img src="/uploads/files/1514571515693-2017-12-30_01-17-53-resized.png" alt="0_1514571518178_2017-12-30_01-17-53.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.hise.audio/post/3326</link><guid isPermaLink="true">https://forum.hise.audio/post/3326</guid><dc:creator><![CDATA[Levitanus]]></dc:creator><pubDate>Fri, 29 Dec 2017 18:19:28 GMT</pubDate></item><item><title><![CDATA[Reply to Preloading and Looping on Fri, 29 Dec 2017 18:07:06 GMT]]></title><description><![CDATA[<p dir="auto">well, i've increased preload size to 1 000 000 with longest sus sample about 900 000, it works, even with huge memory usage :)</p>
<p dir="auto">But now i hear clicks on the loop point, which, I definitely have not to, because samples designed to be looped entirely. If i make crossfade  - they will play poorly...<br />
And even with crossfade in 200-300 samples i hear this glitch, what am i doing wrong?)</p>
]]></description><link>https://forum.hise.audio/post/3325</link><guid isPermaLink="true">https://forum.hise.audio/post/3325</guid><dc:creator><![CDATA[Levitanus]]></dc:creator><pubDate>Fri, 29 Dec 2017 18:07:06 GMT</pubDate></item><item><title><![CDATA[Reply to Preloading and Looping on Wed, 06 Dec 2017 23:08:22 GMT]]></title><description><![CDATA[<p dir="auto">Well, this is obviously not intentional, I just didn't notice this yet, but I'll fix it right away, thanks for reporting this.</p>
]]></description><link>https://forum.hise.audio/post/3150</link><guid isPermaLink="true">https://forum.hise.audio/post/3150</guid><dc:creator><![CDATA[Christoph Hart]]></dc:creator><pubDate>Wed, 06 Dec 2017 23:08:22 GMT</pubDate></item></channel></rss>