-
... 0, 1, time); var imp = Impulse.ar(mod.linexp(0, 1, 1, 16) * [2, 3]); var fmod = SinOsc.ar(mod.linexp(0, 1, [700, 730] * rrand(0.4, 1.4), 0.01)); fmod = fmod * Decay2.ar(imp, 0.02, 0.08, 2pi, 0.3pi); SinOsc.ar(300 + (mod * 145), fmod) * 0.1 ...
-
... force, k, d); freq = outforce * 400 + 500; // modulate frequency with the force SinOsc.ar(freq, 0, 0.2) }.play; ) // several springs in series. // trigger gate is mouse button // spring constant is mouse x // mouse y controls damping ( { va ...
-
... lp-multichannel FFT" , { arg out=0; // bufnum is an array var in, chain; in = [ SinOsc .ar(200, 0, 0.2), WhiteNoise .ar(0.2)]; chain = FFT ( LocalBuf ([2048, 2048]), in); // each FFT has a different buffer // now we can multichannel expand ...
-
... ------------- // the simplest version is just on-off Ndef( \testSynth, { |on=0| SinOsc.ar( 440, 0, on * 0.5 ) } ); Ndef( \testSynth ).play; k.elementAt( \pad, \on, 1 ).action = { arg el; Ndef( \testSynth ).set( \on, 1 ) }; k.elementAt( \pad ...
-
... |out= 0, mix= -1, depth= 0.8, freq= 0.3| var dry, wet; dry= In.ar(out, 2); wet= SinOsc.ar(freq, dry*(1+(depth*(8pi-1))))*0.25; ReplaceOut.ar(out, XFade2.ar(dry, wet, mix)); }, [0, lag, lag, lag], metadata: ( specs: ( \out: \audiobus.asSpec, ...
-
... ance: MouseY.kr(0, 1), numBits: 32))).linlin(0, 2**32, 40, 40+48).midicps.poll; SinOsc.ar(freq)!2 }.play
-
... は通常0から24まで // carPartial :: modPartial => car/mod ratio var mod; var car; mod = SinOsc .ar( freq * modPartial, 0, freq * index * LFNoise1 .kr(5.reciprocal).abs ); car = SinOsc .ar( (freq * carPartial) + mod, 0, mul ); Out .ar( bus, car * En ...
-
... - leslie)); in = if(numChannels > 2) { in.clump(2).sum } { in.dup }; distance = SinOsc.ar(Lag.kr(lrate,10), 0).range(0, lsize); throb = SinOsc.ar(Lag.kr(lrate*0.8, 20), 0).range(0,lsize*1.3); bal1 = SinOsc.kr(Lag.kr(lrate*0.8, 4), pi/2).ran ...
-
... ivisor, modulation index = 10 SynthDef (\fm, {arg m, c; Out.ar(0, Pan2.ar(SinOsc.ar(20*c+(SinOsc.ar(20*m, 0, 200*m, 0))), 0) ) }).add; ) ( r=Routine({ var number, divisor; //the list of prime numbers l=Array.newClear(ind ...
-
... ntrol .names( \array ).kr( Array .rand(numsines, 400.0, 1000.0)); sines = Mix ( SinOsc .ar(control, 0, numsines.reciprocal)) ; Out .ar(out, sines ! 2); }).add ) b = Synth ( \help_Control_Sines ); b.setn( \array , Array .rand(20, 200, 1600)) ...