Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. BasicMIDISocket Quark

    ... Example: ( k = BasicMIDISocket ( \omni , { arg num, vel; [ "noteOn" , num, vel].postln }, { arg num, vel; "\t" .post; [ "noteOff" , num, vel].postln; }); ) // try some notes on your keyboard // when done: k.free; // now the keyboard does no ...

  2. XiiSoundFileView Quark

    ... ol poolname, // the poolname [0,0], caller, chnl); win.close; [\caller, caller].postln; if(caller.isKindOf(XiiBufferPlayer), { caller.viewerList[chnl] = view; "caller viewer :".post; caller.viewerList[chnl].postln; }); if(caller.isKindOf(Xi ...

  3. SimpleRepublic Quark

    ... esence.removeAt(key); (" --- % has just left the building. --->".format(key)).repostln; } { presence.put(key, newVal) } }; if(verbose) { presence.repostln }; } addParticipant { |key, addr| addrs.put(key, addr); if(nameList.includes(key).not ...

  4. source-gui Quark

    ... i opens the block's window: REMOVE BLOCK and a slider per argument; // a slider posts on radpostcont ~radTest.("blkgui-opens-window", setup: ["start 2", "blk 1 sine"], cmds: ["blkgui 1"], code: { var win; 0.5.wait; win = ~radSrcWin.(\block1 ...

  5. DualNumber Quark

    /* Automatic differentiation (forward mode), following http://conal.net/blog/posts/beautiful-differentiation http://conal.net/blog/posts/what-is-automatic-differentiation-and-why-does-it-work Jerzy Karczmarczuk 1998, Functional differentiat ...

  6. GamePad Quark

    ... d .verbose = true ; // move joysticks to see e.g. [ hid, 19, 0.95686274509804 ] posted. GamePad .verbose = false ; // GamePad.stop; // stop HID event loop to turn gamePad off. // Then you can put a proxy in room 0 ( // a simple proxy : modu ...

  7. SamplerQuery Quark

    ... ear the end) and //negative keys traverse the buffer backwards, so pre-peak and post-peak lengths //are aligned SEPARATELY: every voice reaches the peak at globalAttackDur and //ends at globalAttackDur + globalReleaseDur, via a two-segment ...

  8. SPList Quark

    ... com=com+"\""++anafilename++"\""; com=com+minsize; com=com+minvol; com.systemCmd.postln; if(File.exists(anafilename),{ "analysis success".postln; },{ ("file should exist but does not:"++anafilename).postln }); } }{ ("file exists:"+anafilenam ...

  9. snyderphonics-manta_mc.desc Quark

    ... m.device.updateSrcAddr(port: 54969); // trace m, and play on the Manta: should post all elements now m.trace; OSCFunc.trace(false); // gui is broken - too small and commented out elements mess it up. // -> redo sometime, not urgent. m.gui; ...

  10. asPluggable-ext Quark

    ... dle( delta + callTime - SystemClock.seconds, *messages ); }); } } debug { |str| Post << str << ":\n"; preparationMessages.do { |msg| "prep: %\n".postf(msg) }; messages.do { |msg| "msg: %\n".postf(msg) }; } isEmpty { ^messages.size <= 0 } no ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow