LagrangeInterpolator with fractional ratio

Nice work. You are more dedicated than I was :). There was a separate post about the CatmullRomInterpolator, where a guy had created that and eventually it was added to Juce. There was talk in that thread about the push model being preferable over the pull model because push works for both files and streams. It sounded like that was going to result in a push model for CatmullRomInterpolator, but it doesn’t appear that way. I’m mostly a Juce fanboy, but this is one of the few aspects that I’m salty about. When they added CatmullRomInterpolator to Juce, they again set it up with a pull model that presumably requires extra effort for streams, though you seem to have an elegant solution to that extra effort.

If you are processing a real time stream and cpu is any concern…I ended up using this, designed for that specific situation:


All 3rd party solutions that I have come across use a push model and work fine for streams.
1 Like