Clean mess

This commit is contained in:
2024-05-15 17:32:58 +02:00
parent e62c7661b9
commit 03fd9c85d6
2 changed files with 0 additions and 84 deletions

View File

@ -1,40 +0,0 @@
(
p = ProxySpace.push(s.boot, p);
"abcde".do { |k| p[k.asSymbol].ar };
m = ProxyMixer(p, 8);
m.parent.alwaysOnTop_(true); // show mixer in front of IDE
)
(
p = ProxySpace.push(s.waitForBoot({
~a = {
SinOsc.ar([199, 201, 199/1.75] * [1, 8, 2, 4].choose) * SinOsc.ar(
LFNoise2.kr(1 /4).range(1,8)
).range(0.01, 0.125);
};
~a.play;
}), p);
)
Boot()
(
~a = {
SinOsc.ar([200, 400] ! 2) * 0.125
};
)
~a.play;
(
~b.fadeTime = 4;
~b => [
i: "Panalog", pat: "0 2 3 4", octave: 6,
];
~b.play;
)
p.gui

View File

@ -1,44 +0,0 @@
Boot(
samplePath: "/Users/bubo/.config/livecoding/samples"
)
(
~test +=> [
sp: "casio", nb: [0, 2, 4].pseq(inf), amp: 1,
grain: {SinOsc.ar(1/4).range(1,20)},
pos: {LFNoise2.kr(1/8).range(0, 0.25)},
rate: Pwhite(1, 2, inf)
];
~test.play;
~test.fx(100, 0.5, {
arg in; MiVerb.ar(in, time: 0.5);
})
)
~test ++> [];
/*
* Granular Sampler
*/
(
z = SynthDef('grainSampler', {
arg out, buf;
var sound = GrainBuf.ar(
numChannels: buf.numChannels,
trigger: Impulse.kr(\grain.kr(4)),
dur: 1, sndbuf: buf,
rate: \rate.kr(4),
pos: \pos.kr(0.0),
interp: 2,
pan: \pan.kr(0.0),
envbufnum: \env.kr(-1),
);
sound = sound * Env.perc(
\attack.kr(0.1), \release.kr(0.5)
).kr(2);
sound = sound * \amp.kr(-6).dbamp;
OffsetOut.ar(out, sound);
}).add;
d.grainPlayer = z;
)