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

Safe HaskellNone

Synthesizer.State.Interpolation

Contents

Synopsis

Interpolation with various padding methods

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

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

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

Only for finite input signals.

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

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

Helper methods for interpolation of multiple nodes

skip :: C t => T t y -> (t, T y) -> (t, T y)Source

single :: C t => T t y -> t -> T y -> ySource

Helper functions

delayPad :: y -> Int -> T y -> T ySource