«LFDNoise Modular version» by tiagmoraismorgado

on 27 Nov'16 10:09 in functionlfdnoisepseudoclass prototyping

a draft of a modular function for LFDNoise sctochastically selection. i shall be turning this into a pseudo ugen, using high level classes abstraction layer.

1
2
3
4
5
6
7
8
9
10
11
12
(
~lfd={
	var signal, myFrequency, frequencyMin=0.1, frequencyMax=30, myAmplitude, amplitudeMin=0.01, amplitudeMax=0.6, myPhase, phaseMin=0, phaseMax=1.5;
	myFrequency = Array.fill(2, {[rrand(frequencyMin, frequencyMax)]});
	myAmplitude = Array.fill(2, {[rrand(amplitudeMin, amplitudeMax)]});
	myPhase = Array.fill(2, {[rrand(phaseMin, phaseMax)]});
	signal = LeakDC.ar([LFDNoise1, LFDNoise0, LFDNoise3, LFDClipNoise].choose.ar(myFrequency, myPhase, myAmplitude));
	Out.ar(0, signal);
};
)

~lfd.scope
raw 512 chars (focus & ctrl+a+c to copy)
reception
comments