Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... useTracker.refresh; }); }.defer; }); } lazyRefresh { if( refreshDeferred.not, { AppClock.sched( 0.02, lazyRefreshFunc ); refreshDeferred = true; }); } // NODES setNodeShape_ {arg row, col, shape; if(col == nil, { shape = row; // 1st argumen ...

  2. ServerLogGui Quark

    ... rollSize) ); scroller = Routine.run({ loop { this.updateNav; 10.wait; } },clock:AppClock); },bounds ?? {Rect(0,0,1200,1300)}) } updateNav { if(nav.notClosed,{ navMax = this.messages.size + scrollSize; pixelsPerEvent = nav.bounds.width / nav ...

  3. SOMTrain Plugin

    ... and(buf) }, \gridrand, { this.initBufGridRand(buf, netsize, numdims) } ) }.play(AppClock); }; ^buf; } *initBufRand { |buf, minval = -1, maxval = 1| if(minval.isArray.not){ minval = minval.dup(buf.numChannels) }; if(maxval.isArray.not){ maxv ...

  4. Routine Doc

    ... l , the routine's clock will not be changed. (Note: Currently incompatible with AppClock ; rescheduling depends upon the method schedAbs , which AppClock does not implement.) quant A quantization specifier, identifying a time later than the ...

  5. PopUpTreeMenu Quark

    ... it; }; this.prValue_(currentLeaf, true); }); }); this.prCloseAll(x, y); }).play(AppClock); } prOpen {|tree, offset, value| var window, userView; var width, height, x, y, wh, scroll; var items; //array of associations var selectedIndex; //in ...

  6. HrPresetMorph Quark

    ... hing == false, { //"starting".postln; refreshRoutine.reset; refreshRoutine.play(AppClock); isRefreshing = true; }); mouseXY = (args[1]@args[2]); }) .mouseUpAction_ ({ if(isRefreshing, { //"stopping".postln; refreshRoutine.stop; isRefreshing ...

  7. NB_more_examples Quark

    ... dur, scaleOval * mul); 0.1.wait; }); n.renderAndDisplayImage }); routine.play( AppClock ); ) /* ----- ----- ----- ----- */ /* ----- ----- ----- ----- */ ( n = NB .new( "testing" , 500, 400); n.publish( " fill(random(), random(), random(), ...

  8. WFSLib Quark

    ... ib.servers.do(_.bootSync); bootFunc.value; "all servers booted".postln; }.fork( AppClock ); }) }, Platform.userAppSupportDir +/+ "wfs_synthdefs", true, buildArrayPanners ); }.bench; UEvent.nrtStartBundle = [ [ "/d_loadDir", Platform.userApp ...

  9. OSCSched Doc

    ... The default clock used is the SystemClock, but you may also specify to use the AppClock. An optional clientSideFunction can also be supplied that will be evaluated on the client at the exact time as the OSC bundle is scheduled to happen. T ...

  10. Spectrogram Quark

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow