This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

rewrite Python code to Lua
#3
Wow thank you admin!
I never thought about that.
I executed the installation script as you wrote and now I can successfully send request to Abelton.  Smile

However I am having difficulties with receiving messages from Abelton.
This is what I am trying on resident script with 0 interval but it seems like I'm not receiving anything.
Can you tell if I'm doing something wrong?  Cry

Code:
local losc = require'losc.init'
local plugin = require'losc.plugins.udp-socket'

local udp = plugin.new {
  recvAddr = '127.0.0.1',
  recvPort = 11001,
  ignore_late = true, -- ignore late bundles
}
local osc = losc.new {plugin = udp}

osc:add_handler('*', function(data)
  log(data)
end)
Reply


Messages In This Thread
rewrite Python code to Lua - by Hadeel - 30.04.2023, 17:19
RE: rewrite Python code to Lua - by admin - 02.05.2023, 07:30
RE: rewrite Python code to Lua - by Hadeel - 03.05.2023, 11:00
RE: rewrite Python code to Lua - by admin - 03.05.2023, 11:17
RE: rewrite Python code to Lua - by Hadeel - 03.05.2023, 12:41

Forum Jump: