-
... ckNumberAllocator(0, 1073741824) } *cueSoundfile {|filename, completionMessage, server| var cueID = readerIDAllocator.alloc; if (server.isNil) { server = Server.default }; server.sendMsg(\cmd, \NovaDiskIn, 0 /* open */, cueID, filename, com ...
-
AtsFile : File { var <path, server, le, <bufnum, filepath, numSamples; var <header, loaded, <data; // header data var magic, <sr, <frameSize, <winSize, <numPartials, <numFrames, <ampMax, <freqMax, <sndDur, <atsType; var offset, offset2, inc ...
-
... 256 - program.size)}, {0!(256 - program.size)})); } ^collection; } makeBuffer {|server, action| server = server ?? {Server.default}; ^Buffer.loadCollection(server, this.collection, 1, action) } asLocalBuf { ^LocalBuf.newFrom(this.collection ...
-
... (3, rate); } *categories { ^ #["UGens>Analysis"] } // Conveniences *allocBuf { |server, netsize, numdims, numinputchannels, init| var buf; buf = Buffer.alloc(server ? Server.default, netsize ** numdims, numinputchannels); if(init.notNil){ T ...
-
... .ar(DC.ar(1), sumWin) }, { MovingSum.ar(DC.ar(1), sumWin, sumWin) } ]; this.bootServer(Server.default); numTestSamps = Server.default.sampleRate / 2; // ramp up to sumWin and hold that value through numTestSamps testOutput = (1.0, 2 .. sumW ...
-
s.quit s.boot // fill a buffer with an impulse-train b = Buffer.alloc(Server.default, Server.default.sampleRate*2, 1); { RecordBuf.ar(Blip.ar(440, SampleRate.ir/440), b.bufnum) }.play // play back with double speed - heavy aliasing occurs w ...
-
... erent. // Watch the output to channel 0 to see the shape of the returned signal Server .default_(s = Server .internal.boot); b = Buffer .alloc(s, 1024, 1); c = Buffer .alloc(s, 1024, 1); ( { var chain1, chain2, chain, sig1, sig2, difference ...
-
... ied on initialisation - they can't be modulated. Examples // Simple example s = Server .local.boot; //Server.internal.boot; b = Buffer .alloc(s,2048,1); ( x = { var in, chain, powers, cutfreqs; in = LPF .ar( WhiteNoise .ar, MouseX .kr(10,10 ...
-
... UGens>Analysis"] } // a LANGUAGE-SIDE equivalent of the classification that the server-side ugen does. // returns pathInteger // (Don't use the "pathInt" arg, it's used for recursion.) *classify { |point, treedata, pathInt=1| var node = tre ...
-
... ew('audio', in, index).madd(mul, add); } } //(in*0.5pi) + (in*2pi*index) /* s = Server.internal.boot; s.scope(1); {AudioMSG.ar(SinOsc.ar(440, 0, 0.3), MouseX.kr(0, 2pi))}.play(s); s.quit; */