From 2cfe624ff7e2a121f9c3a93ae4daa5bc0c021cf5 Mon Sep 17 00:00:00 2001 From: Mike Lynch Date: Sun, 27 Mar 2022 11:04:56 +1100 Subject: [PATCH] Renaming etc --- classes/TouchOSC.sc | 106 +++++++++++++++++++++++++++++++++---- classes/TouchOSCControl.sc | 45 ++++++++++++++++ 2 files changed, 142 insertions(+), 9 deletions(-) create mode 100644 classes/TouchOSCControl.sc diff --git a/classes/TouchOSC.sc b/classes/TouchOSC.sc index 1daedfa..9b3f899 100644 --- a/classes/TouchOSC.sc +++ b/classes/TouchOSC.sc @@ -1,19 +1,107 @@ // 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; + var value +// apply.value(value) +// } +// } +// +// +// OSCdef.new( +// 'osc' ++ name, +// { | msg | +// settings.at(name).ctrlset(msg); +// settings.at(name).apply() }, +// url +// ); +// +// +// +// } \ No newline at end of file