Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... dRunning; }); ^false; } *prBindResponseMessages { | recvPort | assetAddedFunc = OSCFunc.new({ | msg, time, addr | var serial = msg[1]; var key = msg[2]; var callback = addCallbackMap.at(serial); if (callback.notNil, { addCallbackMap.removeA ...

  2. SGME Quark

    ... nthiGME: SynthiGME().run; }) }).play(AppClock); */ Routine({ var address, port, oscFunc, server, time_answer; time_answer = 1; port = 57500; while ({(time_answer != nil).and(port<58000)}, { // Se prueban 1000 puertos. Si tenemos respuesta d ...

  3. experimentacion Quark

    ... there" n = NetAddr.new("127.0.0.1", 57001); // create the NetAddr // create the OSCFunc o = OSCFunc({ arg msg, time, addr, recvPort; [msg, time, addr, recvPort].postln; }, "/version.reply", n); o.free; // remove the OSCFunc when you are don ...

  4. SCLOrkChatClient Quark

    ... l); }); }, dt: 0.5, clock: SystemClock, autostart: false); signInCompleteFunc = OSCFunc.new({ |msg| userId = msg[1]; netAddr.sendMsg('/chatGetAllClients'); }, path: '/chatSignInComplete', srcID: netAddr); setAllClientsFunc = OSCFunc.new({ | ...

  5. SCLOrkWire Quark

    ... ate; var <>onConnected; var <>onMessageReceived; var netAddr; var connectRequestOSCFunc; var connectAcceptOSCFunc; var connectConfirmOSCFunc; var sendOSCFunc; var ackOSCFunc; var disconnectOSCFunc; var disconnectConfirmOSCFunc; *bind { | po ...

  6. AlgaGroup Quark

    ... D, addActionID, target.nodeID ); ^group } waitForInstantiation { | nodeID | var oscfunc = OSCFunc.newMatching({ | msg | algaInstantiated = true; }, '/n_go', this.server.addr, argTemplate:[nodeID]).oneShot; //If fails to respond in 3 seconds ...

  7. AlgaSynth Quark

    ... odeID, *(args.asOSCArgArray) ); ^synth; } waitForInstantiation { | nodeID | var oscfunc = OSCFunc.newMatching({ | msg | algaInstantiated = true; }, '/n_go', this.server.addr, argTemplate:[nodeID]).oneShot; //If fails to respond in 3 seconds ...

  8. sCluster Quark

    ... rk setupOscResponders= { oscResponders= [ //--from sKeyBpad and sQWERTYKeyboard OSCFunc({|msg| {win.view.keyDownAction.value(win.view, msg[1].asAscii, 0)}.defer; }, \keyboard, recvPort:oscPort), //--from sKeyCpad OSCFunc({|msg| {onButton.va ...

  9. gyrosc_ga.desc Quark

    ... gyro supported here so far) // * now in SC, check whether OSC messages arrive: OSCFunc.trace; OSCFunc.trace(false); // when you are sure you get proper osc data, make an MKtl: g = MKtl(\gyr, "gyrosc*"); g.gui; g.trace; // update with the a ...

  10. NMLAddressing Quark

    ... ere? Hail { var <addrBook, period, oscPath, authenticator, broadcastAddr, me, inOSCFunc, outOSCFunc, lastResponses; var skipJack; *new { |addrBook, period = 1.0, me, authenticator, oscPath = '/hail', broadcastAddr| addrBook = addrBook ?? { ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow