--!movie
--!encoding=utf-8
global $
----------------------------------------
-- RECEIVE OSC MESSAGES ON PORT 5500, PRINT THEM TO THE MESSAGE WINDOW
----------------------------------------
on startMovie
-- libs
import("lib/console").show()
import("lib/osc")
put $.osc.startListening(5500, true, #slotReceive)
end
----------------------------------------
-- @callback
----------------------------------------
on slotReceive (address, args)
put address, args
end