Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
A disasembler for UGen graphs.
- node_sort :: [Node] -> [Node]
- from_port_label :: Char -> FromPort -> String
- is_operator_name :: String -> Bool
- parenthesise_operator :: String -> String
- reconstruct_graph_str :: Graph -> String
- reconstruct_c_str :: Node -> String
- reconstruct_c_ugen :: Node -> UGen
- reconstruct_k_rnd :: Node -> (Rate, String, Sample)
- reconstruct_k_str :: Node -> String
- reconstruct_k_ugen :: Node -> UGen
- ugen_qname :: String -> Special -> (String, String)
- reconstruct_mce_str :: Node -> String
- reconstruct_u_str :: Node -> [String]
- reconstruct_mrg_str :: [Node] -> String
Documentation
from_port_label :: Char -> FromPort -> String Source
is_operator_name :: String -> Bool Source
reconstruct_graph_str :: Graph -> String Source
Generate a reconstruction of a Graph
.
import Sound.SC3.ID
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 (synth m))
reconstruct_c_str :: Node -> String Source
reconstruct_c_ugen :: Node -> UGen Source
reconstruct_k_str :: Node -> String Source
reconstruct_k_ugen :: Node -> UGen Source
reconstruct_mce_str :: Node -> String Source
reconstruct_u_str :: Node -> [String] Source
reconstruct_mrg_str :: [Node] -> String Source