Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1669) Code (209) Doc (505) Help (220) Quark (722) Plugin (13) SCDoc ↗ Forum ↗ Google ↗
  1. Spline Quark

    LinearSpline { // : AbstractFunction var <>points,<>isClosed; *new { |points,isClosed=false| ^super.newCopyArgs(points.collect(_.asArray),isClosed) } storeArgs { ^[points,isClosed] } simplifyStoreArgs { |args| ^args } value { arg u; var arg ...

  2. DIdev Quark

    ... ufwr ( DIdev ( Dbrown (0, 20, 0.3).round, 5, -7, 7), b, Dseries (0, 1, n), 0)); Line .ar(dur: n / r + 0.1, doneAction: 2); 0 }.play; ) // move data to language b.loadToFloatArray(action: { |x| a = x.asInteger; "array filled \n" .postln; }) ...

  3. WavetablePrep Quark

    ... (topBin * 0.05).asInteger; var step; // number of items = topBin * 0.1 // total line should slide over -1 / (topBin * 0.1) // = -10 / topBin topBin = topBin.asInteger; step = max(-1, -10.0 / topBin); // x < -1 is wrong, will amplify partial ...

  4. SplineGui Quark

    AbstractSplineGui : ObjectGui { var uv,pen,<>alpha=1.0; var <>color,<>crossHairsColor,<>textColor; var <>pointSize=3,<>font,<>showGrid=true; gui { arg parent,bounds,userView; if(userView.notNil,{ parent = userView.parent; bounds = bounds ?? ...

  5. VGSamp Quark

    ... \pan , 0.5, // pan to the right \dur , Prand ( [1/4, 1/8, 1/8], inf ), // this line will be simpler eventually. \samp , Pfunc ({ |ev| ev.putAll( VGSamp .eventFor(ev)); \vgsamp }) ) ).play; ) // Panning / output modes: ( Pdef ( \pekingA , P ...

  6. WFSServers Quark

    ... _("Latency") .knobColor_( Color.black.alpha_(0.25) ); window.view.decorator.nextLine; masterServer.uView( window ); if( this.isMaster ) { /* SmoothButton( window, Rect( 0, 0, 116, 16 ) ) .states_( [["sync"]] ) .font_( font ) .action_( { Syn ...

  7. MantaOSC Quark

    ... , \freq.kr(100) + SinOsc.ar(4*\freq.kr, Rand(), \depth.kr(0)), \decay.kr(1)); //Line.kr(1, 0, \decay.kr * 10, doneAction:2); src = src * EnvGen.kr(Env.adsr(0.01, 1, \release.kr(0.1)), gate: \gate.kr(1), doneAction:2) * 400; Out.ar(0, src.ta ...

  8. wsGui_examples Quark

    ... s c = WsStaticText.new(a, Rect(0.5, 0.5, 0.2, 0.2)); c.string_("My text with newline \nhere but also html <br> newline and and and and and and it also wraps long lines") c.font_(Font.new(\Courier).size_(16)) c.background_(Color.yellow); //c ...

  9. SmoothRangeSlider Quark

    ... agging b.mode_( \drag ); // try moving the slider before and after running this line b.mode_( \jump ); // back to default value The value of the slider is an array containing the lo and hi values. They are sorted internally, so normally the ...

  10. startup01-events Quark

    ... , { inval = nextval.yield; }); }, { inval = nextval.yield; }); }; // end of the line; restore the original stream // and return 1 valid value so that the main pattern doesn't die // after substitution, this routine will not get called again ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow