commit 902fb3359955418fec52fef2eab9d40db4f0c212 Author: Mike Lynch Date: Sat Mar 26 15:51:50 2022 +1100 Initial commit diff --git a/TouchOSC.quark b/TouchOSC.quark new file mode 100644 index 0000000..8e80171 --- /dev/null +++ b/TouchOSC.quark @@ -0,0 +1,9 @@ +( + name: "TouchOSC", + summary: "Utilities for binding functions to OSC triggers", + version: "1.0.0", + schelp: "TouchOSC", + dependencies: [], + license: "GPL", + copyright: "Mike Lynch 2022" +) \ No newline at end of file diff --git a/classes/TouchOSC.sc b/classes/TouchOSC.sc new file mode 100644 index 0000000..1daedfa --- /dev/null +++ b/classes/TouchOSC.sc @@ -0,0 +1,19 @@ +// Class for binding to a TouchOSC interface +// +// I don't feel well enough to actually code this today so here are some notes. +// - bind a /url to a function +// - provide builtins for linear and exponential controls +// - provide builtins for X-Y and modal/radio buttons +// +// + + +TouchOSC { + var <>ip, <>port; + + *new { | ip, port | + ^super.new.init(ip, port) + } + +} +