diff --git a/dep/soundplaneclient b/dep/soundplaneclient index 435c4d5..7db57dc 160000 --- a/dep/soundplaneclient +++ b/dep/soundplaneclient @@ -1 +1 @@ -Subproject commit 435c4d517cceca87c8f1401a6d7f380b14da7ff1 +Subproject commit 7db57dc376eacb3a3697ba422151d1db6894d5ff diff --git a/mod/controller_zone.lua b/mod/controller_zone.lua new file mode 100644 index 0000000..c3990f7 --- /dev/null +++ b/mod/controller_zone.lua @@ -0,0 +1,17 @@ +function init() + spn.handlers.control = function(...) print('ctl', ...) end + x = spn.client.zone.new({ + name = 'foo', + type = 'xy', + bounds = {0, 0, 3, 3}, + ctrl1 = 12, + ctrl2 = 13 + }) + spn.client.start() + spn.client.set_zones({x}) + spn.client.set_property('data_rate', 10) +end + +function cleanup() + spn.client.stop() +end \ No newline at end of file