I am trying to implement OSC controls to Glut. Should this question go to the scripting forum?
I successfully added OSC control to the mix, room, and damp functions, although I am having difficulty adding OSC to speed, size, density, etc. Any advice…or where to go for additional info? I reviewed the studies…thanks!
local sep = ": "
params:add_taper("reverb_mix", "*"..sep.."mix", 0, 100, 50, 0, "%")
params:set_action("reverb_mix", function(value) engine.reverb_mix(value / 100) end)
params:set_action("reverb_mix", function(x) engine.reverb_mix(x) end)
local osc_in = function(path, args, from)
if path == "/revmix" then
params:set_raw("reverb_mix",args[1]/2000)
else
print(path)
tab.print(args)
end
end