Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Simple wrapper class for VSTPlugin by davidmorgan (david_morgan) Code

    ... rg inKey; key = inKey; ^this; } load {arg name; func = { Routine({ var inbus; SynthDef.new(key, { var in = \in.kr(0); var bypass = \bypass.kr(0); var sig = VSTPlugin.ar(input:In.ar(in, ...

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

  4. Spectrum and Spectrogram of a sound file by jcc (jcc) Code

    ... , 0, fftsize-1); spectrum = fft(real, imag, cosTable) // do FFT }; ~loadFFT=Routine({ // display 512 sound file samples from cursor // bug somewhere here, always requires two mouse clicks to work... // why?? sfselDisp.value ...

  5. Confetti 3a: Game of Life 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; {w.refresh}.defer; p=newVa ...

  6. pattern morphing by 0-2U (grirgz) Code

    ... at1 = pat1.asStream; spat2 = pat2.asStream; smpat = mpat.asStream; rout = Routine { block { arg break; loop { ev1 = spat1.next(Event.default); ev2 = spat2.next(Event.default); morph = smpat.next; if(ev1.isNi ...

  7. example fft sc->processing v2 by fredrik-olofsson (Fredrik Olofsson) Code

    ... amp, 0.3, \bus, busMd]); Synth(\avTrkLo, [\in, 0, \amp, 0.3, \bus, busLo]); Routine.run({ inf.do{ var fftArrayHi= busHi.getnSynchronous(buffersize2); var fftArrayMd= busMd.getnSynchronous(buffersize2); var fftArrayLo= bus ...

  8. neural sirens by clarkenciel (clarkenciel) Code

    ... ainLoop = { arg network, observations, steps=10, learningRate=0.1, action={}; Routine.new { steps do: { arg idx; var observation = observations.choose; var input = observation.first; var target = observation.last; var u ...

  9. The Collatz Scale by henklass (henklass) Code

    ... \pan, -1]); highestbeep=Synth(\beep, [\freq, 200, \cutoff, 200, \pan, 1]); Routine({ for (1, 100, { arg startnumber; var number, length=1, maximum; number=startnumber; maximum=startnumber; u[startnumber%12]=u[startnumber% ...

  10. cog wheels by redfrik (redFrik) Code

    ... olSpec(0, 2pi, 'lin', 0, 0); var penJoinPopup, postButton, automateButton, autoRoutine; win.view.layout_(VLayout( usr= UserView().fixedSize_(win.bounds.width, win.bounds.height*0.5).background_(Color.grey(0.9)), HLayout(penWidthSlider ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow