Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... e('runCode'); MFdef(\do_it).disable('runCode'); //////// use this MFdef for the OSCFunc listener as well q.oscRouter.addResp(\do_it, MFdef(\do_it));

  2. ReadWriteBufSndFile Quark

    ... } freeBuffer { |buf, action| if( buf.notNil ) { if( UEvent.nrtMode != true ) { OSCFunc({ |msg, time, addr, recvPort| buf.freeMsg; // cleans up internally action.value( buf ); }, '/done', buf.server.addr, nil, ['/b_free', buf.bufnum ] ).one ...

  3. InputMetersCP Quark

    ... (" " ++ (i+1+options.monitorInOffset), 20).align_(\center); }; oscInputLevels = OSCFunc({arg msg; var curMsg = 3; { options.monitorInChannels.do{ arg chan; inLevelArray[chan].value = msg[curMsg].ampdb.linlin(-75, 0, 0, 1); inLevelArray[chan ...

  4. osc_multioutput_example Quark

    ... eate the output ) ); ); ); m = MKtl( \example, ~desc ); m.mktlDevice.destDevice OSCFunc.trace( true ); m.elementAt( \motor ).value_( 1 ); m.elementAt( \led, 0 ).value_(0.3) m.elements m.elementAt( \led, 0 ).value_( 0.5 ); m.elementAt( \led, ...

  5. chord-vc Quark

    ... \exponential], [0, 2*pi], [0.1, 10, \exp, 0, 1]]); ( { var makeSynth = { |name, oscfunc, n(6)| SynthDef(name, { |out, /*gate = 1,*/ freq = 440, detun = 1.008, // pWidth = 0.254, ffreq = 2000, gain = 0, fegRatio = 3, fAtk = 0.005, fDcy = 0.2 ...

  6. TestChannelLayout Quark

    ... 'addToTail'); // when recorder synth sends /n_end message, unhang the condition OSCFunc({ cond.unhang }, '/n_end', server.addr, argTemplate: [recorder.nodeID]).oneShot; server.sync; timeout = fork { 3.wait; cond.unhang }; // trigger the rec ...

  7. 6chLoopbuff Quark

    ... ong with this program. If not, see <http://www.gnu.org/licenses/>. /* 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 ...

  8. NMLJackTrip Quark

    ... gForClient {|nickname, port| var pingTask; numActivePings = numActivePings + 1; OSCFunc({|msg| // msg is [/launchJackTripClient, serverName, port] "///// UtopiaJackTrip client for % has been launched\n\n".postf(nickname); numActivePings = n ...

  9. OutputMetersCP Quark

    ... .stringColor_(Color.fromHexString("#A0A0A0")); label.string = i+1; }; /* create oscfunction */ oscOutputLevels = OSCFunc({arg msg; var curMsg = 3; { options.monitorOutChannels.do{ arg chan; outlev[chan].value = msg[curMsg].ampdb.linlin(-75, ...

  10. 3chLooper 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow