Pārlūkot izejas kodu

Move stuff around

tags/kitchen
Pete Shadbolt pirms 3 gadiem
vecāks
revīzija
cdd91cd7e1
5 mainītis faili ar 17 papildinājumiem un 28 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu


dev.scd → stuff/dev.scd Parādīt failu


osctest.py → stuff/osctest.py Parādīt failu


+ 17
- 0
stuff/sine.scd Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt