Browse Source

Making progress

tags/kitchen
Pete Shadbolt 3 years ago
parent
commit
296bcca622
1 changed files with 12 additions and 3 deletions
  1. +12
    -3
      audio.ck

+ 12
- 3
audio.ck View File

@@ -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; OscRecv orec;
orec.event("webcam/update, i") @=> OscEvent update; orec.event("webcam/update, i") @=> OscEvent update;
orec.listen(); orec.listen();


update => now;
while (true) {
update => now;
update.getInt() => int i;
<<< i >>>;
}

Loading…
Cancel
Save