@Christoph-Hart Still getting nasty sounds with time stretching.
Here's an audio file rendered directly from HISE. You can hear the distortion at the beginning, this is just by enabling time-stretching for the sampler without changing the ratio.
I've added a SourceBPM property alongside NumQuarters so now I can just specify the BPM the sample was recorded at which seems more logical to me. I also fixed a bug that was causing clicks at certain BPMs. PR