Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ln; }; if(pasteDropFlashPoints.notNil and: { pasteDropFlashPoints.size > 0 }) { AppClock.sched(0.45, { pasteDropFlashPoints = List.new; if(canvas.notNil) { canvas.refresh }; nil }); }; selectedRegionPoints = List.new; rectStart = nil; rectE ...

  2. JITModMIDI Quark

    ... ] << ", " <<< item[\spec] << ");\n"; }; }; // also need to wait a tick (this is AppClock, it's OK even if MIDI init takes awhile) // and return the JMMIDI object stream << "\t0.1.wait;\n\tnew;\n}.value"; } } JMMidiView : SCViewHolder { var ...

  3. 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 ...

  4. 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 ({ ...

  5. 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 ...

  6. 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) ...

  7. 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 ...

  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. 01_GuidedTour Quark

    ... }; }; ~uv.refresh; ) ( Tdef(\refresh, { loop { ~uv.refresh; 1.wait; }; }).play(AppClock); ) // the Pen help file has a lot of examples! Pen.help; ///////////////////////////////////////// //////////// Connecting to the world: ///// 1 - Mic ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow