Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ort = 7500; var retries = 0; var factory = { | hostname, port | SCLOrkFlakyLocalNetAddr.new(port, { false }); }; SCLOrkWire.bind(8000, { var wireId = boundWireId; boundWireId = boundWireId + 1; wireId; }, { }, { }, { | wire | boundWires = b ...

  2. sText Quark

    ... n().states_(#[["Send"]]) ) ); SGUI.report(win); SGUI.adapt(win); win.onClose= { NetAddr.localAddr.sendMsg(\closed, \sText); }; win.front; presetsPop.items= #["", "15 random values", "Octaves", "Overtones", "Overtones2", "Cmaj7", "D#m", "Rum ...

  3. 8_xflux Quark

    ... TMI.xflux.verbose = true; NTMI.xflux.verbose = false; // send test msg by hand: NetAddr.localAddr.sendMsg(\xflux, NTMI.myname, 4, 0.05, 0.5); MKtl('xf_adc').timeSinceLast MFdef(\setRelInf).activeNames OSCdef.trace(true, true) OSCdef.trace(f ...

  4. NMLNetRecord Quark

    ... addrBook = argAddrBook; oscPath = argOSCPath.asString; markers = Order.new; /* NetAddr.broadcastFlag = true; addr = NMLNetAddrMP("255.255.255.255", 57120 + (0..6)); */ resp = [ OSCFunc({ |msg| var remoteRecName = msg[1]; if(this.recording. ...

  5. NMLClock Quark

    ... Replies; // unusually we'll use broadcast here to avoid variations in send time NetAddr.broadcastFlag = true; broadcastAddr = NMLNetAddrMP("255.255.255.255", 57120 + (0..7)); myName = addrBook.me.name; SystemClock.sched(rrand(0, 0.1) * addr ...

  6. SuperDirt Quark

    ... sam = IdentityDictionary.new; } start { |port = 57120, outBusses, senderAddr = (NetAddr("127.0.0.1"))| if(orbits.notNil) { this.stop }; this.makeOrbits(outBusses ? [0]); this.connect(senderAddr, port) } stop { orbits.do(_.free); orbits = ni ...

  7. SWDataNetworkClient Quark

    ... a new client, connecting to hostip . hostip should be a hostname or string (the NetAddr of it is created in the class). name is the name that the client will have in the network. reg is a flag, whether or not to register rightaway to the ho ...

  8. MServer Quark

    ... r ^super.new.init( name.asString.dup(n ? numServers).collect( _ ++ _ ), (addr ? NetAddr( "127.0.0.1", 58000 ) ).dup(n ? numServers) .collect({ |item,i| item.port = item.port + i }) , options, clientID); } *new1 { |names, adresses, options, ...

  9. GeoListener Quark

    ... m.sendMsg("/spatdif/core/listener/1/position", x, y); //create the listener m = NetAddr .new(address, 57120) //the host name or IP adress where the application runs m.sendMsg("/spatdif/core/listener/1/position", x, y); //move the listener t ...

  10. sKeyCpad Quark

    ... n; //debug }); }; }); CmdPeriod.doOnce({ port.close; }); }); }); win.onClose= { NetAddr.localAddr.sendMsg(\closed, \sKeyCpad); routine.stop; if(port.notNil, { port.close; }); }; }).play(AppClock); plateButtons[0].action= {|view| if(view.val ...

prev 21 22 23 24 25 26 27 28 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow