Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... = true; // place OSCResponder -- note that flow of control happens here resp = OSCFunc({ arg m, t; buffer.numFrames = m.at(2); buffer.numChannels = m.at(3); buffer.sampleRate = m.at(4); " done".postln; // must try here -- if completionFunc ...

  2. MidiControlUI Quark

    ... eView().minHeight_(120) ); }, { ^VLayout() }); } addMidiControlButtonListener { OSCFunc ({|msg| { var midiControlButtonIndex = msg[1]; 16.do({|item| if (item == midiControlButtonIndex, {midiControlButtons.at(item).states_([[item + 1, Color. ...

  3. SCLOrkCDT Quark

    SCLOrkCDT { var diagCallback; var diagOSCFunc; var cohortPQMap; var jitterTask; *new { |diagCallback| ^super.new.init(diagCallback); } init { |callback| diagCallback = callback; cohortPQMap = IdentityDictionary.new; diagOSCFunc = OSCFunc.ne ...

  4. sndBuffer2 Quark

    ... hort description ~function: the actual definition of the plugin */ /* debugging OSCFunc.trace(true); // show OSC RX OSCFunc.trace(false); z = OSCresponderNode(s.addr, '/tr', { |time, resp, msg| msg.postln }).add; z.remove; // when done, you ...

  5. osc_singleoutput_example Quark

    ... and use it as the device: m.openDevice( \host0_57120 ); // create a gui: m.gui; OSCFunc.trace( true ); // trace what is coming in // set a value: m.elementAt( \led ).value_( 0.6 ); m.elementAt( \led ).value_( 1.0.rand ); // rebuild when cha ...

  6. NodeProxyRolesSN Quark

    ... \args, args, \play, Pfunc { |e| s.sendMsg('/g_queryTree', proxy.group.nodeID); OSCFunc({ |msg| // slots 0-3 contain the command name and info on the group itself // we only need to know the ids of the synths within the group var subMsg = m ...

  7. RepAddrBook Quark

    ... itTree; }, 0.1) }); }; ^server } } RepHail : Hail { classvar <peerClass; var outOSCFunc; var <broadcastAddr, <skipJack; var <>numBroadcastPorts = 4; var <>gracePeriods = 5; // var <>infoSendFunc, <>infoReceiveFunc; makeOSCFuncs { var replyP ...

  8. SuperDirt-test Quark

    ... ceive tidal messages ... --------------------------------------------------- */ OSCFunc.trace(true, true); // see if network messages are coming in from tidal OSCFunc.trace(false); // stop tracing /* SOME CONTROL */ // access separate dirt ...

  9. PatternsInterplation Quark

    ... , bus.asMap, \amp, ~amp]); //Free the bus on Synth's end var algaInstantiated = OSCFunc.newMatching({ | msg | if(bus != nil, { bus.free; }); }, '/n_end', server.addr, argTemplate:[sine.nodeID]).oneShot; }); //Syncs to the thisThread.clock. ...

  10. zparticle1 Quark

    ... ong with this program. If not, see <http://www.gnu.org/licenses/>. /* debugging OSCFunc.trace(true); // show OSC RX OSCFunc.trace(false); o = OSCresponderNode(s.addr, '/tr', { |time, resp, msg| msg.postln }).add; o.remove; // when done, you ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow