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 map ugen_concise_pp [s, m, o]
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 binop CS "*" ar (ugen "SinOsc" ar [440,0] 1) 0.1 == sinOsc ar 440 0 * 0.1