aboutsummaryrefslogtreecommitdiff
path: root/src/hello.pd_lua
blob: 7024855467afb1bf9f40e8746ecdd7123d192ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
pd.post("Hello, universe!")

local Hello = pd.Class:new():register("hello")

function Hello:initialize(name, atoms)
  pd.post("Hello, world!")
  return true
end

function Hello:finalize()
  pd.post("Bye bye, world!")
end