hsc3-0.19.1: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.SC3.UGen.Graph.Reconstruct

Description

A disassembler for UGen graphs.

Synopsis

Documentation

is_operator_name :: String -> Bool Source #

Any name that does not begin with a letter is considered an operator.

reconstruct_graph_str :: String -> U_Graph -> String Source #

Generate a reconstruction of a Graph.

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

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

Discards index.