A brief note to announce version 0.8 of hosc, hsc3 and relatives.
hsc3 has one notable interface change.
Sound.SC3 no longer exports the monadic unit generator constructors, instead
use Sound.SC3.Monadic.
Sound.SC3.ID exports the explicit identifier unit generator constructors.
There is also a new function hashUGen, which is used to make UGen an instance
of ID.
> import Sound.SC3.ID
> main =
> let { ff = [220,223.071,229.873,230.272,234.667,234.974]
> ; o f = sinOsc AR f 0
> ; a i = i * sinOsc KR (rand i 0.01 0.1) (rand i (-pi) pi)
> ; p i = pan2 i (sinOsc KR (rand i 0.05 0.1) 0) 0.1 }
> in audition (out 0 (sum (map (p . a . o) ff)))
Bests,
Rohan
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hosc
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsc3
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art