synthesizer-core-0.7.0.2: Audio signal processing coded in Haskell: Low level part

Safe HaskellNone

Synthesizer.Utility

Contents

Synopsis

Documentation

common :: Eq a => String -> a -> a -> a

If two values are equal, then return one of them, otherwise raise an error.

arithmetic

fwrap :: C a => (a, a) -> a -> a

fmod :: C a => a -> a -> a

fmodAlt :: C a => a -> a -> a

propFMod :: C a => a -> a -> Bool

affineComb :: C t y => t -> (y, y) -> y

This one should be more precise than affineCombAlt in floating computations whenever x1 is small and x0 is big.

affineCombAlt :: C t y => t -> (y, y) -> y

balanceLevel :: C y => y -> [y] -> [y]

randomRsBalanced :: (RandomGen g, Random y, C y) => g -> Int -> y -> y -> [y]