hsc3-0.19.1: Haskell SuperCollider
Safe HaskellNone
LanguageHaskell2010

Sound.SC3.Server.Graphdef.Text

Contents

Synopsis

Documentation

print_string :: ASCII -> String Source #

  • PRINT

Print string. Strings must not have internal whitespace or semi-colons.

enc_text :: (String -> String) -> ENCODE_F String Source #

ENCODE_F for plain text output.

print_graphdef :: Bool -> Graphdef -> String Source #

encode_graphdef_f of enc_text with optional semi-colon delimited comments.

dir = "/home/rohan/sw/rsc3-disassembler/scsyndef/"
pp nm = read_graphdef_file (dir ++ nm) >>= putStrLn . print_graphdef True
pp "simple.scsyndef"
pp "with-ctl.scsyndef"
pp "mce.scsyndef"
pp "mrg.scsyndef"

LIST INPUT

list_read_f :: (t -> u) -> State [t] u Source #

Read the next value from a list.

text_get_f :: GET_F (StateT [String] Identity) Source #

GET_F for text representation of Graphdef.

read_graphdef :: String -> Graphdef Source #

Read text representation of Graphdef, as written by print_graphdef.

read_graphdef "1396926310 0 1 simple 2 0.0 440.0 0 0 2 SinOsc 2 2 1 0 -1 1 -1 0 2 Out 2 2 0 0 -1 0 0 0"