Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1703) Code (71) Doc (521) Help (167) Quark (932) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. defPerc Quark

    ... ion) // takes place before synthdef creation // thus, ~buf is populated by this point "\nCreating synthdefs." .postln; // forward with ringmod { |amp = 1, rate = 1, pan| var dur = BufDur .ir(~buf), sig = PlayBuf .ar(1, ~buf, rate * BufRateS ...

  2. VirtualRoom Quark

    ... ies", Rect(128, 64, 340, 100)); w.view.decorator = f = FlowLayout(w.view.bounds,Point(4,4),Point(4,2)); t = GUI.staticText.new(w, Rect(0, 0, 75, height+2)); t.string = "RefGain: "; v[0] = GUI.staticText.new(w, Rect(0, 0, 30, height+2)); s[0 ...

  3. Image Quark

    ... e might be a Rect (it will take only the with and height values) or a Size or a Point (wich allows you to use the 200@200 syntax). (info: On return the newly allocated image will contain a NSCachedImageRep). Image.releaseAll - will release ...

  4. Boids3D Quark

    ... alizedPos[1], 5, 5)); }; makeLabel = {|label, normalizedPos, color| Pen.stringAtPoint(label.asString, Point(window.bounds.width*normalizedPos[0] + 3, window.bounds.height*normalizedPos[1] + 3), color: color); }; // draw the boids window.dra ...

  5. Boids2D Quark

    ... alizedPos[1], 5, 5)); }; makeLabel = {|label, normalizedPos, color| Pen.stringAtPoint(label.asString, Point(window.bounds.width*normalizedPos[0] + 3, window.bounds.height*normalizedPos[1] + 3), color: color); }; // draw the boids window.dra ...

  6. GD_ToolboxWindow Quark

    ... .rightBottom, r.leftBottom ]\ .collect(\{ \cf3 |center|\cf0 \cf3 Rect\cf0 .aboutPoint(center,d,d) \})\ \});\ window.refresh\ \}\ \ panelSelect \{\ isSelected = \cf3 true\cf0 ;\ if(parent.notNil,\ \{ parent.panelSelect(\cf3 this\cf0 ) \})\ \ ...

  7. CutStream2 Quark

    ... tartPos //modulo buffer length where necessary, else OK //this is wrong at this point, tempo may change while cached! //rate always 1.0 base for buffers, rate=(clock.tempo)/(bbcutbuf.bps); //bps/buffertempo rate=1.0; //["rate check", rate, ...

  8. EventStreamPlayer2 Quark

    ... cy; //allow a \beatdev field as well? Would need to resolve using tempo at this point... ^[nextTime, latency - (outEvent[\pat] ? 0.0) + (outEvent[\timedev] ? 0.0), outEvent]; }; } //update cache, prepare material for next beat, using next m ...

  9. CutBuf3 Quark

    ... , subevents] << nl; //schedule subevents //can quantise to a new groove at this point, options to add in delta*timedeviation, //delta=0.0 takes at quantise position only if(not((subevents.isNil) || (subevents.isEmpty)),{ firstindex=subevent ...

  10. Canvas3D Quark

    ... *(v[0]/z)+(this.bounds.width/2); y = scale*(v[1]/z)+(this.bounds.height/2); p = Point(x, y); if(i==0) { penClass.moveTo(p); } { penClass.lineTo(p); }; }; if(item.fill, { penClass.fillColor = item.color; penClass.fill; }, { penClass.strokeCo ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow