Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (301) Code (18) Doc (56) Help (10) Quark (214) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. RWST Quark

    ... urn(1); RWSTArrE.fail("computation failed") ); z.runRWS.("reader","state") With Maybe monad ( z = Do( RWSTArrO.return(1); RWSTArrO.none2 ); z.runRWS.("reader","state") ( z = Do( RWSTArrO.return(1); RWSTArrO.modify(_++" is this") ); z.runRWS ...

  2. Lift-test Quark

    ... x [1, 2]; [1, 2, 3] + c; c + [1, 2, 3, 4]; c +.x [1, 2, 3]; [1, 2, 3] +.t c /// maybe nil a = Lift(8, { |x, f, args| if(x.notNil) { f.(x, args) } }); a + 9 9 + a a = Lift(nil, { |x, f, args| if(x.notNil) { f.(x, args) } }); a + 9 9 + a // t ...

  3. Tartini Doc

    ... ing FFT, Mouse control of both thresholds- will force errors in certain ranges (maybe this is a fun effect) ( SynthDef("pitchFollow1",{ var in, amp, freq, hasFreq, out; in = Mix.new(SoundIn.ar([0,1])); amp = Amplitude.kr(in, 0.05, 0.05); # ...

  4. SyncText Quark

    ... d: { Document.findByQUuid(textDoc.quuid).notNil }) { // found one, turn it off, maybe even close it? textDoc.keyDownAction = nil; } { this.postAt(2, "showDoc: no valid textDoc found, so make one."); if (currText.isNil) { this.requestText }; ...

  5. HIDMKtlDevice Quark

    ... OpenHID = HID.openDevices.detect { |hid| hid.info.path == sourceInfo.path }; // maybe still listed as open, but already closed if (foundOpenHID.notNil and: { foundOpenHID.isOpen }) { ("%: HID already open for: \n%. " "\n - reusing this open ...

  6. NumberEditorGui Quark

    ... a "pop up", so the class is misnamed // just to get this gui representation // maybe NumberEditor should use this gui if it has a named integers spec guiBody { arg layout; var horSize; horSize = model.labels.maxValue({arg item; item.size } ...

  7. NumberEditorGui Quark

    ... a "pop up", so the class is misnamed // just to get this gui representation // maybe NumberEditor should use this gui if it has a named integers spec guiBody { arg layout; var horSize; horSize = model.labels.maxValue({arg item; item.size } ...

  8. GLOBOL Quark

    ... TODO: get all UGens, check their arguments. // init args to something useful // maybe find soundfiles on the system space.put(\freq, { LFNoise1.ar(0.001 ! 8).range(220, 250) }); } // NETWORKING // *isPermitted { | string | string = string.c ...

  9. LazyList Quark

    ... ct{ Rect(1,1,1,1) } }, 0.iterate{ 10000.collect{ Rect(2,2,2,2) } }) ) }; ) Hum, maybe should go from LazyListEmpty to LazyListEmpty() ? this way we can make methods that just use inject, collect, etc without having to add them both to LazyL ...

  10. rand-n-step+ by vividsnow (vividsnow) Code

    ... ersion of [simple rand-n-step](http://sccode.org/1-Eo) but with comments, which maybe helpful to reuse this stuff it seems, someday, it should be rewritten as Quark ) ( var w, status, limit, buttons, controls = [], one_button, data, sy ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow