Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. BoxGrid Quark

    ... useTracker.refresh; }); }.defer; }); } lazyRefresh { if( refreshDeferred.not, { AppClock.sched( 0.02, lazyRefreshFunc ); refreshDeferred = true; }); } // NODES setNodeBorder_ {arg border; gridNodes.do({arg row; row.do({arg node; node.setBor ...

  2. 6_MainFX Quark

    ... .chain.add('ampFin', 1); 0.1.wait; NTMI.mfx.chain.set(\noiseFloor, 0.00001); }, AppClock); ); // make sure MainFX wake up fully after cmd-period: // this can go after JITLibExtensions update that fixes MainFX issue ServerTree.add({ fork ({ ...

  3. SGUI Quark

    ... tion(true)))); }; banks[index].writeArchive(path+/+files[index].value); }).play(AppClock); } recall {|index, key| "recalling snapshot %:%".format(files[index].key, key).postln; Routine({ banks[index][key].do{|assoc| if(recallFunctions[assoc ...

  4. Simplex Doc

    ... { height.do{ |y| width.do{ |x| var noise = Simplex.fBm3(x/width*2, y/height*2, AppClock.seconds*0.05, octaves); Pen.fillColor = Color.grey(noise.linlin(-1,1,0,1)); Pen.fillRect(Rect.aboutPoint(Point(x, y)*scale, scale, scale)); }; }; }; wi ...

  5. Painter Quark

    ... oose) ; p.setELabels([ true , false ].choose) ; ].choose ; 1.0.wait }) }).play( AppClock ) ) setBackground (imagePath) Set an image as a background, still retaining transparency. Ok with GUI object, but not with edges (depends on drawHook) ...

  6. TESTING Quark

    ... ch runs all of SATIE's tests **must be a Routine** (aka fork) scheduled on the `AppClock`. - `SatieUnitTest.runAll` looks up all subclasses of `SatieUnitTest` and calls `run` on each of them in turn. SATIE's _test cases_ will therefore all ...

  7. Spawning Help

    ... chedule time-based behavior, even if no audio is involved. Both SystemClock and AppClock (a less accurate version which can call Cocoa primitives) have only class methods. Thus one does not create instances of them. If you need to have an i ...

  8. XiiSpectrogram Quark

    ... ; CmdPeriod.add( cper = { if(startbutt.value == 1, { startbutt.valueAction_(0); AppClock.sched(0.5, { startbutt.valueAction_(1) }); }); }); window.onClose_({ try{ fftSynth.free }; try{ fftbuf.free }; scopeOpen = false; this.stopruntask; Cmd ...

  9. WFSV2 Quark

    ... lifesign for "++hostName).postln; (hostName ++ ", server ready").speak }).play( AppClock ); ^server // returns an instance of WFSServers for assignment // best to be assigned to var 'm' in the intepreter } }

  10. Spawning Doc

    ... chedule time-based behavior, even if no audio is involved. Both SystemClock and AppClock (a less accurate version which can call Cocoa primitives) have only class methods. Thus one does not create instances of them. If you need to have an i ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow