synthesizer-core-0.4.0.4: Audio signal processing coded in Haskell: Low level part

Synthesizer.Generic.Interpolation

Synopsis

Documentation

data T t y Source

interpolation as needed for resampling

func :: Read sig y => T t y -> t -> sig y -> ySource

offset :: T t y -> IntSource

number :: T t y -> IntSource

zeroPad :: (C t, Write sig y) => (T t y -> t -> sig y -> a) -> y -> T t y -> t -> sig y -> aSource

constantPad :: (C t, Write sig y) => (T t y -> t -> sig y -> a) -> T t y -> t -> sig y -> aSource

cyclicPad :: (C t, Transform sig y) => (T t y -> t -> sig y -> a) -> T t y -> t -> sig y -> aSource

Only for finite input signals.

extrapolationPad :: (C t, Transform sig y) => (T t y -> t -> sig y -> a) -> T t y -> t -> sig y -> aSource

The extrapolation may miss some of the first and some of the last points

single :: (C t, Transform sig y) => T t y -> t -> sig y -> ySource

multiRelative :: (C t, Transform sig t y) => T t y -> t -> sig y -> sig t -> sig ySource

All values of frequency control must be non-negative.

multiRelativeZeroPad :: (C t, Transform sig t y, Write sig y) => y -> T t y -> t -> sig t -> sig y -> sig ySource

multiRelativeConstantPad :: (C t, Transform sig t y, Write sig y) => T t y -> t -> sig t -> sig y -> sig ySource

multiRelativeCyclicPad :: (C t, Transform sig t y) => T t y -> t -> sig t -> sig y -> sig ySource

multiRelativeExtrapolationPad :: (C t, Transform sig t y) => T t y -> t -> sig t -> sig y -> sig ySource

The extrapolation may miss some of the first and some of the last points

multiRelativeZeroPadConstant :: (C t, C y, Transform sig t y, Write sig y) => t -> sig t -> sig y -> sig ySource

multiRelativeZeroPadLinear :: (C t, C t y, Transform sig t y, Write sig y) => t -> sig t -> sig y -> sig ySource

multiRelativeZeroPadCubic :: (C t, C t y, Transform sig t y, Write sig y) => t -> sig t -> sig y -> sig ySource