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

27 行
349B

  1. 1::second => dur loopTime;
  2. fun void plip()
  3. {
  4. SinOsc s => dac;
  5. 0.05::second => dur plipTime;
  6. 2000 => s.freq;
  7. while(true){
  8. .1 => s.gain;
  9. plipTime => now;
  10. 0 => s.gain;
  11. loopTime - plipTime => now;
  12. }
  13. }
  14. spork ~plip();
  15. while(true){
  16. 1::second => now;
  17. loopTime - 0.1::second => loopTime;
  18. }