synthesizer-core-0.2: Audio signal processing coded in Haskell: Low level partSource codeContentsIndex
Synthesizer.Interpolation
Contents
Different kinds of interpolation
Hard-wired interpolations
Synopsis
data T t y = Cons {
margin :: !Margin
func :: !(t -> T y -> y)
}
data Margin = Margin {
marginNumber :: !Int
marginOffset :: !Int
}
cons :: Int -> Int -> (t -> T y -> y) -> T t y
number :: T t y -> Int
offset :: T t y -> Int
newtype PrefixReader y a = PrefixReader (Writer (Sum Int) (StateT (T y) Maybe a))
getNode :: PrefixReader y y
fromPrefixReader :: String -> Int -> PrefixReader y (t -> y) -> T t y
constant :: T t y
Documentation
data T t y Source
interpolation as needed for resampling
Constructors
Cons
margin :: !Margin
func :: !(t -> T y -> y)
data Margin Source
Constructors
Margin
marginNumber :: !Intinterpolation requires a total number of number
marginOffset :: !Intinterpolation requires offset values before the current
show/hide 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))
show/hide Instances
getNode :: PrefixReader y ySource
fromPrefixReader :: String -> Int -> PrefixReader y (t -> y) -> T t ySource
constant :: T t ySource
Consider the signal to be piecewise constant.
Produced by Haddock version 2.4.2