List interpolation and MSP, fill a buffer~ with a list at DSP rate
Hi !
I think that the patch below show clearly what I'm searching for (needs the list-interpolate object from FTM). I'm trying to smooth lists in time that have always the same length of elements to control a gen~ patch. I'm wondering if an object isn't already existing for that but I can't find any on maxobject.com, the only solution that is near from my problem is the list-interpolate object but, as you hear it, it's not perfect at all. I know that ioscbank~ is able to do it internally.
My goal is to generate a waveforms interpolating few values coming from lists (interpolated in time), if you've got any different idea or workaround that using a buffer~ I'm open !
Edit : I have a smoother result using mxj ej.l2buffer instead of peek, but it remains some artefacts
Please, beware with this patch it goes mad sometimes I don't know why : (
I found also this weird solution that use mxj ej.linterp, but it doesn't solve the problem of artefacts
I don't know if it helps, but I usually use jit.slide to interpolate lists...
Thank you, yes this is also an interesting method for interpolate lists but the problem is to do it at dsp clock rate instead of schleduler.
I finally solved the problem by using poly~ :)
The main problem is that you are resizing the buffer~ (to the same size) every time you interpolate the list. This causes the buffer~ memory to be cleared. I just modified your original patch to use ej.lslide instead of ej.linterp and that works fine (as long as the interpolation is large enough (otherwise you hear small clicks caused by the steps in the waveform).
Indeed, I correct it. In fact I was thinking that using poke~ definitively solved that kind of aliasing problem but this is a bit the same that with your patch where the smoothing factor must be really hi (200 - 400 ms)
check if there is the option to create "live oscillators" rather than a buffer. the idea of continously changing the content of a wavetable at signal rate is a bit paradox. you could as well create the same content on the fly and play it without keeping it in memory.
-110
yes I know it's weird but the main idea was to try the interpolation modes of the sample operator inside gen~, especially because of that interface Xnodes that I've recently uploaded on C74, it gives me a lot of parameters as a list and I thought it was a interesting way for use them.