aboutsummaryrefslogtreecommitdiff
path: root/examples/nop.pd_lua
blob: ab9924a4714cd0f0074175ff747c2ad942c1b440 (plain)
1
2
3
4
5
6
7
8
9
10
11
local Nop = pd.Class:new():register("nop")

function Nop:initialize()
  self.inlets = 1
  self.outlets = 1
  return true
end

function Nop:in_1(s, m)
  self:outlet(1, s, m)
end