Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (117) Code (9) Doc (43) Quark (65) SCDoc ↗ Forum ↗ Google ↗
  1. Satie Quark

    ... at_(bool); } disableOSC { this.enableOSC(false) } enableOSC { |bool = true| var oscDefs = this.osc.oscDefs; if (bool) { oscDefs.do { |i| i.enable } } { oscDefs.do { |i| i.disable } } } createDefaultGroups { this.makeSatieGroup(\default, \ad ...

  2. OSCFuncRecvPortMessageMatcher Doc

    ... sagePatternDispatcher to match incoming OSC messages to instances of OSCFunc or OSCdef using receive port. This class is private, and generally users should not need to address instances directly. Class Methods OSCFuncRecvPortMessageMatcher ...

  3. OSCFuncBothMessageMatcher Doc

    ... sagePatternDispatcher to match incoming OSC messages to instances of OSCFunc or OSCdef using receive port and sender address. This class is private, and generally users should not need to address instances directly. Class Methods OSCFuncBot ...

  4. WebRTCGUI Quark

    WebRTCGUI { var clientHost; var clientPort; var client; var <controllers; var oscDefName; *new {|clientHost="localhost", clientPort=57220| ^super.newCopyArgs( clientHost, clientPort, ).init; } init { client = NetAddr(clientHost, clientPort) ...

  5. capMeasure Quark

    ... e: { |d, dur = 4, displayRange| var count = 0; d.capvals = []; d.dts = Array[]; OSCdef(\capsMax, { |msg| var nuvals = msg.drop(1); var now = Main.elapsedTime; var dt = (now - (d.time ? now)).round(0.0001); d.time = now; if (count % 5 == 0) ...

  6. Tracking buffer .read and .free by 0-7r (jamshark70) Code

    ... titySet['/b_allocRead', '/b_allocReadChannel', '/b_read', '/b_readChannel']; OSCdef(\bufWatcher, { |msg, time, addr| var server, buf; case { readCmds.includes(msg[1]) } { server = Server.all.detect { |item| item.addr == addr }; ...

  7. step3-source Quark

    ... cLog.includes(\osc) and: { Ndef('track1').get('volume') == -30 } }, teardown: { OSCdef.freeAll } ); // GUI widgets get their source from their kind (Mac only: needs Qt). ~radTest.("gui-widget-sources", code: { ~radKinds = [PopUpMenu(), List ...

  8. 01_GuidedTour Quark

    ... systems for music, lights, visuals, etc // listen for a message called 'hello' OSCdef(\hello, { |msg| "hello message received!".postln; msg.postcs; }, \hello); // now make an address I can send to - my own: ~myaddr = NetAddr.localAddr; ~my ...

  9. 3_MTP_asNTMIPads Quark

    ... ymore. ///// needs to be moved to MKtl(\ntmi)! Quarks.install("MultiTouchPad"); OSCdef(\imu).func.value([\blabla] ++ (0.1!10)) ; // 8 times calcOutVals OSCdef(\xana).func.value([\qwer] ++ (0.2!16)); // only once */ if (q.hasGui and: { thisP ...

  10. 2_flatcat2_gui Quark

    ... oscConnect, nil, Color.grey(0.85)], [\connected, nil, Color.green]]) .action_({ OSCdef(\flatcat2mktl).enable }); Button(butzone, 80@20) .states_([[\flatcatSim, nil, Color.grey(0.85)], [\flatcatSim, nil, Color.green]]) .action_({ |b| var t = ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow