-
... playbuf=PlayBuf.ar(1,target, loop:1); Out.ar(out, Breakcore.ar(bufnum, playbuf, Impulse.kr(4),5512,0)*Line.kr(1,0,10,doneAction:2) ) }).play(s,[\bufnum,b.bufnum,\target,~breaks[0].bufnum]); ) ( SynthDef("help-Breakcore",{ arg out=0, bufnum; ...
-
... s Inherited instance methods Examples ( { SinOsc.ar( RunningMax.ar(Dust.ar(20), Impulse.ar(0.4)) * 500 + 200, 0, 0.2 ) }.play; ) // follow a sine lfo, reset rate controlled by mouse x ( { SinOsc.ar( RunningMax.kr(SinOsc.kr(0.2), Impulse.kr( ...
-
... s Inherited instance methods Examples ( { SinOsc.ar( RunningMin.ar(Dust.ar(20), Impulse.ar(0.4)) * 500 + 200, 0, 0.2 ) }.play; ) // follow a sine lfo, reset rate controlled by mouse x ( { SinOsc.ar( RunningMin.kr(SinOsc.kr(0.2), Impulse.kr( ...
-
... Examples SynthDef("help-Stepper", { |out = 0| Out.ar(out, SinOsc.ar( Stepper.kr(Impulse.kr(10), 0, 4, 16, 1) * 100, 0, 0.05 ) ) }).play; SynthDef("help-Stepper", { |out = 0| Out.ar(out, SinOsc.ar( Stepper.kr(Impulse.kr(10), 0, 4, 16, -3) * ...
-
... rigRate = s.sampleRate / s.options.blockSize; x = { TZeroXBufRd.ar( b, z, trig: Impulse.ar(MouseX.kr(10, ~maxTrigRate)), zeroX: Dseq([2, 3], inf), rate: 0.2 ) * 0.1 }.play ) s.scope x.release // In this example waveforms are slightly crossi ...
-
... Object Extension Metronome Source: Metro.sc Description Outputs a single sample impulse according to bpm and numBeats. Class Methods Metro. kr ( bpm , numBeats , mul: 1 , add: 0 ) Arguments: bpm Beats per minute. numBeats Number of beats be ...
-
... s methods Instance Methods Inherited instance methods Examples Plot { Demand.ar(Impulse.ar(1000), 0, DNoiseRing(change: 0.1, numBits: 32)) * (2**32).reciprocal }.plot(1) ⧉ ✔ Plain 32bit value scaled to 0..1 and out of the speaker {Demand.ar ...
-
... 2,1.0.rand2,rrand(0.1,1.0)]}).flatten)); //set weights {Pan2.ar(GravityGrid2.ar(Impulse.kr(1),MouseX.kr(0.1,1,'exponential'),LFNoise0.kr(1,0.8),LFNoise0.kr(1,0.8), b.bufnum),0.0)}.play ( var n; n=rrand(1,20); //random number of masses b.set ...
-
... ed between several series: { var x = Dseq([0, 1, 2, 3, 4, 5], inf); { Demand.ar(Impulse.ar(1/rrand(0.001, 0.0015)), 0, x) } ! 3 }.plot; // using a Dunique, each series iterates through the same values { var x = Dunique(Dseq([0, 1, 2, 3, 4, ...
-
... freq=[1501,1502]; var sig=SinOsc.ar(freq,0,SinOsc.ar([1,1.1],0,0.1)); var trig=Impulse.ar(10); var amp=Amplitude.ar(sig); trig.set(\ampl,amp[0]); trig.set(\ampr,amp[1]); trig.set(\amp,amp); trig.set(\freq,freq); Out.ar(0,sig) }).add; s.syn ...