From 902fb3359955418fec52fef2eab9d40db4f0c212 Mon Sep 17 00:00:00 2001 From: Mike Lynch Date: Sat, 26 Mar 2022 15:51:50 +1100 Subject: [PATCH] Initial commit --- TouchOSC.quark | 9 +++++++++ classes/TouchOSC.sc | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 TouchOSC.quark create mode 100644 classes/TouchOSC.sc 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) + } + +} +