Sample loop play in Sampler
-
Hi Everybody,
I am new to this forum. Also I am not good at writing. Please ignore my writing mistakes. I just need some help. Please guide me.
Recently I just installed the HISE on my windows 10.
And created one Sampler by adding Sampler module.By clicking the button the sample is playing fine, but it's playing only once.
Could someone please help me , how to add a loop in sampler ?I want my sample should play till onNoteOff () called.
Please find my piece of code as follows -
function onNoteOn() { notekey = Message.getNoteNumber(); synth.playNote(notekey, 64); }
Thanks and Regards
San [PluginTutor} -
@plugintutor Hello, you need to add loop points to your sample in the sample editor
-
Hi HEALEY,
Thanks a lot !
Really appreciate your help. I enabled the Looping Point. It's working fine now.But I tried through code but seems like I am doing something wrong -
const var vs = Synth.getSampler("Sampler1"); vs.loopEnabled;
Regards
San[PluginTutor] -
@plugintutor
You don't need to add any code for looping to work.