Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Boids2D Quark

    ... oidList.collect{|boid| boid.getPanVals; // get the pan values }; } // creates a rectangle of size [dim] bounds_ {|dim| var rect, xLen, yLen; if(dim.isArray) { if(dim.size==2) { xLen = dim[0]; yLen = dim[1]; }; } { "dim must be a two element ...

  2. tri-o emulation by 0-2U (grirgz) Code

    ... 700, run = true; var starttime = TempoClock.default.beats; w = Window("trio", Rect(40, 40, h, v), false); w.onClose = { run = false }; // stop the thread on close w.front; w.drawFunc = { Pen.width = 2; Pen.use { var time ...

  3. RedMixerChannelGUI Quark

    ... nds(RedFont.new).width; tmp2= str.bounds(RedFont.new).width+2; textView.bounds= Rect( textView.bounds.left-(tmp2-tmp/4), textView.bounds.top, tmp2, textView.bounds.height ); textView.string= str; }); } close { insertWins.do{|x| if(x.notNil, ...

  4. ServerOptionsGui Quark

    ... efault; if (parentArg.isNil, { parent = Window("Server Options").front.bounds_( Rect( Window.screenBounds.width / 2 - (width / 2), Window.screenBounds.height / 2 - (height / 2), width, height ) ); standalone = true; }, { parent = parentArg ...

  5. InstrGateSpawner Quark

    ... }, gui: { arg layout; var l; l = layout ?? {PageLayout(~igs.instr.dotNotation, Rect(0, 0, 500, 600))}; ~igs.gui(l); if(layout.isNil, { l.resizeToFit }) } ));

  6. p_randomwalk_point Quark

    ... eIsMapped_( false ) .numChannels_( 2 ) .setSpec( \value, DisplaySpec( PointSpec(Rect(0,0,1,1)), { |point| "% @ %".format(point.x, point.y ) }) ) .setDefault( \value, 0.0@0.0 ) .setDefault( \center, 0.0@0.0 ) .setDefault( \radius, 10@10 ) .s ...

  7. derived-elements-mfunc Quark

    ... .action_(MFunc()); ) // make a Slider2D to set x and y from gui ( Slider2D(nil, Rect(0,0,200,200)).action_({ |sl2d| x.valueAction_(sl2d.x); y.valueAction_(sl2d.y); }).front; ) ( // add logging to x and y x.action.add(\post, { |el| [el.name, ...

  8. Sound file position selector GUI by 0-2U (grirgz) Code

    ... var vlayout; var zoom_slider; win = Window.new("select sample position", Rect(200, 300, 740, 100)); sf = SoundFile.new; sfview = SoundFileView.new; vlayout = VLayout.new; zoom_slider = RangeSlider.new; zoom_slider.orie ...

  9. RecursiveCutProc1 Doc

    ... ay(group); }); ) (//recursion level control var w,slider; w = SCWindow("panel", Rect.new(200,200,200,100)); slider=DDSlider( w, Rect.new(5,5,180,40), "recursion level", 0, 50, 'linear', 1, 0); w.front; BBCut2(CutBuf2(f), RecursiveCutProc1.n ...

  10. GMGridButton Doc

    ... veAction states state allowRetrigger allowMouseMove free orientation desindex direction drawSelected fontRatio unselectedRatio setColorAll setFontColorAll displayAltValue svgRatio Internal Methods draw prResizeSVGs prGetGridOrga Inherited i ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow