Forums > Gen

[answer is good] Sinc interpolation only in Gen?

February 17, 2014 | 2:47 pm

For once maybe get help from some generous trovadour.
First of all: Excuse my English..

16-Point Windowed-Sinc Interpolation only in gen? Data rather than buffer..
How make "Fill SINC 8, apply blackman in someway in this code box"?

<code>

– Pasted Max Patch, click to expand. –

</code>


February 18, 2014 | 2:07 am

to initialise a function in GenExpr you must do it only once, and turn it off after completion, otherwise you’ll get infinite loops.

e.g.

History init(1); // be sure to initialise to 1

if (init > 0) {
[DO MY FUNCTION]
init = 0; // turn off at end of initialisation
}

…this will only perform the loop on load.

if i have time i’ll dig out my windowed-sinc GE code (i use a variable kaiser window) and post later.

hth.


February 18, 2014 | 9:39 am

Thanks STKR your toolbox its incredibly useful!!!

Unfortunately attempts to do so in a "similar way????!!!", only shooting a counter to load gen patch, an if 16386 sent a 1 in the right inlet of + =.
However, I notice distortions and artifacts in the interpolation, I’m not sure I miscalculated the SINC 8 functions, and did not know as applying a Blackman ..

inside gen (in a patch sincinterpolation)
record source with += and splat


Viewing 3 posts - 1 through 3 (of 3 total)