Portability | portable |
---|---|

Stability | experimental |

Maintainer | m.p.donadio@ieee.org |

Safe Haskell | Safe-Inferred |

Polynomial interpolators. Taken from:

Olli Niemitalo (ollinie@freenet.hut.fi), Polynomial Interpolators for High-Quality Resampling of Oversampled Audio Search for deip.pdf with Google and you will find it.

- mkcoef :: (Num a, Ix b, Integral b) => (a -> a) -> b -> a -> Array b a
- bspline_1p0o :: (Ord a, Fractional a) => a -> a
- bspline_2p1o :: (Ord a, Fractional a) => a -> a
- bspline_4p3o :: (Ord a, Fractional a) => a -> a
- bspline_6p5o :: (Ord a, Fractional a) => a -> a
- lagrange_4p3o :: (Ord a, Fractional a) => a -> a
- lagrange_6p5o :: (Ord a, Fractional a) => a -> a
- hermite_4p3o :: (Ord a, Fractional a) => a -> a
- hermite_6p3o :: (Ord a, Fractional a) => a -> a
- hermite_6p5o :: (Ord a, Fractional a) => a -> a
- sndosc_4p5o :: (Ord a, Fractional a) => a -> a
- sndosc_6p5o :: (Ord a, Fractional a) => a -> a
- watte_4p2o :: (Ord a, Fractional a) => a -> a
- parabolic2x_4p2o :: (Ord a, Fractional a) => a -> a
- optimal_2p3o2x :: (Ord a, Fractional a) => a -> a
- optimal_2p3o4x :: (Ord a, Fractional a) => a -> a
- optimal_2p3o8x :: (Ord a, Fractional a) => a -> a
- optimal_2p3o16x :: (Ord a, Fractional a) => a -> a
- optimal_2p3o32x :: (Ord a, Fractional a) => a -> a
- optimal_4p2o2x :: (Ord a, Fractional a) => a -> a
- optimal_4p2o4x :: (Ord a, Fractional a) => a -> a
- optimal_4p2o8x :: (Ord a, Fractional a) => a -> a
- optimal_4p2o16x :: (Ord a, Fractional a) => a -> a
- optimal_4p2o32x :: (Ord a, Fractional a) => a -> a
- optimal_4p3o2x :: (Ord a, Fractional a) => a -> a
- optimal_4p3o4x :: (Ord a, Fractional a) => a -> a
- optimal_4p3o8x :: (Ord a, Fractional a) => a -> a
- optimal_4p3o16x :: (Ord a, Fractional a) => a -> a
- optimal_4p3o32x :: (Ord a, Fractional a) => a -> a
- optimal_4p4o2x :: (Ord a, Fractional a) => a -> a
- optimal_4p4o4x :: (Ord a, Fractional a) => a -> a
- optimal_4p4o8x :: (Ord a, Fractional a) => a -> a
- optimal_4p4o16x :: (Ord a, Fractional a) => a -> a
- optimal_4p4o32x :: (Ord a, Fractional a) => a -> a
- optimal_6p4o2x :: (Ord a, Fractional a) => a -> a
- optimal_6p4o4x :: (Ord a, Fractional a) => a -> a
- optimal_6p4o8x :: (Ord a, Fractional a) => a -> a
- optimal_6p4o16x :: (Ord a, Fractional a) => a -> a
- optimal_6p4o32x :: (Ord a, Fractional a) => a -> a
- optimal_6p5o2x :: (Ord a, Fractional a) => a -> a
- optimal_6p5o4x :: (Ord a, Fractional a) => a -> a
- optimal_6p5o8x :: (Ord a, Fractional a) => a -> a
- optimal_6p5o16x :: (Ord a, Fractional a) => a -> a
- optimal_6p5o32x :: (Ord a, Fractional a) => a -> a

# Documentation

`mkcoef`

takes the continuous impluse response function (one of the
functions below, `f`

) and number of points in the interpolation, `p`

, time
shifts it by `x`

, samples it, and creates an array with the interpolation
coeficients that can be used as a FIR filter.

bspline_1p0o :: (Ord a, Fractional a) => a -> aSource

bspline_2p1o :: (Ord a, Fractional a) => a -> aSource

bspline_4p3o :: (Ord a, Fractional a) => a -> aSource

bspline_6p5o :: (Ord a, Fractional a) => a -> aSource

lagrange_4p3o :: (Ord a, Fractional a) => a -> aSource

lagrange_6p5o :: (Ord a, Fractional a) => a -> aSource

hermite_4p3o :: (Ord a, Fractional a) => a -> aSource

hermite_6p3o :: (Ord a, Fractional a) => a -> aSource

hermite_6p5o :: (Ord a, Fractional a) => a -> aSource

sndosc_4p5o :: (Ord a, Fractional a) => a -> aSource

sndosc_6p5o :: (Ord a, Fractional a) => a -> aSource

watte_4p2o :: (Ord a, Fractional a) => a -> aSource

parabolic2x_4p2o :: (Ord a, Fractional a) => a -> aSource

optimal_2p3o2x :: (Ord a, Fractional a) => a -> aSource

optimal_2p3o4x :: (Ord a, Fractional a) => a -> aSource

optimal_2p3o8x :: (Ord a, Fractional a) => a -> aSource

optimal_2p3o16x :: (Ord a, Fractional a) => a -> aSource

optimal_2p3o32x :: (Ord a, Fractional a) => a -> aSource

optimal_4p2o2x :: (Ord a, Fractional a) => a -> aSource

optimal_4p2o4x :: (Ord a, Fractional a) => a -> aSource

optimal_4p2o8x :: (Ord a, Fractional a) => a -> aSource

optimal_4p2o16x :: (Ord a, Fractional a) => a -> aSource

optimal_4p2o32x :: (Ord a, Fractional a) => a -> aSource

optimal_4p3o2x :: (Ord a, Fractional a) => a -> aSource

optimal_4p3o4x :: (Ord a, Fractional a) => a -> aSource

optimal_4p3o8x :: (Ord a, Fractional a) => a -> aSource

optimal_4p3o16x :: (Ord a, Fractional a) => a -> aSource

optimal_4p3o32x :: (Ord a, Fractional a) => a -> aSource

optimal_4p4o2x :: (Ord a, Fractional a) => a -> aSource

optimal_4p4o4x :: (Ord a, Fractional a) => a -> aSource

optimal_4p4o8x :: (Ord a, Fractional a) => a -> aSource

optimal_4p4o16x :: (Ord a, Fractional a) => a -> aSource

optimal_4p4o32x :: (Ord a, Fractional a) => a -> aSource

optimal_6p4o2x :: (Ord a, Fractional a) => a -> aSource

optimal_6p4o4x :: (Ord a, Fractional a) => a -> aSource

optimal_6p4o8x :: (Ord a, Fractional a) => a -> aSource

optimal_6p4o16x :: (Ord a, Fractional a) => a -> aSource

optimal_6p4o32x :: (Ord a, Fractional a) => a -> aSource

optimal_6p5o2x :: (Ord a, Fractional a) => a -> aSource

optimal_6p5o4x :: (Ord a, Fractional a) => a -> aSource

optimal_6p5o8x :: (Ord a, Fractional a) => a -> aSource

optimal_6p5o16x :: (Ord a, Fractional a) => a -> aSource

optimal_6p5o32x :: (Ord a, Fractional a) => a -> aSource