Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (4875) Code (274) Doc (1418) Help (390) Quark (2775) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. that-examples Quark

    ... at.freq( name: \inputFreq, input: Ndef(\input), callback: {|r| Ndef(\thatSound).set(\freq, r[0])} ) ) :: // Markov Chain ( // create an event in which we store our markov functions q = q ? (); // some parameters to tweak q[\timeStep] = 0.05 ...

  2. VarDiffString Quark

    ... new synth after old oldSynthList[i].release; } { synth = oldSynthList[i]; synth.set(*args); }; synthList[j] = synth; argList[j] = args; }; }, beginFunc: { if(server.serverRunning.not) { Error("server not running").throw }; this.initArgument ...

  3. RoundSlider Quark

    ... round hilightColor Colors, Gradients and SCImages can be used with these getter/setters. ( // random colors w = Window ( "colorful" , Rect ( 200 , 200 , 250 , 120 ) ).front.decorate; 7 .do({ |i| RoundSlider ( w, 30 @ 100 ) .knobColor_( Colo ...

  4. UMapGUI Quark

    ... p; nowBuildingUMap = unit; if( bounds.isNil ) { bounds = parent.asView.bounds.insetBy(4,4); if( parent.asView.class.name == \SCScrollTopView ) { bounds.width = bounds.width - 12; }; if( parent.asView.class.name == \QScrollTopView ) { bounds ...

  5. numberExtras Quark

    ... c distance and gradus suavitatis), see HarmonicVector , HarmonicMetric and PitchSet for more info regarding harmonic arithmetic. Additions to SimpleNumber Some of these methods also work for collections of numbers, as implemented in Sequenc ...

  6. startup01-events Quark

    ... }; } => Func(\chuckIf); // a pattern helper: like a combination of Pchain and Psetp Proto { ~canEmbed = true; ~outerOverridesInner = true; // how many empty embeds of the inner pattern are permitted? // without this, infinite outer pattern ...

  7. geoListener Quark

    ... ar <>positionResponder, <>moveposResponder; var <>la, <>lb, <>lorient; var <>offsetAngle, <>newPi, <>scapeWidth, <>scapeHeight, <>address; var <>perceptionArea; var <>counter = 0; *new { arg a = 50, b = 50, scapeWidth = 1, scapeHeight = 1; ...

  8. TESTING Quark

    ... e call to an `assert` method. These methods are defined in the class `UnitTest` Set up and a tear down is often needed before running the test. SuperCollider's testing framework has two built-in helper functions that can do just that. The f ...

  9. TestMixedBundleTester Quark

    TestMixedBundleTester : UnitTest { var t; setUp { t = MixedBundleTester.new; MixedBundleTester.reset; } test_findMessage { t.add( [ "/n_free",1001]); t.send(Server.default); Server.default.latency.wait; 0.01.wait; this.assert( MixedBundleTe ...

  10. XiiSpectrogram Quark

    ... gram", Rect(200, 450, 600, 300)); bounds = boundsarg ? window.view.bounds; this.setWindowImage; if(parent.isNil, { // view is not in a user-defined window another drawhook is needed window.drawHook_({ index = index+1; image.drawInRect(windo ...

prev 261 262 263 264 265 266 267 268 269 270 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow