Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (117) Code (9) Doc (43) Quark (65) SCDoc ↗ Forum ↗ Google ↗
  1. SpatialRender Quark

    ... w; objectPositions = Dictionary.new; // // // // RECEIVER FUNCTIONS // // // // OSCdef(\addEntity,this.newSource,"/spatdifcmd/addEntity",nil); OSCdef(\removeEntity,this.endSource,"/spatdifcmd/removeEntity",nil); // internal configuration: s ...

  2. xosc_ballet Quark

    ////////////// xosc nufo is unused by now /////////// // OSCdef(\xoscAlive, { |msg, time| // if (NTMI.nufo.lastInTime == 0 or: { NTMI.nufo.timeSinceLast > 10 }) { // Tdef(\allLEDs).play; // }; // NTMI.nufo.deviceName = \xosc; // NTMI.nufo.l ...

  3. controller-source Quark

    >> <code> == radpost == OSCdef('hid1', {arg ...args; {|val| ("Ndef('track1').set('volume', " ++ val ++ ")").radpostcont.interpret; }.([-60.0, 0.0].asSpec.map(args[0][1].linlin(0, 1, 0, 1.0)) )},'/radtestvol'); == radpostcont == Ndef('track1 ...

  4. OssiaProtocols Quark

    ... } instantiateParameter { | anOssiaParameter | var path = anOssiaParameter.path; OSCdef(path, { | msg | if (msg.size == 2) { anOssiaParameter.valueQuiet(msg[1]); } { msg.removeAt(0); anOssiaParameter.valueQuiet(msg); }; }, path, recvPort: lo ...

  5. 8_xflux Quark

    ... name, 4, 0.05, 0.5); MKtl('xf_adc').timeSinceLast MFdef(\setRelInf).activeNames OSCdef.trace(true, true) OSCdef.trace(false) */ NTMI.makeInfluxSource = { |q, name| name = name.asSymbol; if (NTMI.at(name).notNil) { "cannot make influx source ...

  6. xoscSim Quark

    ... vice.oscFuncDictionary.keys q.addrSC = ().sendMsg = { |q ... msg| msg.postcs }; OSCdef.trace(true, true); OSCdef.trace(false, true); */ // send to this address, the port xosc sends to: q.addrSC = NetAddr.localAddr.port_(8000); OSCdef.trace( ...

  7. TestSatie_quit Quark

    ... ssInstances.isEmpty, true, "Process Instances where freed after quit" ); } test_oscDefs_base_remain { var base = [\satieConfigure, \satieBoot, \satieReboot, \satieQuit, \satieHeartbeat]; var keys = satie.osc.oscDefs.keys; this.assertEquals( ...

  8. forwarding_influx Quark

    ... /// test receiving influx forward: thisProcess.openUDPPort(q.forwardAddr.port); OSCdef(\testInfluxRecv, { |msg| msg.round(0.001).postcs; }, \influxOuts); */

  9. OrientationController Quark

    ... // ///////////// TYPE_ORIENTATION ///////////// oscListener.add(\orientation -> OSCdef(\orientationListener,{ |msg, time, addr, recvPort| if (azimuth.isNil) { //first message received dAzi=msg[1]; //get this azimuth as our reference 0 }; az ...

  10. 2_xosc_pullup Quark

    ... host"); }; "*** XOSC - FOR NOW, TURN XOSC RESPONDERS OFF, ONLY USE hand-written OSCdefs!".postln; MKtl(\xosc).device.oscFuncDictionary.do(_.disable); // battery values and display // MKtl(\xosc).elAt(\battery).deviceSpec; q.osc.batSpec = [3 ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow