-
... gSmear(chain, 1); // -1023 to 1023, 0 to 2046, 2 to 2048 phasor = LFSaw.ar(rate/BufDur.kr(fftbufnum), phase, numSamples, numSamples + 2); phasor = phasor.round(2); // the evens are magnitude ScopeOut.ar( ((BufRd.ar(1, fftbufnum, phasor, 1) ...
-
... rrent number of samples in buffer. Source: InfoUGens.sc See also: BufChannels , BufDur , BufFrames , BufRateScale , BufSampleRate Description Returns the current number of allocated samples. A sample is not the same as a frame (compare with ...
-
... = 0.0, keepLoop = 0; var out, trigger; trigger = Impulse.ar( rate.abs * ( (1 / (BufDur.kr(bufnum) * (endPos - startPos) .abs.max(0.000000001))) ).min(20000) * loop.round(1) ); ^PlayBuf.ar( numChannels, bufnum, rate * (endPos - startPos).sig ...
-
more fun with patternproxies, feat. a hack to access internals of the EventStreamPlayer by alln4tural (alln4tural) Code
... = 0, rate=1, inter=2, posfrac = 0.5, dur = 1, amp = 0.9| var widthfrac = (dur/BufDur.ir(bufnum)) * rate; var sig = Splay.ar([ BufRd.ar(1, bufnum, Phasor.ar( 0, (BufRateScale.kr(bufnum) * rate), (posfrac * BufSampl ...
-
... ge(0, wavePeriod); }); grainPos = (phase / BufFrames.kr(bufnum)) - (freqPhase / BufDur.kr(bufnum)); //scaled to 0-1 for use in GrainBuf if(timeDispersion.isNil, { trigger = Impulse.ar(synthFreq); }, { trigger = Impulse.ar(synthFreq + (LFNoi ...
-
... = BufFrames.kr(bufnum2); bStart = bframes * start; bEnd = bframes * end; bdur = BufDur.kr(bufnum2); trigg = Impulse.kr(modResl); modStart = LFSaw.kr( bdur.reciprocal * modSpeed).range(bframes * start, bframes); modStart = Latch.kr( modStart ...
-
... ufRd.ar( numChannels: q.buf.numChannels, bufnum: buf, phase: PhasorTJ.ar(freq * BufDur.ir(buf).reciprocal, BufFrames.ir(buf), [\jitter.kr(0), 0], \jFreq.kr(1), jType, \pType.kr(0)), loop: 1, interpolation: 2 ) }) ) Ndef(\a).edit ⧉ ✔ helpfil ...
-
... bufAnalyzeOnsets'; var buffr = BufFrames.ir(buf); var phase = Line.ar(0, buffr, BufDur.ir(buf) / speedup, doneAction: 2); var sig = BufRd.ar(1, buf, phase, 0, 1); // var detect = PV_JensenAndersen.ar( var detect = Onsets.kr( FFT(LocalBuf(20 ...
-
... nds. Right after the recording ( trigPeriod gets delayed by the buffer duration BufDur , using the TDelay UGen) the two convolution UGens alternatingly update their kernels (using two triggers convTrigs ). At the frequency of the kernel upd ...
-
... g4 round scaleneg sqrdif sqrsum sumsqr thresh trunc wrap2 InfoUGens BufChannels BufDur BufFrames BufRateScale BufSampleRate NumRunningSynths SampleDur SampleRate Synth-Controlling-UGens see overview: Synth-Controlling-UGens Control DetectSi ...