Preloading and Looping



  • Hello,

    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.

    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.

    Thank you for your time.


  • administrators

    Well, this is obviously not intentional, I just didn't notice this yet, but I'll fix it right away, thanks for reporting this.


Log in to reply

Looks like your connection to Preloading and Looping was lost, please wait while we try to reconnect.