Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. FFTSubbandPower Doc

    ... home hi-fi style. s = Server.local.boot; b = Buffer.alloc(s,2048,1); ( var win, size=8; c = Bus.control(s, size); // Values will be written to control busses win = SCWindow("EQ meter", Rect(100, 200, 360, 110)); ~slider = SCMultiSliderView( ...

  2. VGSynthData Quark

    ... ope the file format holds... var sampleSetPrefixLength = VGTuning.sampSetPrefix.size; text = TabFileReader.read(path); if(text.isNil) { postln("couldn't open file:" + path.cs) }; text = text.delimit(_ == [""]); sonatorSpecs = (); specList = ...

  3. extCollection-firstIfSizeIsOne Quark

    + Collection { firstIfSizeIsOne { if( this.size == 1 ) { ^this[0] } { ^this } } repeatLast { |n = 1| ^this ++ this.class.fill( n, { this.last } ); } downSize { |n=1| ^this[..( this.size-(1+n) )] } // relative downsize }

  4. 0_BigTests_MKtlDescToMKtl Quark

    ... Ktls: // load MKtlDevice.verbose = false; MKtlDesc.loadDescs; MKtlDesc.allDescs.size; // make MKtls, keep fails if any ( ~failed = List[]; MKtlDesc.allDescs.sortedKeysValuesDo { |key, desc| // desc.name.postln; try { MKtl(desc.name, desc.na ...

  5. CXMenu Quark

    ... out, Rect(0,0,buttonWidth, (GUI.skin.buttonHeight + GUI.skin.gap.y) * nameFuncs.size)); this.guiBody(false); this.enableKeyDowns; if(isMyLayout,{ layout.resizeToFit }); if(parent.isNil,{ layout.front }); } guiBody { arg resize; nameFuncs.do ...

  6. CXMenu Quark

    ... t, Rect(0, 0, buttonWidth, (GUI.skin.buttonHeight + GUI.skin.gap.y) * nameFuncs.size)); this.guiBody(false); this.enableKeyDowns; if(isMyLayout, { layout.resizeToFit }); if(parent.isNil, { layout.front }); } guiBody { arg resize; nameFuncs. ...

  7. Butz Quark

    ... and: { w.isClosed.not }) { try { w.front }; ^this }; this.makeWin; } *checkFontSize { // estimate layout height, and reduce font size if needed var maxbutheight = (Window.screenBounds.height - 24 / (curr.actions.size)); var maxfontsize = ( ...

  8. 043-pendulum-render Doc

    ... RedPendulum(world, loc, nil, 0, 4.0.rand, 5.rrand(80)) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angularVel_(0); }.dup(n); //--loop w.draw{ Pen.width= 1; 100.do{|i| Pen.strokeColor= Color.grey(i/100, 0.5); world.objects.do{|o| o.addFo ...

  9. 043-pendulum-render Quark

    ... RedPendulum(world, loc, nil, 0, 4.0.rand, 5.rrand(80)) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angularVel_(0); }.dup(n); //--loop w.draw{ Pen.width= 1; 100.do{|i| Pen.strokeColor= Color.grey(i/100, 0.5); world.objects.do{|o| o.addFo ...

  10. Show All Undocumented Classes Help

    ... oString; documented = "*Show All Documented Classes" ; documentedIndex = result.size; result = result ++ documented ++ Char .nl ++ Char .nl; documentedClasses = List .new; // compile list of documented classes and compare with master class ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow