Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... il = Hail(~addrBook); ) //fake another participant ~hail2 = Hail(me: Peer(\me2, NetAddr.localAddr)); // \me2 goes offline ~hail2.free; //cleanup ~hail.free; ~win.close; //////////////////////// // Equivalent example using Registrar (central ...

  2. SimpleRepublic Quark

    ... t a running session. For server and client side support, see Republic See also: NetAddr , OSCresponder *new(broadcastAddr, republicName) Return a new instance, which is already listening for incoming network messages. broadcastAddr - The Ne ...

  3. 5_flatcat5_fwdSend Quark

    ... network, // and thru port 8999 like a direct flatcat; // should work to wake up NetAddr.broadcastFlag = true; NTMI.flatcat.fwdAddrs = List[ NetAddr("192.168.4.195", 8999) ]; NTMI.flatcat.fwdFunc = OSCFunc({ |msg| NTMI.flatcat.fwdAddrs.do(_. ...

  4. NetAddrMP Quark

    // implements a NetAddr that can have multiple ports... NetAddrMP : NetAddr { var <>ports; *new { arg hostname, ports; ports = ports.asArray; ^super.new(hostname, ports.first).ports_(ports) } sendRaw{ arg rawArray; ports.do{ |it| this.port_ ...

  5. touchosc example Quark

    ... oad the "touchosc wfs" scene (in this folder) to your touchosc device, and play NetAddr.langPort.postln; // make sure your touchosc device talks to this port ( UScore( UChain( 'whiteNoise', [ 'cutFilter', [ 'freq', [ 20, 800 ] ] ], [ 'tremo ...

  6. RPC Quark

    ... to work with remote applications as though they were native and local. RPC(name,netAddr,sendAPI,receiveAPI) name a unique name for the other app netAddr a NetAddr object with IP and port sendAPI (optional) the paths that the other app respo ...

  7. MultiServer Quark

    ... stName, synthDefDir, clientID = 0| var names, adresses; startAddr = startAddr ? NetAddr( "127.0.0.1", 58000 ); options = options ? Server.default.options; names = { |i| startName ++ (i+1); } ! n; adresses = { |i| NetAddr( startAddr.hostname ...

  8. RepAddrBook Quark

    ... rs and their servers. // make some ( ~rad = RepAddrBook.new; ~p1 = RepPeer(\p1, NetAddr("1.1.1.1", 57120), true); ~p2 = RepPeer(\p2, NetAddr("1.1.1.2", 57120), true); ~p3 = RepPeer(\p3, NetAddr("1.1.1.3", 57120), true); ~p4 = RepPeer(\p4, N ...

  9. SpatDifLogger Quark

    ... te(filename)}; } } // reads a data network log and plays it SpatDifPlayer { var netAddr; // direction where to send data var file; var fileStrings, metaSection; var timeStamps, spatDifCommands; var deltas; // difference times between timest ...

  10. SimpleRepublic Quark

    ... init } makeDefault { default = this } init { broadcastAddr = broadcastAddr ?? { NetAddrMP("255.255.255.255", 57120 + (0..7)) }; // broadcastAddr.checkServesLangPort; this.switchBroadcast(true); addrs = (); nameList = List.new; presence = () ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow