Faulty Machine - SuperCollider
- Ah, l'ho capito, l'ho già capito... ho capito che lei è una macchina difettosa ed è per questo che la fabbrica l'ha messa qui. Vuole che le dica come mai lo so? Lo so perché io ci lavoro in quella fabbrica, le faccio io le macchine.
(
Ndef(\happyalone, { arg amp=0.5;
var source, local, lfo;
lfo = LFNoise1.kr(0.32).abs*50+[70,0.01];
#source=SinOsc.ar(lfo,amp);
source=Decay.ar(LFSaw.ar(lfo), 0.1) * WhiteNoise.ar(0.2);
local = LocalIn.ar(2) + source;
local = LPF.ar(local, 400 + LFNoise1.kr(0.1,300,100)) * 1.5;
Splay.ar(local, LFNoise1.kr(0.21).range(0,1)) * amp;
}).play
)
Splay
*ar(inArray, spread,level, center,
levelComp)
*arFill(n, function, spread,level,
center, levelComp)
Splay spreads an array of channels across
the stereo field.
Optional spread and center controls, and
levelComp(ensation) (equal power).
LocalIn define and read from buses local to a synth
Inherits from: Object : AbstractFunction : UGen : MultiOutUGen : AbstractIn
*ar(numChannels) - define and read from an audio bus local to the enclosing synth.
*kr(numChannels) - define and read from a control bus local to the enclosing synth.
numChannels - the number of channels (i.e. adjacent buses) to read in. The default is 1. You cannot modulate this number by assigning it to an argument in a SynthDef.
LocalIn defines buses that are local to the enclosing synth. These are like the global buses, but are more convenient if you want to implement a self contained effect that uses a feedback processing loop.
There can only be one audio rate and one control rate LocalIn per SynthDef.
The audio can be written to the bus using LocalOut.
LPF 2nd order Butterworth lowpass filter
Inherits from: Object : AbstractFunction : UGen : Filter
LPF.ar(in, freq, mul, add)
LPF.kr(in, freq, mul, add)
A second order low pass filter.
in - input signal to be processed
freq - cutoff frequency.
abs absolute value
a.abs
abs(a)
SimpleNumber
abs(-5);
-5.abs;
(
Ndef(\happyalone, { arg amp=0.5;
var source, local, lfo;
lfo = LFNoise1.kr(0.32).abs*50+[70,0.01];
#source=SinOsc.ar(lfo,amp);
source=Decay.ar(LFSaw.ar(lfo), 0.1) * WhiteNoise.ar(0.2);
local = LocalIn.ar(2) + source;
local = LPF.ar(local, 400 + LFNoise1.kr(0.1,300,100)) * 1.5;
Splay.ar(local, LFNoise1.kr(0.21).range(0,1)) * amp;
}).play
)
Splay
*ar(inArray, spread,level, center,
levelComp)
*arFill(n, function, spread,level,
center, levelComp)
Splay spreads an array of channels across
the stereo field.
Optional spread and center controls, and
levelComp(ensation) (equal power).
LocalIn define and read from buses local to a synth
Inherits from: Object : AbstractFunction : UGen : MultiOutUGen : AbstractIn
*ar(numChannels) - define and read from an audio bus local to the enclosing synth.
*kr(numChannels) - define and read from a control bus local to the enclosing synth.
numChannels - the number of channels (i.e. adjacent buses) to read in. The default is 1. You cannot modulate this number by assigning it to an argument in a SynthDef.
LocalIn defines buses that are local to the enclosing synth. These are like the global buses, but are more convenient if you want to implement a self contained effect that uses a feedback processing loop.
There can only be one audio rate and one control rate LocalIn per SynthDef.
The audio can be written to the bus using LocalOut.
LPF 2nd order Butterworth lowpass filter
Inherits from: Object : AbstractFunction : UGen : Filter
LPF.ar(in, freq, mul, add)
LPF.kr(in, freq, mul, add)
A second order low pass filter.
in - input signal to be processed
freq - cutoff frequency.
abs absolute value
a.abs
abs(a)
SimpleNumber
abs(-5);
-5.abs;