Browse Source

Move stuff around

tags/kitchen
Pete Shadbolt 3 years ago
parent
commit
cdd91cd7e1
5 changed files with 17 additions and 28 deletions
  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 View File

@@ -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 View File


dev.scd → stuff/dev.scd View File


osctest.py → stuff/osctest.py View File


+ 17
- 0
stuff/sine.scd View File

@@ -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");
};

Loading…
Cancel
Save