aboutsummaryrefslogtreecommitdiff
path: root/examples/complex.pd_lua
blob: a3a3602a3479db35b0aa9a871457f206ea2a3f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require("complex")

local C = pd.Class:new():register("complex")

function C:initialize(sel, atoms)
  for k,v in pairs(complex) do
    pd.post("complex." .. tostring(k) .. " = " .. tostring(v))
  end
  self.inlets = 0
  self.outlets = 0
  return true
end