-
... .5)); v.gridOn_(true); v.gridResolution_(10); x = { |lo = 0, hi = 1| var phasor = Phasor.ar(0, BufRateScale.kr(b), lo * BufFrames.kr(b), hi *BufFrames.kr(b)); Out.kr(q.index,A2K.kr(phasor)); BufRd.ar(b.numChannels, b, phasor) }; ...
-
... numFrames = 441, rate = 1, sustain = 1, amp = 0.1, pan, interpolation = 2 | var phasor = Phasor.ar(0, BufRateScale.ir(buf) * rate * sign(numFrames), 0, abs(numFrames)) + startFrame; var env = EnvGen.ar(Env([amp, amp, 0], [sustain, 0]), done ...
-
... ames s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); // indexing with a phasor { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufSamples .kr(0))) }.play; // indexing by hand { BufRd .ar(1, 0, K2A .ar( MouseX .kr(0, BufSampl ...
-
... ray = [ SinOsc .ar, Saw .ar, Pulse .ar, GrayNoise .ar];\ var out = RotateL .ar( Phasor .ar(0, speed / 44100, 0.0, inArray.size), inArray);\ out * level;\ \.play( Server .internal);\ Server .internal.scope;\ )\ \ // Also included in wslib ar ...
-
... or, with the same scaling b.replace({ LFNoise1.kr(5) }) //Now replace it with a Phasor. Again, it will interpolate from the noise generator to the //new Phasor over 3 seconds, which is a's interpTime. Same scaling is applied b.replace({ LFS ...
-
... Saw.ar(freq, 1).range(0, wavePeriod) + ((formantRatio.max(1) - 1) * grainDur);//phasor offset for formant shift up - in seconds; positive here since phasor is subtracted from the delayWritePhase }, { //slightly lighter version, without form ...
-
... f = 0, start = 0, length = 441, playRate = 1, sustain = 1, amp = 0.2, pan | var phasor = Phasor.ar(0, BufRateScale.ir(buf) * playRate, 0, length) + start; var env = EnvGen.ar(Env([amp, amp, 0], [sustain, 0]), doneAction: 2); var snd = BufRd ...
-
... = 1;\ var inArray = [ SinOsc .ar, Saw .ar, Pulse .ar, GrayNoise .ar];\ var n = Phasor .ar(0, speed / 44100, 0.0, inArray.size);\ RotateN .ar(n, inArray) * level;\ \.play( Server .internal);\ Server .internal.scope;\ )\ \ // Also included i ...
-
Glitch Routine - Basis for 'Lost Among the Atoms' SuperCollider EP by makary-kleinschmidt (rumush) Code
... xrand([0, 2e5*0.25, 2e5*0.4, 2e5*0.75], inf)); var src1 = BufRd.ar(2, buf1, Phasor.ar(trig[0], 1, 0, 4e5, pos))*0.5; var src2 = PinkNoise.ar(Decay.ar(trig[0]!2, 0.1, 250)).fold(-0.5, 0.5); var src3 = BufRd.ar(2, buf2, Phasor.ar( ...
-
... to work copy the code below into the project file ".main" to be evaluated if (~phasorSync == nil, { "creating phasorSync generator".inform; ~phasorSync = Synth.before(s,\globalPhasor); }); */ // spread == 0, narrow, spread == 1 wide ~funct ...