Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... red. Times Three. // There are virtual Orbs in this help Directory listening to NetAddr.localAddr: ( Document .current.path.dirname ++ "/VirtualOrb.rtf" ).load *new(serial) create new instance set(which(0), color(Color.black), dt(0), action ...

  2. VirtualOrb 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 ...

  3. SWDataNetworkOSCClient Quark

    ... iven address. key ( ) key_ ( ) Human readable name for the client. addr ( ) The NetAddr (IP address and port) of this client. missedPongs ( ) Amount of missed pongs. subscriptions ( ) Nodes and slots to which this client is subscribed. sett ...

  4. 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 ...

  5. 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 ...

  6. 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; } } ...

  7. 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 } ...

  8. 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 ...

  9. __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. ...

  10. 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow