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

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Interpolation

Synopsis

Documentation

data T t y Source #

interpolation as needed for resampling

Constructors

Cons 

Fields

cons :: Int -> Int -> (t -> T y -> y) -> T t y Source #

number :: T t y -> Int Source #

offset :: T t y -> Int Source #

data PrefixReader y a Source #

Instances

Functor (PrefixReader y) Source # 

Methods

fmap :: (a -> b) -> PrefixReader y a -> PrefixReader y b #

(<$) :: a -> PrefixReader y b -> PrefixReader y a #

Applicative (PrefixReader y) Source # 

Methods

pure :: a -> PrefixReader y a #

(<*>) :: PrefixReader y (a -> b) -> PrefixReader y a -> PrefixReader y b #

(*>) :: PrefixReader y a -> PrefixReader y b -> PrefixReader y b #

(<*) :: PrefixReader y a -> PrefixReader y b -> PrefixReader y a #

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

constant :: T t y Source #

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