-
... analysis envelopes) leaks in as a uniform lead. *dispatchArgs {|args, refTime| Routine.run{ var onsets = SamplerQuery.voiceOnsetTimes(args.playSamples, refTime ? thisThread.seconds); args.playSamples.do{|thisSample, index| //thisSample are ...
-
... cellCreator.value(i+1, j+1, cells.size)]; }) }); } }; w.drawFunc = Routine{ loop{ var ncells = cells.size; clearFunc.(); // update cells cells.do{ |x| x.updateCell; b[x.pos[0]-1][x.pos[1]-1].value = 1; ...
-
... loadBuffer { //also load corresponding Buffer on the Server //if Server loaded Routine.run({ if(s.serverRunning, { buffer.free; //free previous, safe for Nil buffer=Buffer.read(s,filename); //(,action:{arg buf; sflength= buf.numFrames/buf. ...
-
... playback of all sounds. . sync Sync the server. Only possible inside a Task or Routine . . startServer Manually start the server. Called internally by startup . proxyspace a proxyspace to hold all NodeProxies for this setup Logging . log l ...
-
... buf ?? {server.bufferAllocator.alloc(1)}; this.saveForSC; cond = Condition.new; Routine.run({ server.sendMsgSync(cond, \b_allocRead, buffer, filepath); ("PV file loaded to buffer "++buffer).postln; loaded = true; }); }, { ("The " ++ server. ...
-
... //////////////////////////// // ... エンベロープの時間をシンセが作られるたびに毎回違ったものにスケーリングする ( r = Routine({ loop({ Synth("timeScale", [\ts, 0.01.rrand(0.3)]); 0.5.wait; }) }); ) r.play ⧉ ✔ ///////////////////////////////////////////////////////////////////// ...
-
... t; groupPassedIn= false; }, { server= argGroup.server; groupPassedIn= true; }); Routine.run{ if(groupPassedIn.not, { server.bootSync; group= Group.after(server.defaultGroup); server.sync; }, { group= argGroup; }); //--create channels if(cha ...
-
... uffer.cueSoundFile(s, p, 0, 1); f = { DiskIn.ar(1, b.bufnum) }; x = f.play; r = Routine({ loop({ d.wait; x.free; x = f.play; b.close(b.cueSoundFileMsg(p, 0)) }); }).play) r.stop; x.free; b.close; b.free; // you need to do all these to prope ...
-
... from within the same clock's scheduling thread. Scheduled functions and playing Routines (or Tasks) are running on the clock's thread, so both of these are valid. Setting beatsPerBar also updates the barline reference (baseBarBeat). Be care ...
-
... Pen.addRect(Rect(h*z, v*z, z, z)); Pen.fill; }); }); }; go=Routine({ //make random pattern for (1, maxWidth, {arg h; for (1, maxHeight, {arg v; newValues[h,v]=[0, 1].choose; if (newValues[h,v]==1, { ...