aboutsummaryrefslogtreecommitdiff
path: root/examples/dispatchertest.pd_luax
blob: 8707d6287e22af034b983e857035204c14a38692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
return function (self, sel, atoms)
  self.inlets = 3
  function self:in_1_float(f)  pd.post("float: "  .. f) end
  function self:in_2_symbol(s) pd.post("symbol: " .. s) end
  function self:in_3_foo(atoms)
    pd.post("foo(")
    for i,v in ipairs(atoms) do
      pd.post("  " .. i .. " = " .. v)
    end
    pd.post(")")
  end
  return true
end