-
... speakerRadius = 0.19, dbFactor = 0, panAzAmt = 1| var mics, sourcePos, panAz, virtMic; mics = ({ |i| Polar( speakerRadius, (i - 0.5).linlin( 0, numChans, 0, 2pi, \none ) ).asPoint } ! numChans ); sourcePos = Polar( distance * speakerRadius ...
-
... of num of inputs! var env = \env.kr(Env.newClear(128).algaAsArray); Out.ar(\out.ir(0), AlgaIEnvGen.ar(env, (LFSaw.ar(1).range(0, 1) * \envTimesSum.kr(1)), updateEnv: \updateEnv.tr(0))) }).add; s.sync; s.scope; ~enva = Env([0, 1], 1); a = Sy ...
-
/* FitzHugh-Nagumo model of firing nerve cells: e.g. 8 nerve cells are connected in a ring fashion, and each one plays its spikes into the next cell. Audio input and pink noise can also influence into the cells. // to load from outside NTMI ...
-
... 1, incidence: not used ] // when force == 0, NOTE OFF // note: bufnum must be first arg !! // sampSpr: 0 narrow ----- 100 wide // 3 channel mapping [ low, med, high ] : -90, 0, 90 respectively // eLamp, eMamp,eHamp are amp scalers for the ...
-
... ate = 1, freq = 100, noiseLevel = 0.125, blipLevel = 1| var out, env; URandSeed.ir( 12345 ); // always the same noise out = ( Blip.ar( freq, 100, blipLevel * 0.125) + PinkNoise.ar( noiseLevel )) * LFPulse.kr(10 * rate); UMixOut.ar(0, out, 0 ...
-
... s set */ Udef( \lfNoise, { |freq = 440, amp = 0.1, type = 0| var sig; URandSeed.ir(); sig = [ LFDNoise0.ar( freq, amp ), LFDNoise1.ar( freq, amp ), LFDNoise3.ar( freq, amp ), LFDClipNoise.ar( freq, amp ), ]; sig = SelectX.ar( type, sig ); U ...
-
... ate = 1, freq = 100, noiseLevel = 0.125, blipLevel = 1| var out, env; URandSeed.ir( 12345 ); // always the same noise out = ( Blip.ar( freq, 100, blipLevel * 0.125) + PinkNoise.ar( noiseLevel )) * LFPulse.kr(10 * rate); UMixOut.ar(0, out, 0 ...
-
... s set */ Udef( \lfNoise, { |freq = 440, amp = 0.1, type = 0| var sig; URandSeed.ir(); sig = [ LFDNoise0.ar( freq, amp ), LFDNoise1.ar( freq, amp ), LFDNoise3.ar( freq, amp ), LFDClipNoise.ar( freq, amp ), ]; sig = SelectX.ar( type, sig ); U ...
-
... = \trigger.tr; #lo, hi = \range.kr([0.0,1.0]); time = \time.kr(0.0); URandSeed.ir(); output = TRand.kr( lo, hi, trigger ); output = output.varlag( time ); UMapOut.kr( output ); }) .mappedArgs_([ \range ]) .setSpec( \trigger, TriggerSpec() ...
-
... = \trigger.tr; #lo, hi = \range.kr([0.0,1.0]); time = \time.kr(0.0); URandSeed.ir(); output = TRand.kr( lo, hi, trigger ); output = output.varlag( time ); UMapOut.kr( output ); }) .mappedArgs_([ \range ]) .setSpec( \trigger, TriggerSpec() ...