From 296bcca62244a39289dbcd204d8b758a4aae3181 Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Sun, 2 May 2021 18:09:22 -0700 Subject: [PATCH] Making progress --- audio.ck | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/audio.ck b/audio.ck index 88d9951..d4d0d6d 100644 --- a/audio.ck +++ b/audio.ck @@ -1,8 +1,17 @@ -SinOsc o => Gain m => dac; +SinOsc o1 => Gain m => dac; +SinOsc o2 => m; +SinOsc o3 => m; -0.5 => m.gain; +0.1 => m.gain; +500 => o1.freq; +800 => o2.freq; +900 => o3.freq; OscRecv orec; orec.event("webcam/update, i") @=> OscEvent update; orec.listen(); -update => now; +while (true) { + update => now; + update.getInt() => int i; + <<< i >>>; +}