Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. PL Quark

    ... ref = `true; listProxy = PL_ListProxy(list, envir).update; // avoid an infinite loop case listProxy.streamSources.isNil.if { ^inval }; offsetProxy = PL_Proxy(offset, envir); repeatsProxy = PL_Proxy(repeats, envir); cutItemsProxy = PL_Proxy( ...

  2. ServerLogGui Quark

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

  3. startup00-ddwSynths Quark

    ... eMethod), \ddwSynths); // use a pair of enveloped PlayBufs to avoid clicks when looping back on the sample SynthDef(\bufRoll, { |start, time = 1, bufnum, rate = 1, amp = 1, strokesPerSec = 18, attack = 0.002, decay = 0.01, // attack and dec ...

  4. MoreSpecs Quark

    ... gControlSpec : ControlSpec { *initClass { specs.addAll( [ \binary -> this.new, \loop -> this.new, \paused -> this.new ]; ) } defaultControl { arg val; ^KrNumberEditor.new(this.constrain(val ? this.default),this).lag_(nil) } } StaticSpec : N ...

  5. HrPresetMorph Quark

    ... in), ([-25, 25] * (rotateCounter + (pi/2)).sin)]; }; refreshRoutine = Routine({ loop({ surfaceView.refresh; 0.04.wait; }); }); compositeBack = CompositeView(window, Rect(160, 0, window.bounds.width - 165, window.bounds.height)); surfaceView ...

  6. MoreSpecs Quark

    ... gControlSpec : ControlSpec { *initClass { specs.addAll( [ \binary -> this.new, \loop -> this.new, \paused -> this.new ]; ) } defaultControl { arg val; ^KrNumberEditor.new(this.constrain(val ? this.default), this).lag_(nil) } } StaticSpec : ...

  7. MView Quark

    ... ; j = JITView(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.parent.bounds_(m.p ...

  8. rewriteString Quark

    ... { |str| fork { var m = str.iter.rewriteString(r, level); var b; Char .nl.post; loop { b = m.next; if(a.notNil and: b.isNil) { "\n" .post }; (b ? "" ).post; if(b.isNil) { nil .yield }; Synth .grain( \p , [ \freq , b.ascii - 97 * 200 + 300]) ...

  9. EqualizerUI Quark

    ... trolBusHandlers.put(orbitIndex, Dictionary.new); }); task = Task { //0.05.wait; loop { controlBusses[busId].get({ |value | if (orbits.at(orbitIndex).get(param) != value, { orbits.at(orbitIndex).set(param, value); if (shallUIBeUpdated == 1.0 ...

  10. SpatialRender Quark

    ... l methods behave in the same way (in order to allow data log and avoid infinite loopback): // 1. user call them from outside (with the default flag internal=true) // 2. the message goes to the net and is automatically picked up for the OSCd ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow