Csound Csound-dev Csound-tekno Search About

Cubic interpolation

Date1999-01-04 18:32
FromJ.P.Fitch@bath.ac.uk
SubjectCubic interpolation
Message written at 4 Jan 1999 16:35:01 +0000

I have added to my experimemtal system a family of opcodes which are
like oscili except that they use cubic interpolation.  If anyone withs
to experimemt with these I can provide SGI, Linux or PC versions, or
of course code.  I am not totally sure that the code is correct in all
cases but it seems OK.  At present I have called this family oscil3
for cubic. 

Question: should this code replace oscili (assuming it is correct)?
Wouks you prefer oscil3 to work with non-power-of-2-plus-1 tables?
That woudl slow it down a bit more.

Question: which other opcodes do you think should use cubic
interpolation?  Adjusting an opcode is not trivial, and certainly is
much slower.  I am willing to do some more opcodes, but I woudl prefer
a priority order -- or promises that people with do teh adjustments
AND SEND BACK THE CODE.

Question: is cubic needed?  What about using quadratic interpolation?

==John ff

Date1999-01-04 20:04
FromRichard Karpen
SubjectRe: Cubic interpolation
If this interpolation is really better (meaning it sounds better), I'd
consider changing sndwarp to do its interpolations that way.

RK


On Mon, 4 Jan 1999 J.P.Fitch@bath.ac.uk wrote:

> Message written at 4 Jan 1999 16:35:01 +0000
> 
> I have added to my experimemtal system a family of opcodes which are
> like oscili except that they use cubic interpolation.  If anyone withs
> to experimemt with these I can provide SGI, Linux or PC versions, or
> of course code.  I am not totally sure that the code is correct in all
> cases but it seems OK.  At present I have called this family oscil3
> for cubic. 
> 
> Question: should this code replace oscili (assuming it is correct)?
> Wouks you prefer oscil3 to work with non-power-of-2-plus-1 tables?
> That woudl slow it down a bit more.
> 
> Question: which other opcodes do you think should use cubic
> interpolation?  Adjusting an opcode is not trivial, and certainly is
> much slower.  I am willing to do some more opcodes, but I woudl prefer
> a priority order -- or promises that people with do teh adjustments
> AND SEND BACK THE CODE.
> 
> Question: is cubic needed?  What about using quadratic interpolation?
> 
> ==John ff
> 
> PS Happy new year
>