-
... e_bus, [base,c]) }.play, q = { |n=0,s=0,p=0,q| var i = In.kr(state_bus,2), c = Latch.kr(i[1],1); // server grid quantizer n = n + l; q = if(q.isNil, {n}, {q+l}); // if q is defined than start on specified by q grid place (PulseCount.k ...
-
... er -> { |in, bits=16, downsamp=2| var krushStep = 0.5 ** (bits + 1); var down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)) .round(krushStep); }, 1, ...
-
... sc .kr(0.02, 0, 10, freq), formfreq, bwfreq ); x = EnvGen .kr( Env .adsr, gate, Latch .kr(gate,gate)) * x; Out .ar(0, x); }).send(s); x = Synth ( "sik-goo" ); //set the action: MIDIIn .noteOn = { arg src, chan, num, vel; x.set( \freq , num. ...
-
... v.linen(0.1, dur-0.2, 0.1, 1), doneAction:2); sig = In.ar(inbus, 1); downsamp = Latch.ar(sig, Impulse.ar(samplerateenv*0.5)); bitRedux = downsamp.round(0.5 ** bitsizeenv); Out.ar(outbus, bitRedux); }).load(s); SynthDef(\xiibitcrusher_2x2, { ...
-
... t; zin = in; zout = zin.round(2.pow(bit).reciprocal); zout = downsample<22050 * Latch.ar( zout, Impulse.ar( downsample * LFDNoise1.kr( downsmod.cubed * 75 ! 2, 0.25, 0.75 ).abs ) ) + (downsample >= 22050 * zout) } , '1ixiDist' -> { |in, pre ...
-
... ] // current button touch values g.values[ \slider ] // current slider values (latched in the Manta controller) g.values[ \velocity ] // last velocity values for each pad (latched after noteOn) g.values[ \note ] // whether pad is currently ...
-
... LPF.ar(Mix.ar(p),freq * ffreqInterval.midiratio,rq) * EnvGen.kr(Env.adsr, gate, Latch.kr(gate,gate)) },#[ nil, [[-48,48,\linear,1]], [[-48,48,\linear,1]], [[-48,48,\linear,1]] ]); p = Patch.new([ 'minimoog', 'loose' ],[ nil,nil,nil,nil,nil, ...
-
... { |out, coarse = 0, bandq = 10| var signal = In.ar(out, numChannels); signal = Latch.ar(signal, Impulse.ar(SampleRate.ir / coarse)); ReplaceOut.ar(out, signal) }, [\ir, \kr, \kr]).add; SynthDef("dirt_hpf" ++ numChannels, { |out, hcutoff = ...
-
... envsens, detune, pb, plfofreq, mw, plfoClass; var sig, plfo, amp, fcurve; amp = Latch .kr(sens.value(1, gate, vsens), gate); plfo = plfoClass.kr(plfofreq, mul:mw, add:1); freq = Lag .kr(freq, freqlag) * pb * plfo; // pb = pitch bend factor ...
-
... envsens, detune, pb, plfofreq, mw, plfoClass; var sig, plfo, amp, fcurve; amp = Latch .kr(sens.value(1, gate, vsens), gate); plfo = plfoClass.kr(plfofreq, mul:mw, add:1); freq = Lag .kr(freq, freqlag) * pb * plfo; // pb = pitch bend factor ...