Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (393) Code (12) Doc (90) Help (18) Quark (273) SCDoc ↗ Forum ↗ Google ↗
  1. forwarding_nUFO Quark

    ... ntmi/enc', '/ntmi/imu' ]; // set the address to forward them to q.forwardAddr = NetAddr("169.254.1.2", 51900); // make listeners for all of them that send to the forward address. "making nufo forward functions:".postln; q.nufoRelays = q.nuf ...

  2. xoscSim Quark

    ... ce(false, true); */ // send to this address, the port xosc sends to: q.addrSC = NetAddr.localAddr.port_(8000); OSCdef.trace(false); /* test buttons from remote: q.addrSC.sendMsg('/inputs/digital', 0, 2.rand); q.addrSC.sendMsg('/inputs/digit ...

  3. BroadcastServer Quark

    ... ndIndex = this.addrIndex(ip); if (foundIndex.isNil) { addresses = addresses.add(NetAddr(ip.asString, port)) }; } removeByIP { |ip| var foundIndex = this.addrIndex(ip); if (foundIndex.notNil) { addresses.removeAt(foundIndex).disconnect; } } ...

  4. 1c_allLEDs_nUFO Quark

    ... allet also from OSC: // if first time, or longer than 10 sec silence, do ballet NetAddr.localAddr.sendMsg("/ntmi/imu", 0.0); */ Tdef(\allLEDs).set(\dt, 0.1); Tdef(\allLEDs).set(\repeats, 1); Tdef(\allLEDs, { |ev| try { NTMI.nUFO.skip.stop } ...

  5. 1_flatcat_NTMI_advanced Quark

    ... ddress in the MKtl OSC device. MKtl(\flatcat).device.updateSrcAddr("127.0.0.1", NetAddr.langPort); OSCFunc.trace(true, true); // then this line should change the flatcat values: ~sendFlatcatRand.value; // to switch back to real flatcat addr ...

  6. __rangeTests_xosc Quark

    ... t[\imu].value = 1.0; MFdef(\imuFunc).value; // test the raw message values: n = NetAddr.localAddr; // close to 1.0 n.sendMsg(\imu, 130, 130, 130, 1.65, 1.65, 1.65, 0.82, 0.82, 0.82); n.sendMsg(\imu, 130, 130, 130, 1.65, 1.65, 1.65, 0.82, 0. ...

  7. gui_example_simple Quark

    ... tAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999), initAction: {|b| b.start}); //var board= SyntheticData(initAction: {|b| b.start}); //synthetic test data //var bo ...

  8. sound_example_simple Quark

    ... tAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999), initAction: {|b| b.start}); //var board= SyntheticData(initAction: {|b| b.start}); //synthetic test data //var bo ...

  9. VirtualGradientOrb2 Quark

    ... \ Pen.fill;\ \;\ Pen .translate(i_width+pad, 0);\ \\ \\ \ \;\ \ OSCresponder ( NetAddr .localAddr, "/orb" , \ |time, resp, msg| \ var which, color, oldColor, lagTime, numSteps, fps = 20, rFps;\ which = msg[1];\ color = Color .new255(*msg[2 ...

  10. OSCFuncRecvPortMessageMatcher Doc

    ... args] . time A Float indicating the time the incoming message was sent. addr A NetAddr indicating the source of the message. testRecvPort An Integer indicating the port on which the message was received. Inherited instance methods helpfile ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow