Gen~ spline_interp

    Jun 28 2012 | 2:30 pm
    Erm, just what is this object? The documentation for it (in all locations) appears to be exactly the same as Gen~ sah. Is it exactly the same? If it is, why have it? Is it similar, but different? If so, how so? Is it something else entirely?
    It doesn't seem to take the same arguments as Sah, and I can't seem to make it a valid object when instantiating...

    • Jun 28 2012 | 3:10 pm
      I believe its only for use inside the expr object. It's something to do with smooth controlled curves between points but I don't really know.
    • Jun 28 2012 | 9:08 pm
      @muShoo Are you talking about an object named spline_interp? There's an object named interp that takes an argument named spline e.g. [interp spline].
    • Jun 29 2012 | 6:47 am
      Actually [interp @mode spline]. It is a four-point smoothing function based on spline functions (Breeuwsma catmull-rom spline). Have a look at gen~.interpolation.maxpat in the examples/gen folder for a patch that shows how the various interp modes are implemented internally.
    • Jun 29 2012 | 8:12 am
      Nope, there's something in the max Gen~ object docs labelled 'spine_interp" with the exact same description as sah, but it doesn't seem to be a valid object. I'd guess it's just a weird docs typo?
    • Jun 29 2012 | 3:37 pm
      Which documentation page is this in? I'm not finding it right now.
    • Jun 29 2012 | 3:45 pm
      spline_interp will be proposed in the autocompletion list. Create an instance, open the help ballon to get some help, click into the i to open the "gen~ Operators" page with a spline_interp reference in the Filter section (with the same smallish content).
    • Jun 29 2012 | 4:06 pm
      Thanks for the info. This has been fixed for a future release.
    • Jun 30 2012 | 3:55 am
      Thanks Wesley! (And thanks Patrick for describing my exact method of coming across this).