ΣSigmaStudio Ask AI Русский Log in

Spline interpolation?

SigmaDSP & SigmaStudio joe42 Sep 21, 2014 00:00 5 replies Original on forum ↗
Subscribe
joe42 Question
Sep 21, 2014 00:00

Anyone have any ideas to implement a spline interpolator efficiently?

The linear lookup table is useful, but I'm hoping to make something naturally smoother between points, rather than piecewise linear. Splines or something similar would be perfect.

sigma studio

interpolation

ADIApproved Reply
Sep 21, 2014 00:00

HI Joseph:

If there is a specific equation you need to implement for doing your interpolation, please u post it. This way we could comment weather if you can do this with Basic DSP blocks or you would need to contract someone that would write to you a dedicated library.

Why do you need the higher precision?

What's your application? if I may ask.

Lastly, what DSP are you using?

Regards

Miguel

joe42 Reply
Sep 24, 2014 00:00

Hi,

We don't have a specific formula I can share, but we'd like to have something smoother than a linear interpolator for signal processing. Piecewise linear interpolation creates significant distortion when applied to audio signals. Basically I want a better defined clipper/distorter that I have much more control over.

Ideally, I'd want to see an object just like the linear interpolator, only that outputs a (cubic) spline interpolation instead of a linear interpolation between points. It would be great to have something where I can add a small number of control points, and have it output a nice softly interpolated curve instead of a piecewise linear output. This is a very common thing to have available and is really quite trivial to do. But I don't see that there is any convenient way to do this in SigmaDSP, but I've seen other clever things before.

I'm using the ADAU1701.

Thanks.

Joe

ADIApproved Reply
Sep 25, 2014 00:00

HI Joe:

There is a linear interpolator and there is Linear interpolator within a log transformation.

Can you share the one you are specifically talking about, perhaps post a screenshot of it?

Thank you

Miguel

joe42 Reply
Sep 29, 2014 00:00

I was talking about the simple linear interpolator; having a log transform won't change anything related to these issues. I'm unclear what you want a screenshot of.

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin