Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
uop :: Case_Rule -> String -> Rate -> Ugen -> Ugen Source #
Construct unary operator.
uop Ci "Neg" ar 1
binop :: Case_Rule -> String -> Rate -> Ugen -> Ugen -> Ugen Source #
Construct binary operator.
>>>
binop Ci "*" ar 1 2 == binop Ci "Mul" ar 1 2
True
binop Cs "*" ar (ugen "SinOsc" ar [440,0] 1) 0.1 == sinOsc ar 440 0 * 0.1
True