[answer is good] Sinc interpolation only in Gen?


    Feb 17 2014 | 10: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"?

    • Feb 18 2014 | 10: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.
    • Feb 18 2014 | 5:39 pm
      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