-
... kr(1, 0, 10, doneAction: 2) * SinOsc.ar(1000) * EnvGen.ar(Env.perc(0.01, 0.25), Impulse.kr(2, [0, 0.5]), 0.1) }.play; }; "; ~writeText.(~newAppResDir +/+ "startup.scd", ~startupCode); (~newAppResDir +/+ "startup.scd").openOS; ) // *** time ...
-
... r, out; // quadrature oscillators at nyquist/2 nyqDiv2 = SampleRate.ir/4; cos = Impulse.ar(nyqDiv2); cos = Delay2.ar(cos, -1, cos); sin = Delay1.ar(cos); inputDbl = in * 2; (in.rank == 0).if({ // cosine and sine branches using brickwall for ...
-
... tro-gnome ( var nome,layout; nome = InstrGateSpawner({ arg freq,amp; Decay2.ar( Impulse.ar(0.0), 0.01,0.11, SinOsc.ar( freq, 0, amp ) ) * EnvGen.kr(Env.perc,doneAction: 2) },[ Pseq([ 750, 500, 300, 500, 750, 500, 400, 500, 750, 500, 400, 50 ...
-
... to create a rhythmic solo. The values in the pattern specify the amplitudes of impulses fed to the Decay2 generator. ( SynthDef ( \help_SPE3_Mridangam , { arg t_amp; var out; out = Resonz .ar( WhiteNoise .ar(70) * Decay2 .kr( t_amp, 0.002, ...
-
... ling * normRate, -pi, pi, elReset); elev = elev.fold(-pi/2, pi/2); SendReply.kr(Impulse.kr(24) * rotating, '/audition_az', azim); // for XformDisplay SendReply.kr(Impulse.kr(24) * tumbling, '/audition_el', elev); foa = FoaPanB.ar(src, azim, ...
-
... number from -1 to 1, used here for a random pan source = Pan2 .ar( Decay2 .ar( Impulse .ar( Rand (0.3, 1), 0, 0.125), 0.3, 1, SinOsc .ar( SinOsc .kr(0.2, 0, 110, freq))), Rand (-1.0, 1.0)); Out .ar(outBus, source * direct); Out .ar(effectB ...
-
... i - posLo; bufDur = BufDur .kr(bufNum); bufDurSection = bufDur * posDif; trig = Impulse .kr(trigRate); pos = posLo * bufDur + ( Phasor .ar(0, BufRateScale .kr(bufNum) * posRate / SampleRate .ir, posLo * bufDur, posHi * bufDur) + ( TRand .kr ...
-
... // Karplus-Strong style plucked string algorithm (see also Pluck ) ( { var in = Impulse .ar( 0 )! 2 ; // stereo input (although in this case both channels are the same) var freq = 200 ; var fbNode = FbNode ( 2 , 0.1 ); // two channel feedba ...
-
... / depending on mode if( mode === \d ) { point = \point.kr([0,0]); SendReply.kr( Impulse.kr( \sendPointRate.kr(sendPointRate) ), '/point', point ); } { point = \point.ir([0,0]); SendReply.kr( Impulse.kr( 0 ), '/point', point ); }; point = po ...
-
... Hi - posLo; bufDur = BufDur.kr(bufNum); bufDurSection = bufDur * posDif; trig = Impulse.kr(trigRate); pos = posLo * bufDur + (Phasor.ar(0, BufRateScale.kr(bufNum) * posRate / SampleRate.ir, posLo * bufDur, posHi * bufDur) + (TRand.kr(-0.5 * ...