synthdef2json

  1. drag a *.scsyndef file
  2. see also: synthdef2image
{ "version": "only 2", "defs": [ { "name": "name of the definition", "consts": [ "constant value", "..." ], "params": { "names" : [ "parameter name" , "..." ], "indices": [ "index of values" , "..." ], "values" : [ "initial parameter", "..." ] }, "specs": [ [ "name of the UGen", "rate (0=scalar, 1=control, 2=audio)", "special index", [ "index of UGen", "index of UGen output", "..." ], [ "rate", "..." ] ] ], "variants": { "name of the variant": [ "initial value", "..." ] } } ] }