Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... userButtonsDef, colSize = 3| var window, layout, userButtons; bounds = bounds ? Point(200, 100); userButtonsDef = userButtonsDef ? [QLButtonLocalServer(), QLButtonInternalServer(), QLButtonEQ(), QLButtonClassBrowser(), QLButtonSynthDef(), Q ...

  2. sKeyboard Quark

    ... 6); Pen.push; x= 0; Pen.strokeColor= Color.black; keys.do{|key| var strRect, velPoint; if(key.isWhite, { key.put(\rect, Rect(x, 0, whiteKeySize.width, whiteKeySize.height)); if(key.isClicked, { velPoint= Point(whiteKeySize.width*0.5+x, key. ...

  3. sGliss Quark

    ... w({|img| Pen.width= 0.25; Pen.strokeColor= palette.highlight; 60.do{ Pen.moveTo(Point(25.gauss(25), 25.gauss(25)+img.height)); Pen.curveTo( Point(25.gauss(25)+img.width, 25.gauss(25)), Point(img.width*0.6, img.height*0.6), Point(img.width*0 ...

  4. XiiMasterEQ Quark

    ... <>win; // dict with all variables classvar <>xiigui; classvar setting, params, point; *new { | server, numCha = (2), setting| if( \TabbedView.asClass.notNil ) { if( eq.isNil or: { win.dataptr.isNil } ) { ^this.newMasterEQ( server, numCha, ...

  5. WFSArrayPanDir Quark

    ... ion = 0, sines = #[0,1], sineMul = 1, mul = 1, add = 0, taper = true| // inPos: Point or Polar var difx, dify, sqrdifx, inFront, crossing, delayOffset; var globalDist, globalAngle, speakerAngleRange, focusFades, fadeArea; var adifx, angles, ...

  6. Moon Quark

    ... .gmtime.rawSeconds % 86400 / 86400; // interpolate between the two closest data points ^(prev + ((next-prev)* phase)); } getDataForRelToNow { |days = 0| var today = Date.gmtime; var date = today.copy.day_(today.day + days).resolve; ^this.ge ...

  7. SplineFr Quark

    ... rom, to; ~splineGui.setZoom(from, to).update; }, beatDuration: { ~source.spline.points.last[0] }, record: { arg boo, atTime; ~recording = boo; if(boo.not, { ~splineGui.update }) } ));

  8. mass editing Quark

    ... : 0.5 ] ], [ \whiteNoise, [ \amp, 0.1 rrand: 0.5 ] ] ].choose, [ \wfsSource, [ \point, (10.0@10.0).rand2 ] ] ) .track_(i) .dur_( 2 rrand: 10 ) .setGain( -10 rrand: 10 ); }); a = UScore(*y); ) // show them all in a window a.gui; // create a ...

  9. Red3DBox Quark

    ... sition, width, height, depth); } initRed3DBox {|position, width, height, depth| points= ( #[ [-1, -1, -1], [1, -1, -1], [1, 1, -1], [-1, 1, -1], [-1, -1, 1], [1, -1, 1], [1, 1, 1], [-1, 1, 1] ] ).collect{|a| RedVector3D.newFrom(a*[width, he ...

  10. p_stutter Quark

    ... ) .canUseUMapFunc_({ |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ Point, SimpleNumber, Array, Symbol, Boolean ].any({ |class| unit.getDefault( key ).isKindOf( class ) }); }; }) .useMappedArgs_( false ) .mappedArgs_([ \input ]) ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow