瀏覽代碼

Making progress

tags/kitchen
Pete Shadbolt 3 年之前
父節點
當前提交
296bcca622
共有 1 個文件被更改,包括 12 次插入3 次删除
  1. +12
    -3
      audio.ck

+ 12
- 3
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 >>>;
}

Loading…
取消
儲存