Safe Haskell | None |
---|---|
Language | Haskell98 |
The fixities of the operators ("~+", "~*", "~<", etc) are the same as those of their non-'~' equivalents (+, *, < etc)
(So you can e.g. multiply then add without parens!)
- (~+) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal
- (~-) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal
- (~*) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal
- (~**) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal
- (~/) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal
- (~>) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal
- (~>=) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal
- (~<) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal
- (~<=) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal
- binaryOp :: (ToSig s0 a, ToSig s1 a) => BinaryOp -> s0 -> s1 -> SDBody' a Signal
- biOp :: (ToSig s0 a, ToSig s1 a) => BinaryOp -> s0 -> s1 -> SDBody' a Signal
- unaryOp :: ToSig sig a => UnaryOp -> sig -> SDBody' a Signal
- uOp :: ToSig sig a => UnaryOp -> sig -> SDBody' a Signal
- midiCPS :: ToSig i a => i -> SDBody' a Signal
- cpsMIDI :: ToSig i a => i -> SDBody' a Signal
- abs' :: ToSig i a => i -> SDBody' a Signal
- neg :: ToSig i a => i -> SDBody' a Signal
- tanh' :: ToSig i a => i -> SDBody' a Signal
- clip2 :: (ToSig s0 a, ToSig s1 a) => s0 -> s1 -> SDBody' a Signal
- xor :: (ToSig s0 a, ToSig s1 a) => s0 -> s1 -> SDBody' a Signal
Documentation
(~**) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal infixr 8 Source
Exponentiation of signals
(~>) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal infix 4 Source
Test signals for left greater than right
(~>=) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal infix 4 Source
Test signals for left greater than or equal to right
(~<) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal infix 4 Source
Test signals for left less than right
(~<=) :: (ToSig i0 a, ToSig i1 a) => i0 -> i1 -> SDBody' a Signal infix 4 Source
Test signals for left less than or equal to right
binaryOp :: (ToSig s0 a, ToSig s1 a) => BinaryOp -> s0 -> s1 -> SDBody' a Signal Source
Build your own!
The calculation rate of the result is the larger (more frequent) of the 2 input signals (So you shouldn't need to use "?" very much!)
biOp :: (ToSig s0 a, ToSig s1 a) => BinaryOp -> s0 -> s1 -> SDBody' a Signal Source
Alias of binaryOp
. Shorter, fer livecodin
midiCPS :: ToSig i a => i -> SDBody' a Signal Source
Convert from a midi note number (0-127, each representing a musical half step) to a frequency in hz (cycles per second)
abs' :: ToSig i a => i -> SDBody' a Signal Source
The prime is to not conflict with "abs" in the prelude. May just use "uOp Abs" in the future
tanh' :: ToSig i a => i -> SDBody' a Signal Source
The prime, like abs'
, is to not conflict with a prelude definition.
Remember you can always just use:
uOp TanH