updates i don't know
parent
17a84de2b3
commit
628b736716
|
@ -28,3 +28,6 @@ e = Pbind(
|
||||||
).play(quant:1); // returns an EventStream
|
).play(quant:1); // returns an EventStream
|
||||||
TempoClock.default.tempo = 1200/60;
|
TempoClock.default.tempo = 1200/60;
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
e.stop;
|
|
@ -1,14 +1,17 @@
|
||||||
(
|
(
|
||||||
x = {
|
x = {
|
||||||
arg gate=1;
|
arg gate=1;
|
||||||
var sum, snd0, snd1, snd2, env, gen, faderosc;
|
var sum, snd0, snd1, snd2, env, gen, faderosc, numosc;
|
||||||
|
|
||||||
|
numosc = 10;
|
||||||
|
|
||||||
|
|
||||||
env = Env.adsr(20, 0, 1, 30, 1, \sin);
|
env = Env.adsr(20, 0, 1, 30, 1, \sin);
|
||||||
gen = EnvGen.kr(env, gate, doneAction:2);
|
gen = EnvGen.kr(env, gate, doneAction:2);
|
||||||
|
|
||||||
faderosc = SinOsc.ar(1/60).range(-1,2).min(1).max(0);
|
faderosc = SinOsc.ar(1/60).range(-1,2).min(1).max(0);
|
||||||
|
|
||||||
snd0 = Array.fill(10, {
|
snd0 = Array.fill(numosc, {
|
||||||
var freq, local;
|
var freq, local;
|
||||||
freq = [100,150,300,400] * 0.5;
|
freq = [100,150,300,400] * 0.5;
|
||||||
local = Saw.ar(rrand(freq, freq * 1.03 ) * LFNoise1.kr(0.3).range(1, 1.03), -10.dbamp);
|
local = Saw.ar(rrand(freq, freq * 1.03 ) * LFNoise1.kr(0.3).range(1, 1.03), -10.dbamp);
|
||||||
|
@ -19,7 +22,7 @@ x = {
|
||||||
snd0 = LPF.ar(snd0, LFNoise1.ar(0.06).exprange(300,10000));
|
snd0 = LPF.ar(snd0, LFNoise1.ar(0.06).exprange(300,10000));
|
||||||
snd0 = CombL.ar(snd0, 1, LFNoise1.ar(0.05).range([0.5,0.65],[0.53,0.68]), 15, -1.dbamp) + snd0;
|
snd0 = CombL.ar(snd0, 1, LFNoise1.ar(0.05).range([0.5,0.65],[0.53,0.68]), 15, -1.dbamp) + snd0;
|
||||||
|
|
||||||
snd1 = Array.fill(10, {
|
snd1 = Array.fill(numosc, {
|
||||||
var freq, local;
|
var freq, local;
|
||||||
freq = [100,150,300,400] * 0.8;
|
freq = [100,150,300,400] * 0.8;
|
||||||
local = Saw.ar(rrand(freq, freq * 1.03 ) * LFNoise1.kr(0.3).range(1, 1.03), -10.dbamp);
|
local = Saw.ar(rrand(freq, freq * 1.03 ) * LFNoise1.kr(0.3).range(1, 1.03), -10.dbamp);
|
||||||
|
@ -40,3 +43,4 @@ x = {
|
||||||
)
|
)
|
||||||
|
|
||||||
x.set(\gate,0); // fadeout
|
x.set(\gate,0); // fadeout
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue