浏览代码

Move stuff around

tags/kitchen
Pete Shadbolt 3 年前
父节点
当前提交
cdd91cd7e1
共有 5 个文件被更改,包括 17 次插入28 次删除
  1. +0
    -28
      fm.scd
  2. +0
    -0
      stuff/curves.py
  3. +0
    -0
      stuff/dev.scd
  4. +0
    -0
      stuff/osctest.py
  5. +17
    -0
      stuff/sine.scd

+ 0
- 28
fm.scd 查看文件

@@ -1,28 +0,0 @@
s = Server.local;
s.waitForBoot {
var synth, module;

// Create the synth definition and load it
module = SynthDef.new("module", {
var mod, car, modPartial=2.401, carPartial=1, index=3, freq=440, mul=0.05;

mod = SinOsc.ar(
freq * modPartial,
0,
200
);

car = SinOsc.ar(
(freq * carPartial) + mod,
0,
1
);

Out.ar(0, Disintegrator.ar(car, MouseX.kr(0, 1)));
});

module.load(s);
s.sync;

synth = Synth.new("module");
};

curves.py → stuff/curves.py 查看文件


dev.scd → stuff/dev.scd 查看文件


osctest.py → stuff/osctest.py 查看文件


+ 17
- 0
stuff/sine.scd 查看文件

@@ -0,0 +1,17 @@
s = Server.local;
s.waitForBoot {
var synth, module;

// Create the synth definition and load it
module = SynthDef.new("module", {
var panner;
var sin = SinOsc.ar(440);
panner = LinPan2.ar(sin, MouseX.kr(-1, 1), 1);
Out.ar(0, panner);
});

module.load(s);
s.sync;

synth = Synth.new("module");
};

正在加载...
取消
保存