Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (692) Code (80) Doc (247) Help (48) Quark (306) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. TabbedView Quark

    ... Right, drawBottom,rotPoint,moveBy,rotPointText,drawRectText, drawRectText2,rot1=pi/2,rot2=0; followEdges.if{ switch(tabPosition) {\top}{rot1=0;rot2=0} {\left}{rot1=pi;rot2=pi/2} {\bottom}{rot1=pi;rot2=pi} {\right}{rot1=0;rot2=pi/2}; }{ swit ...

  2. round Quark

    ... ision ) ); }, \angle, { current = current.collect({ |pt| pt.angle = (pt.angle / pi * 180).round( precision ) / 180 * pi; }); }, \distance, { current = current.collect({ |pt| pt.rho = pt.rho.round( precision ); }); }, ); path.positions = cur ...

  3. SOS Help

    ... ) // example: same as TwoPole ( { var rho, theta, b1, b2; theta = MouseX .kr(0.2pi, pi); rho = MouseY .kr(0.6, 0.99); b1 = 2.0 * rho * cos(theta); b2 = rho.squared.neg; SOS .ar( LFSaw .ar(200, 0, 0.1), 1.0, 0.0, 0.0, b1, b2) }.play ) ( { va ...

  4. Archive Help

    ... x structures of objects can thus be restored. Writing an object to file as a compile string is usually more readable, but does not account for the internal structure of the object. See also: Library , Object , LibraryBase , writeAsPlist The ...

  5. AtkTests Quark

    ... ion = \flu, numDirs = 25| ^switch(group, \axis, { // axis directions [ [0, 0], [pi/2, 0], [0, pi/2], // +X, +Y, +Z [pi/2, 0], [-pi/2, 0], [0, -pi/2] // -X, -Y, -Z ] }, \tetra, { // tetrahedral directions FoaDecoderMatrix.newBtoA(orientation ...

  6. Danish Poem Sonification by jassk (Jason_SK) Code

    ... ine.kr(1, 12, 1, 0.1))*/)); env1 = Env.perc(0.003, pi/2).kr(doneAction:0);//Amp_Env out1 = sig; out1 = (out1 * 0.5) + DelayC.ar(out1, 1, Rand(0.11, 0.2), ...

  7. Experiment with roots of unity by muse-score (Muse Score) Code

    ... experiment with roots of unity in supercollider. I took Eulers formula exp(2*pi*I*k/n) = cos(2*pi*k/n)+sin(2*pi*k/n)*I to sonify sums of roots of unity where the sums run through divisors of some numbers. ( ~divisors = { arg n; ~ ...

  8. Space Quark

    ... item| b = b.add(item.reverse) }); ~panArr = [Array.panDis(~arr.size, ~arr.size)*pi, b.flat * pi].flop; n.redefine(~arr, \panB, ~panArr, 4); //start a new system n.redefine(~arr, \panB, ~panArr, 8); //start a new system n.redefine(~arr, \pan ...

  9. GMRecordButton Quark

    ... or = Color.black; } { thisCurrentBackgroundColor = Color( sin(this.frame / 60 * pi).abs, sin(this.frame / 60 * pi).abs, sin(this.frame / 60 * pi).abs ); }; // super.drawFrame "override hack" super.drawFrame; Pen.fillColor_(thisCurrentBackgr ...

  10. DelayPannerSawSine by adamarmfield (AdamArmfield) Code

    ... ar(HPF.ar(RLPF.ar(Saw.ar(LFPar.kr(0.25).range(220,440)),LFPar.kr(MouseX.kr(0,8),pi).range(220,20000),0.3),LFPar.kr(MouseY.kr(0,8)).range(220,20000)),2,MouseX.kr(0,2),2),AllpassC.ar(HPF.ar(RLPF.ar(WhiteNoise.ar * Saw.ar(LFPar.kr(0.25).range( ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow