Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SSampler Quark

    ... 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 ...

  2. Cellular Automaton by coreyker (coreyker) Code

    ... 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; ...

  3. Segmentation Quark

    ... 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. ...

  4. PlonkSetup Doc

    ... 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 ...

  5. PVFile Quark

    ... 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. ...

  6. 9 Doc

    ... //////////////////////////// // ... エンベロープの時間をシンセが作られるたびに毎回違ったものにスケーリングする ( r = Routine({ loop({ Synth("timeScale", [\ts, 0.01.rrand(0.3)]); 0.5.wait; }) }); ) r.play ⧉ ✔ ///////////////////////////////////////////////////////////////////// ...

  7. RedMixer Quark

    ... 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 ...

  8. DiskIn Doc

    ... 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 ...

  9. TempoClock Doc

    ... 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 ...

  10. Confetti3aX, John Conway's Game of Life; fast, Xenakis-inspired version by henklass (henklass) Code

    ... 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, { ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow