Safe Haskell | None |
---|
This module provides a type class that automatically selects a filter for a given parameter type. We choose the dependency this way because there may be different ways to specify the filter parameters but there is only one implementation of the filter itself.
- class (a ~ Input parameter b, b ~ Output parameter a) => C parameter a b where
- processCtrlRate :: (C parameter a b, C parameter, FirstClass r, IsSized r, IsSized (Stored r), IsFloating r, Storable r, IntegerConstant r, MakeValueTuple r, ValueTuple r ~ Value r, CmpRet r, CmpResult r ~ Bool) => T p r -> (T p r -> T p parameter) -> T p a b
Documentation
class (a ~ Input parameter b, b ~ Output parameter a) => C parameter a b whereSource
A filter parameter type uniquely selects a filter function. However it does not uniquely determine the input and output type, since the same filter can run on mono and stereo signals.
processCtrlRate :: (C parameter a b, C parameter, FirstClass r, IsSized r, IsSized (Stored r), IsFloating r, Storable r, IntegerConstant r, MakeValueTuple r, ValueTuple r ~ Value r, CmpRet r, CmpResult r ~ Bool) => T p r -> (T p r -> T p parameter) -> T p a bSource