瀏覽代碼

Mucking about with sound

tags/kitchen
Pete Shadbolt 3 年之前
父節點
當前提交
71ce321255
共有 1 個檔案被更改,包括 7 行新增2 行删除
  1. +7
    -2
      audio.scd

+ 7
- 2
audio.scd 查看文件

@@ -9,8 +9,13 @@ s.waitForBoot {
OSCFunc.trace(true);

// Create the synth definition and load it
module = SynthDef.new("module", { arg hue, saturation, value;
Out.ar(0, SinOsc.ar(MouseX.kr(220, 1000)));
module = SynthDef.new("module", {
arg hue, saturation, value;
var oscillator, noise, filter;
oscillator = SinOsc.ar(MouseX.kr(220, 1000));
noise = WhiteNoise.ar(0.5);
filter = BPF.ar(noise, MouseX.kr(220, 1000), 0.3);
Out.ar(0, filter);
});
module.load(s);


Loading…
取消
儲存