Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (117) Code (9) Doc (43) Quark (65) SCDoc ↗ Forum ↗ Google ↗
  1. Scoring a movie with supercollider by 56228375 (56228375) Code

    ... sync; n = NetAddr("127.0.0.1"); // local machine; port left unspecified OSCdef(\startPattern).free; // free old OSCdefs that may still be around OSCdef(\startPattern, { | msg, time, addr, port | ("start pattern " ++ msg[1]). ...

  2. Receiving NIMate generated OSC messages by rev (rev) Code

    ... adapted to "OSC control" mode by changing "/Right_hand" and "Left_Hand" in the OSCDefs with the correct joint names. In that case You'd also need sigle channel buses. OSCDef and Bus definition and mapping could be of interest to whoever w ...

  3. OSC etude #1 by emergent (emergent) Code

    ... dAction:\addToTail); }); }; ~cleanup = { s.freeAll; Buffer.freeAll; OSCdef.freeAll; s.newBusAllocators; ServerBoot.removeAll; ServerTree.removeAll; ServerQuit.removeAll; }; // register functions ServerBoot.add(~make ...

  4. Simple Amplitude Tracker (language side) by rukano (rukano) Code

    ... tracker on scsynth Synth(\ampTracker); ( // receive the values in sclang OSCdef(\ampTracker, { |m| m.postln; // now use m[3] for your purpose (detecting changes, etc...) }, '/amp'); )

  5. Simple Amplitude Trigger (language side) by rukano (rukano) Code

    ... tracker on scsynth Synth(\ampTrigger); ( // receive the values in sclang OSCdef(\ampTrigger, { |m| m.postln; // now use m[3] for your purpose // or just fire up a synth from this function ;) }, '/ampTrigger'); )

  6. OceanTracker by scottintokyo (Scott L Simon) Code

    ... fs to read the sendReplies and put them into the array. Evaluate this... ( OSCdef.new(\tracker,{ arg msg; //~ocean.postln; ~ocean.add( msg[3]); if(~ocean.size>=8,{ ~ocean.pop; }); ~ocean.addFirst(msg[3]); }, '/ ...

  7. 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 }; ...

  8. wavetable interpolation drone by elifieldsteel (eli.fieldsteel) Code

    ... ply.kr(Impulse.kr(40), '/mouse', sig); 0 }.play(target:h); s.sync; OSCdef(\mouse, { arg msg; /* when SendReply sends a value to the language, use that value as an interpolation parameter and update the wavetabl ...

  9. sync looper by ovo (ovo) Code

    ... .rec.isRunning, {~loop.phasor.set(\t_stop, 1)},{Fdef(\loopRec).value}); }); OSCdef(\loopDur, {|m| var dur= m[3]*s.sampleRate; Fdef(\loopStopRec).value(dur); Fdef(\loopPlay).value; }, '\loopStopRec'); "SYNC_LOOP OK !".postln; }) ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow