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

Safe HaskellNone

Synthesizer.Interpolation

Contents

Synopsis

Documentation

data T t y Source

interpolation as needed for resampling

Constructors

Cons 

Fields

margin :: !Margin
 
func :: !(t -> T y -> y)
 

data Margin Source

Constructors

Margin 

Fields

marginNumber :: !Int

interpolation requires a total number of number

marginOffset :: !Int

interpolation requires offset values before the current

Instances

cons :: Int -> Int -> (t -> T y -> y) -> T t ySource

number :: T t y -> IntSource

offset :: T t y -> IntSource

Different kinds of interpolation

Hard-wired interpolations

newtype PrefixReader y a Source

Constructors

PrefixReader (Writer (Sum Int) (StateT (T y) Maybe a)) 

fromPrefixReader :: String -> Int -> PrefixReader y (t -> y) -> T t ySource

constant :: T t ySource

Consider the signal to be piecewise constant, where the leading value is used for filling the interval [0,1).