-
... .5); { var buf1 = Buffer.alloc(s,4e5); // Control Variables var melody = Duty.ar(1,0,(Drand([36,48],inf)+Dxrand(scale.degrees,inf)).midicps); var mainEnv = EnvGen.ar(Env.linen(0.0001,tL,10),doneAction:2); var src1Env = DemandEnvG ...
-
... * LFNoise1.kr([4,4], 0.01, 0.5) ) * 0.1 ! 2 }; ) //____ ( ~out = { var index = Duty.kr(0.16, 0, Dbufrd(q.b[\z], Dseries(0, 1, inf))); RLPF.ar( LFTri.ar( DegreeToKey.kr(q.b[\x], index, 12, 1, 60).midicps ), [1000, 9000] ).sum * 0.1 ! 2 }; ) ...
-
... be used need a looping offset makeBlockCount = { Main.versionAtLeast(3, 9).if { Duty.kr(ControlDur.ir, 0, Dseq((0..blockFactor-1), inf)) }{ // correct init bug for older SC version Duty.kr(ControlDur.ir, 0, Dseq((0..blockFactor-1), inf) - 1 ...
-
... restricted frequency band Discussion: This is technically similar to Demand or Duty in that it calls demand-rate UGens further up the graph to process the values, eventually calling UnpackFFT. These two ends of the process must in most cas ...
-
... ! major_hit_times.size].lace(major_hit_times.size * 2); major_hit_impulses = Duty.ar( Dseq(major_hit_deltas, 1), K2A.ar(t_trig), Dseq(major_hit_impulse_levels, 1) ); major_hit_amp = Gate.ar(major_hit_impulses, major_hit_impulses ...
-
El Cubito de Chuito by Roy Fernando Guzmán, 3d Sound using Liminal Spatialization System. by royguzrod (Roy F Guzmán) Code
This code is using Duty UGens in order to produce a SynthDefs to spatialize sound in 3d with out creating Classes. // El Cubito de Chuito/ Chuito's Cube for 3D Sound. Roy F Guzmán // Instantiate as many SynthDefs as there are sound sou ...
-
... quite crazy after a while play{ var src1, src2, src3, buf1, buf2; var seq = Duty.ar(Dseq([0.25, 0.5], inf), 0, Dseq([40,64,65,66,59,62,69].midicps, inf)); buf1=LocalBuf(1e5,2).clear; buf2=LocalBuf(1e5,2).clear; src1=BufRd.ar(2,buf1,P ...
-
... 0, 1, inf), next.value, 0 ], MouseX.kr(1, 1115, 1), pseudorandomness ); Pan2.ar(Duty.ar(SampleDur.ir, 0, d), LFNoise1.kr(1)) } ! 5; a.sum * 0.1; }.play ); ⧉ ✔ /////////////////////////////////////////// // tests // reset test. ( { var a, tr ...
-
... ] ) > 0; (flag == 2).if { // take zeroXs with minimum distance 2 sampleToggle = Duty.ar(SampleDur.ir, sig, Dseq([1, 0], inf)); sig = sig * sampleToggle }; sig }; // workaround due to a Integrator init bug zeroXCount = Integrator.ar( Select. ...
-
... channel> (1 – 16). Also sets the pin to PWM mode if not already // /outputs/pwm/duty/<channel> // floating-point argument sets the PWM duty cycle (0 – 100 %) for the specified output <channel> (1 – 16). Also sets the pin to PWM mode if not ...