Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... out, layout: ( '/my': OSCMapperKeyValue(), )); ) // send a message to ourselves NetAddr("localhost", NetAddr.langPort).sendMsg("/my", "foo", 42, "bar", 2); // now access the elements via their key - .asNdef etc also works o['/my']['foo'].va ...

  2. Clock Difference by codepool (codepool) Code

    ... unction is ClientFunc calcClockDifference { arg remoteIP; if( NetAddr.testAddr(remoteIP) == true, { remoteAddr = NetAddr(remoteIP, 57120); // send to the remoteAddr sender = Client(\clockDiffSender, remoteA ...

  3. NMLAddressing Quark

    ... nce registered // uses dependancy to update interested parties // Peer spoofs a NetAddr for sending purposes Peer { var <name, <addr, <online; *new {|name, addr, online = true| ^super.newCopyArgs(name.asSymbol, addr, online); } *newFrom { | ...

  4. Shout Quark

    ... to an oscresponder listening to shared code, e.g.: // one machine listens ( n = NetAddr ( "127.0.0.1" , 57120); o.remove; OSCresponder (n, '/share' , { |time, resp, msg| var nametag = msg[1]; var messageStr = msg[2].asString; msg.postcs; // ...

  5. leap_geco.desc Quark

    ... ort 57120. - can check these in File -> Document settings. 3. in SC, check that NetAddr.langPort really is 57120 NetAddr.langPort; OSCdef.trace(false, true); OSCdef.trace(true, true); // catch all messages with OSCMon: o = OSCMon.new; // ma ...

  6. OSCdef Doc

    ... ence definition Source: ResponseDefs.sc See also: OSC Communication , OSCFunc , NetAddr Description OSCdef provides a global reference to the functionality of its superclass OSCFunc . Essentially it stores itself at a key within a global di ...

  7. DirtRemoteSoundFileInfo Quark

    ... recvPort: port).fix; } stop { responder.free; } sendRemoteSoundFileInfoReply { |netAddr| var info; info = this.convertBuffersToInfo(library); netAddr.sendMsg("/dirt_soundfileinfo_reply", *info); } convertBuffersToInfo { |library| var info = ...

  8. remote-control-dirt Quark

    ... tBus, tidalAddr); }, '/new_dirt', srcID: nil).fix; // srcID you may want to add NetAddr("127.0.0.1", <dirt-port>) // send OSC: "/remove_dirt", name OSCdef(\removedirt, { |msg, time, tidalAddr| var old, name = msg[1]; old = ~allChannels[name ...

  9. ClockAudioMulch Quark

    ... me as TempoClock.new except that it takes an additional argument addr. <>addr A NetAddr that specifies IP address and port of the AudioMulch program. <>tick An Integer that counts up indefinitely. Can be set to make AudioMulch jump in time. ...

  10. ReceiveTrig Quark

    ... { (source.class == Synth) or: { source.isNumber } } // Synth or nodeID { addr = NetAddr( source.server.addr.hostname, source.server.addr.port ); oscFunc = OSCFunc({ arg msg, time; if( removeAtReceive == true ) { this.free }; this.doAction( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow