From a92c6fb9f20ae26335b2ea3bd4539dd6e4aec256 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 27 Jun 2021 16:45:35 +0200 Subject: Add a python/lua example configuration --- configs/scripting-example.cfg | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 configs/scripting-example.cfg (limited to 'configs/scripting-example.cfg') diff --git a/configs/scripting-example.cfg b/configs/scripting-example.cfg new file mode 100644 index 0000000..fb9d6ca --- /dev/null +++ b/configs/scripting-example.cfg @@ -0,0 +1,22 @@ +; Turn on debugging to see what is coming in +[backend osc] +detect = on + +[python py1] +; This will load the pyexample.py script into this instance +module = pyexample + +[lua lua1] +; This will load the print.lua script into this instance +script = print.lua +; This will send all mapped channels to the `printchannel` function in there +default-handler = printchannel + +[osc in] +; Listen on port 8000 and send answers on port 9000 +bind = 0.0.0.0 8000 +dest = learn@9000 + +[map] +in./1/fader1 > py1.pyexample.channel1 +py1.out1 > lua1.lua-input -- cgit v1.2.3