hsc3-dot-0.5: Help/hsc3-dot.help.lhs
> import Sound.SC3
> import Sound.SC3.UGen.Dot
Simple a-rate only graph.
> draw (out 0 (sinOsc AR 440 0 * 0.1))
With k-rate subgraph.
> let f = lfSaw KR 1 0 * 220 + 440
> in draw (out 0 (sinOsc AR f 0 * 0.1))
With i-rate subgraph
> do { l <- rand 200 400
> ; m <- rand l 600
> ; a <- rand 500 900
> ; let f = lfSaw KR 1 0 * m + a
> in draw (out 0 (sinOsc AR f 0 * 0.1)) }
With control input
> let f = Control KR "freq" 440
> in draw (out 0 (sinOsc AR f 0 * 0.1))
With multiple channel expansion.
> let f = mce2 440 220
> in draw (out 0 (sinOsc AR f 0 * 0.1))
With multiple root graph.
> let f = mce2 440 220
> in draw (mrg [out 0 (sinOsc AR f 0 * 0.1), out 0 (sinOsc KR 1 0)])