[music-dsp] interpollation:
Angus Hewlett
angus at afhewlett.f9.co.uk
Sat Apr 29 06:34:11 EDT 2000
Hey,
This sounds good - are there any restrictions/patents/other BS on its use?
Regards,
Angus.
At 17:55 27/04/00 +0300, you wrote:
>Cut'n'paste:
>
>double getdatawithhermiteip(double address) {
> unsigned int pos = address;
> double fractpos = address - pos;
> double a = (3*((double)data[pos]-data[pos+1])
> -(double)data[pos-1]+data[pos+2])/2;
> double b = 2*(double)data[pos+1]+data[pos-1]
> -(5*(double)data[pos]+data[pos+2])/2;
> double c = ((double)data[pos+1]-data[pos-1])/2;
> return (((a*fractpos)+b)*fractpos+c)*fractpos+data[pos];
>}
>
>-olli
:#:::::fxpansion::::::::::::::::::::::::::::::::-:=:x:
| http://www.fxpansion.com - info at fxpansion.com |
| London, UK - +44 (0)7808 157 967 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dupswapdrop -- the music-dsp mailing list and website: subscription info,
FAQ, source code archive, list archive, book reviews, dsp links
http://shoko.calarts.edu/musicdsp/
More information about the music-dsp
mailing list