Timestretching/Pitchshifting
-
@Christoph-Hart Very cool! Where can we poke around to lower the limit? And is there a way to reach the stretch ratio of the Sampler module via scripting ?
-
And is there a way to reach the stretch ratio of the Sampler module via scripting ?
Sure:
Sampler.setTimestretchRatio(newRatio);
-
I've updated the docs to include a chapter about how it works:
https://docs.hise.audio/hise-modules/sound-generators/list/streamingsampler.html#timestretching
-
@Lindon Need to update your VI thread :)
-
@Christoph-Hart Much appreciated Christoph!
-
@Christoph-Hart Nice! Is getTimestretchOptions() not implemented yet?
-
-
Thank you Christoph Hart for this feature. My project was stuck, but now the problem is solved! Don't you think @d-healey that it would be interesting to offer a tutorial on your YouTube channel to explain how to properly implement time stretching? It could help more than one person.
Thanks,
Remi Dufeu -
@d-healey Pulled the branch yesterday and everything else is there but I'm getting function not found both with getSampler and getChildSynth
-
@audiolyf Maybe you pulled before Christoph added it?
-
-
@ABYSS_CO said in Timestretching/Pitchshifting:
Don't you think @d-healey that it would be interesting to offer a tutorial on your YouTube channel to explain how to properly implement time stretching?
Definitely, once it's a little more mature.
-
@d-healey there‘s not much to show in a tutorial - just turn on timestretching and set the ratio…
-
@Christoph-Hart I think they'll want to know how to use the scripting functions and implement a UI.
-
@Christoph-Hart Sample start mod is not possible, right?
-
@audiolyf Actually I just have forgot to take that into account but that's fixed now (along with a lower stretch limit of 0.0625 instead of 0.5).
-
@Christoph-Hart mf king!
-
I'm thinking about adding this to the AudioLooper too (it's pretty obvious that this might be useful there). Is anybody using the tempo synced mode in a real project? It previously changed the pitch to match the tempo but I guess that is so totally useless that I can replace the functionality and enable timestretching by default when the tempo syncing is activated.
-
Is anybody using the tempo synced mode in a real project?
Yes, and I added new modes for longer loops (I think you merged this already). But real time stretching will be so much better.
However the main limitation of the loop player is that you can't edit the loop points. So I've switched over to the sampler with custom import now. The only problem there is every time I change a parameter the loading callback gets triggered.
-
It would be greate if we could use time stretch for FX and slowdown incoming signal :)