diff options
Diffstat (limited to 'chuck/OSCGraphics.ck')
-rw-r--r-- | chuck/OSCGraphics.ck | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chuck/OSCGraphics.ck b/chuck/OSCGraphics.ck index 49a8003..4ca6be5 100644 --- a/chuck/OSCGraphics.ck +++ b/chuck/OSCGraphics.ck @@ -9,14 +9,20 @@ public class OSCGraphics { } fun static string - record(string file) + record(string file, string codec) { - osc_send.startMsg("/recorder/start", "s"); + osc_send.startMsg("/recorder/start", "ss"); file => osc_send.addString; + codec => osc_send.addString; return file; } fun static string + record(string file) + { + return record(file, ""); + } + fun static string record() { osc_send.startMsg("/recorder/stop", ""); |