Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ControlValue : NumericControlValue { var <inputSpec, <isOwned=false; var func, <oscFunc, <index=1; *defaultInputSpec { ^nil } index_{ |i| index = i; } src_{ | pathOrFunc, srcID, recvPort, argTemplate, dispatcher | inputSpec = inputSpec ?? { ...

  2. SendTrig Doc

    ... the server back to the client. Source: Trig.sc Subclasses: SendReply See also: OSCFunc , SendReply Description On receiving a trigger (a non-positive to positive transition), send a trigger message from the server back to the client. The t ...

  3. ddwOSCSyncClocks Quark

    ... ntil slightly later but I want to use it to filter tempo messages { tempoResp = OSCFunc({ |msg| this.tempo = msg[2]; }, '/ddwFollowClockTempo_', argTemplate: [id]); }.defer(0); ShutDown.add(this); } // removes the clock, so, clean up everyt ...

  4. sStream Quark

    ... , val); }; //--network setupOscResponders= { oscResponders= [ //--from sGreybox OSCFunc({|msg| metronomeOnElement.valueAction= 1-metronomeOnElement.value}, \metronomeOn, recvPort:oscPort), OSCFunc({|msg| metronomeElement.value= 1-msg[1]; ra ...

  5. NMLNetRecord Quark

    ... lag = true; addr = NMLNetAddrMP("255.255.255.255", 57120 + (0..6)); */ resp = [ OSCFunc({ |msg| var remoteRecName = msg[1]; if(this.recording.not) { this.record(remoteRecName) }; }, oscPath ++ "/startRecording").fix; OSCFunc({ |msg| this.st ...

  6. NMLClock Quark

    ... e, e.g. via NTP FollowerClock : Clock { var masterAddr, oscPath, scheduler, tickOSCFunc, <tempo = 1; var <beatsPerBar=4.0, barsPerBeat=0.25; var <baseBarBeat=0.0, <baseBar=0.0; *new {|masterAddr, oscPath = '/conductorClockTick'| ^super.newC ...

  7. OSCRouterClient Quark

    ... .addGroup(groupName, tcpRecvPort, this.serverAddr); // make existing funcs into OSCFuncs first, responderFuncs.keysValuesDo ({ |id, func| this.prMakeResp(id, func)}); // then do onJoined onJoined.value(this); // then what the join method pa ...

  8. 5_flatcat5_fwdSend Quark

    ... atcat.fwdAddrs = List[ NetAddr("192.168.4.195", 8999) ]; NTMI.flatcat.fwdFunc = OSCFunc({ |msg| NTMI.flatcat.fwdAddrs.do(_.sendMsg(*msg)); }, \flatcat).permanent_(true); NTMI.flatcat.fwdFunc.disable;

  9. Morph Quark

    ... already there oscResponders.notEmpty.if({ ^this }); }); oscResponders = ( \avg: OSCFunc({|msg, time| var myVals, myPrevVals, myDeviceVals, myDevicePrevVals; var name, deviceID, numContacts, x, y, force, dist, area, wX, wY, tForce, wDist; # ...

  10. SatieIntrospection Doc

    ... control parameters in real time as, similar to the get method , it is based on OSCFunc and works assincronously. Arguments: instanceName Source instance name used when the synth was created using the Satie: -makeSourceInstance method. cont ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow