-
... samp=2| var down; in = in.round(0.5 ** bits); 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)); }, \ampFin , \filter -> { |in, limDrive=1, ampL ...
-
... getBuffers { |action| var dur = (options.numBuffers * options.blockSize / this.sampleRate * 5); var newbuffers = Array(32); var resp = OSCresponder(nil, 'bufscan', { |time, resp, msg| var bufnum, frames, chans, srate; #bufnum, frames, chan ...
-
... fer.read(server, "sounds/ixiquarks/EventRecorder.aif", eventsTimeList[i]*server.sampleRate, (eventsTimeList[i+1]-eventsTimeList[i])*server.sampleRate ); server.sync(cond); filepath = "sounds/ixiquarks/EventRecorder/Event_"++(i+1)++".aif"; f ...
-
... le.numChannels), { //"%: %Ch, %Hz".format(path.basename, file.numChannels, file.sampleRate).postln; //debug startFrame= startFrame?0; dict.syn.release(0.01); forkIfNeeded{ var buffer, osc; buffer= Buffer.cueSoundFile(dict.server, path, star ...
-
... CodeSpec(), \serverAction, CodeSpec(), \blockSize, ListSpec( [ 1, 64, 128 ] ), \sampleRate, ListSpec( [ 44100, 48000, 88200, 96000 ] ), \wfsSoundFilesLocation, StringSpec().default_( "/WFSSoundFiles" ); ); WFSLib.ifATK { specs[ \previewMode ...
-
... var spacing, freqs, amps, z, toRemove; z = buf.clump(2).flop; spacing = buffer.sampleRate / (size ); freqs = []; amps = []; // get all the magnitudes from the buffer (size /2 ).do({ |index| freqs = freqs.add(index * ( 1 + spacing)); amps = ...
-
... // fix this ! maybe not needed this.jamBufs.do { |jam, i| jam.numFrames_(server.sampleRate * jamDur).alloc; loaded.add(("JamBuf_" ++ jam.bufnum).postln); } } *loadJams { "please use clearJams!".postln; this.clearJams } *fileBufNums { ^this. ...
-
... CPs = 12, knum = 12, amp = 0.1| var sig; URandSeed.ir(); freq[1] = freq[1].min( SampleRate.ir / knum ); sig = Gendy1.ar( ampdist, durdist, adparam, ddparam, freq[0], freq[1], ampscale, durscale, initCPs, knum, amp ); UMixOut.ar( 0, sig, 0, ...
-
... CPs = 12, knum = 12, amp = 0.1| var sig; URandSeed.ir(); freq[1] = freq[1].min( SampleRate.ir / knum ); sig = Gendy1.ar( ampdist, durdist, adparam, ddparam, freq[0], freq[1], ampscale, durscale, initCPs, knum, amp ); UMixOut.ar( 0, sig, 0, ...
-
... c= { Pen.fillColor= Color.white; numBins.do{|i| var freq; if(i%3==0, { freq= (s.sampleRate/bufferSize*i).asInteger; Pen.stringAtPoint(freq.asString, Point(i/numBins*width-8, 10)); }); }; fftArray.drop(1).do{|y, x| Pen.addRect(Rect(x/numBins ...