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

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Utility

Contents

Synopsis

Documentation

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

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

arithmetic

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

fmod :: C a => a -> a -> a Source #

fmodAlt :: C a => a -> a -> a Source #

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

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

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 Source #

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

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