synthesizer-core-0.8.2.1: 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

data Margin Source #

Instances
Eq Margin Source # 
Instance details

Defined in Synthesizer.Interpolation

Methods

(==) :: Margin -> Margin -> Bool #

(/=) :: Margin -> Margin -> Bool #

Show Margin Source # 
Instance details

Defined in Synthesizer.Interpolation

Arbitrary Margin Source # 
Instance details

Defined in Synthesizer.Interpolation

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 # 
Instance details

Defined in Synthesizer.Interpolation

Methods

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

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

Applicative (PrefixReader y) Source # 
Instance details

Defined in Synthesizer.Interpolation

Methods

pure :: a -> PrefixReader y a #

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

liftA2 :: (a -> b -> c) -> PrefixReader y a -> PrefixReader y b -> PrefixReader y c #

(*>) :: 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).