hsc3-0.16: Haskell SuperCollider

Safe HaskellSafe
LanguageHaskell98

Sound.SC3.UGen.Graph.Reconstruct

Description

A disassembler for UGen graphs.

Synopsis

Documentation

reconstruct_graph_str :: String -> Graph -> String Source #

Generate a reconstruction of a Graph.

import Sound.SC3
let {k = control KR "bus" 0
    ;o = sinOsc AR 440 0 + whiteNoise 'a' AR
    ;u = out k (pan2 (o * 0.1) 0 1)
    ;m = mrg [u,out 1 (impulse AR 1 0 * 0.1)]}
in putStrLn (reconstruct_graph_str "anon" (ugen_to_graph m))

reconstruct_k_rnd :: Node -> (Rate, String, Sample) Source #

Discards index.