synthesizer-core-0.8.4: Audio signal processing coded in Haskell: Low level part
Safe HaskellSafe-Inferred
LanguageHaskell2010

Synthesizer.Interpolation

Synopsis

Documentation

data T t y Source #

interpolation as needed for resampling

Constructors

Cons 

Fields

data Margin Source #

Instances

Instances details
Arbitrary Margin Source # 
Instance details

Defined in Synthesizer.Interpolation

Show Margin Source # 
Instance details

Defined in Synthesizer.Interpolation

Eq Margin Source # 
Instance details

Defined in Synthesizer.Interpolation

Methods

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

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

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

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

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 #

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).