Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (266) Code (16) Doc (79) Quark (171) SCDoc ↗ Forum ↗ Google ↗
  1. 2_xosc_pullup Quark

    // /* // OSCFunc.trace; // OSCFunc.trace (false); // */ // ( // use this dict for everything osc related q.osc = q.osc ? (); // xosc sends here: thisProcess.openUDPPort(8000); thisProcess.openPorts.postln; // make xosc object MKtl.all[\xosc ...

  2. satieNRT Quark

    ... received when the following ambiPostProcessor is created in group \ambiPostProc OSCFunc({ cond.unhang }, '/n_go', argTemplate: [nil, satie.groups[\ambiPostProc].nodeID, nil, nil, 0]).oneShot; satie.makeAmbi(sourceName, \sndFile, ambiOrder: ...

  3. UFluidNMFBaseBuf Quark

    ... s, resynthMode: 0, components: numComponents, windowSize: windowSize, action: { OSCFunc({ |msg, time, addr, recvPort| action.value( outPath ); }, '/done', server.addr, nil, ['/b_write', bases.bufnum ] ).oneShot; bases.write( outPath, "wav", ...

  4. SQWERTYKeyboard Quark

    ... okupButton(\cmdL).fixedWidth_(40); this.lookupButton(\cmdR).fixedWidth_(40); }; OSCFunc({|msg| var keycodes= msg[3][2..].select{|x| x>0}; var modifiers= msg[3][0]; //detect modifiers like shift etc { codeTextString.string= modifiers.asStrin ...

  5. Radial loudness meter by snappizz (snappizz) Code

    ... wedge.(0.6, long[i], long[(i+1)%longSize], Color.red); }; }; }; recv = OSCFunc({ arg msg; if (msg[1] == synth.nodeID) { if (msg[2] == 0) { short = msg[3].clip(0, 1); { canv.refresh }.defer; }; if (msg[2] == 1) { ...

  6. PeriodicUpdater Quark

    ... DefFunc) } init { name = this.class.name; target = target.asTarget; responder = OSCFunc(this.onReply(_), this.address).permanent_(true); triggerFunc = this.impulseTrigger; ServerTree.add(this); } onReply { |msg| replyCount = msg[2]; value = ...

  7. sKeyDpad Quark

    ... \onOff, 1].flop); }); }); }; //--network setupOscResponders= { oscResponders= [ OSCFunc({|msg| iOnOffDict.put(msg[1], msg[2]); }, \iOnOff, recvPort:oscPort), ] }; setupOscResponders.value; )

  8. SatieIntrospection Quark

    ... ID.add( context.groupInstances[item][subitem].nodeID -> subitem); }) }); resp = OSCFunc({ |msg| msg.do( { | item, i | if( item == -1 && mapID[msg[i-1]].asSymbol == instanceName,{ ret.add(mapID[msg[i-1]].asSymbol -> Dictionary.newFrom( Array ...

  9. snyderphonics-manta.desc Quark

    ... "*manta"); m.trace; // not working? have a look at where data is coming from... OSCFunc.trace(true); // update accordingly m.device.updateSrcAddr("127.0.0.1", 31417); m.device.updateRecvPort(57120); OSCFunc.trace(false); m.elAt.action = { | ...

  10. VDiskIn Doc

    ... nge(0.2, 0.9), 1, sendID: 14) }.play; // register to receive this message ( o = OSCFunc({ |msg| var sendID = msg[2]; var index = msg[3]; msg.postln; "id: % pos: % frames (% sec)\n" .postf(sendID, index % c.numFrames, (index % c.numFrames / ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow