Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Plain notation for SuperCollider UGen graphs.
s = ugen "SinOsc" AR [440,0] 1 m = binop CI "*" AR s 0.1 o = ugen "Out" AR [0,m] 0
Documentation
uop :: Case_Rule -> String -> Rate -> UGen -> UGen Source #
Construct unary operator, the name can textual or symbolic.
uop CI "NEG" AR 1
binop :: Case_Rule -> String -> Rate -> UGen -> UGen -> UGen Source #
Construct binary operator, the name can textual or symbolic.
binop CI "*" AR 1 2 == binop CI "MUL" AR 1 2 binop CS "*" AR (ugen "SinOsc" AR [440,0] 1) 0.1 == sinOsc AR 440 0 * 0.1