Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (101) Code (6) Doc (30) Help (20) Quark (45) SCDoc ↗ Forum ↗ Google ↗
  1. lessorequalthan Help

    ... and looks for a transition from > 0.2 // to < 0.2 SynthDef ( "help-<= trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) <= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .n ...

  2. Spawning Doc

    ... k. t.pause; // Same as t.stop ⧉ ✔ TSpawn's functionality can be replicated with SendTrig and OSCFunc . See their individual helpfiles for details on their arguments and functionality. s.boot; ( // this Synth will send a trigger to the clien ...

  3. Debugging-tips Help

    ... tions. There are a handful of techniques to expose the output of various UGens. SendTrig / OSCresponderNode SendTrig is originally intended to send a trigger message back to the client, so the client can take further action on the server. H ...

  4. SharedOut Help

    ... the internal server use the get method of Bus (or /c_get in messaging style) or SendTrig with an OSCresponder or OSCresponderNode . bus - the index of the shared control bus to read from channelsArray - an Array of channels or single output ...

  5. SensorLog Quark

    ... kr( trig ); input = In.kr( inbus, 1 ); sample = PulseCount.kr( trig, t_reset ); SendTrig.kr( sample > ( BufFrames.kr(buffer) - 10 ), 0, 1 ); Logger.kr( [time,input], trig, buffer, t_reset ); }).send(s); // playback recorded sensor data // r ...

  6. envFollow Quark

    ... ggerLevel, timer = Timer.kr(trig), filteredTrig = (timer > debounce); //* trig; SendTrig.kr(filteredTrig, 0, env); };

  7. Algorithmic melancholy by ttsesmetzis (ttsesmetzis) Code

    ... .0, 20.0) ) * max( 0, LFNoise1.kr( 0.05, 0.6, 0.4 ) ) ; sig = sig * amp; SendTrig.kr( amp <= 0, i, i ); Pan2.ar( sig, 0.8.rand2 ) }.play } )

  8. zparticle1 Quark

    ... ostln }).add; o.remove; // when done, you need to clean up the OSCresponderNode SendTrig.kr(Impulse.kr(1), 0, freq); // in synthdef */ //o= nil; //enable this for debugging //if (o == nil, {o = OSCresponderNode(s.addr, '/tr', { |time, resp, ...

  9. envTrigger Quark

    ... gerLevel, timer = Timer.kr(trig), filteredTrig = (timer > envTrigger_debounce); SendTrig.kr(filteredTrig, 0, env); }; ~setup = nil;

  10. SyncCenter Quark

    ... // waits for an impulse var trig; trig = Trig1.ar( SoundIn.ar( in ) - 0.001 ); SendTrig.ar( trig, id, BlockOffset.ar( trig ) ); }); } *masterDefs { ^[SynthDef( "sync_master", { |out = 0, amp = 0.1, id = 99| var trig; trig = OneImpulse.ar; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow