< Back to IRCAM Forum

math & programing question

Hi!
In my working with OM I have encountered a problem which I am not able to solve.

I want to interpolate a series of numbers from 2 to 48, so that the total sum of the output list is 2560.
The question is what is the value of nbs (number of samples), if the interpolation curvature is linear (0.0).
Is there a way to calculate this automatically?

Of course, it would be also wishful to be able to calculate the possible interpolation curvature for the given interpolation begin, end, nbs and total sum of the output list.
Is that possible?

(In other words, I know the range and total sum of the interpolation, and I would like to calculate nbs and curvatures to the given constraints.)

I hope somebody, with bigger math knowledge then mine, is able to answer my questions?

Best regards!

Aliser