Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Cell sig y = T (sig y)
- makeCell :: Transform sig y => Int -> sig y -> Cell sig y
- interpolateCell :: Read sig y => T a y -> T b y -> (a, b) -> Cell sig y -> y
- data Prototype sig a v
- makePrototype :: (C a, Read sig v) => Margin -> Margin -> a -> sig v -> Prototype sig a v
- sampledToneCell :: (C a, Transform sig v) => Prototype sig a v -> a -> T a -> ((a, a), Cell sig v)
- oscillatorCells :: (C t, Transform sig y) => Margin -> Margin -> t -> sig y -> (t, T t) -> (T t, T t) -> T ((t, t), Cell sig y)
- checkNonNeg :: (Ord a, C a, Show a) => a -> a
- oscillatorCoords :: C t => Int -> t -> (t, T t) -> (T t, T t) -> T (Coords t)
- limitRelativeShapes :: C t => Margin -> Margin -> Int -> (t, T t) -> (t, T t)
- limitMinRelativeValues :: (C t, Ord t) => t -> (t, T t) -> (t, T t)
Documentation
interpolateCell :: Read sig y => T a y -> T b y -> (a, b) -> Cell sig y -> y Source #
cells are organised in a transposed style, when compared with Plain.ToneModulation
sampledToneCell :: (C a, Transform sig v) => Prototype sig a v -> a -> T a -> ((a, a), Cell sig v) Source #
oscillatorCells :: (C t, Transform sig y) => Margin -> Margin -> t -> sig y -> (t, T t) -> (T t, T t) -> T ((t, t), Cell sig y) Source #
Deprecated: This function recomputes the shape and phase signals. Better use Causal.ToneModulation.oscillatorCells
This function should not be used,
since it requires recomputation of shapes
and freqs
lists.