Always-on computer music
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627
  1. SinOsc o1 => Gain m => dac;
  2. SinOsc o2 => m;
  3. SinOsc o3 => m;
  4. 0.1 => m.gain;
  5. 500 => o1.freq;
  6. 800 => o2.freq;
  7. 900 => o3.freq;
  8. OscRecv orec;
  9. 5005 => orec.port;
  10. orec.listen();
  11. orec.event("block/update") @=> OscEvent update;
  12. while (true) {
  13. update => now;
  14. <<< "got data" >>>;
  15. //update.getInt() => int i;
  16. //update.getInt() => int h;
  17. //update.getInt() => int s;
  18. //update.getInt() => int v;
  19. //<<< i >>>;
  20. //<<< h >>>;
  21. //<<< s >>>;
  22. //<<< v >>>;
  23. }