-
// for networking MIDI MIDI2OSCSocket : AbstractMIDISocket { var <addr, <latency, <port, <channel, <controllers; var <baseTime; init { |argPort, argChannel, argLatency, doControls = true| addr = destination; port = argPort; // port should b ...
-
OSCReceiver An object for remote controlling scLang by any other application through OSC-messages. Uses [ OSCReceiverFunction ] as controllable objects. *new(name, addr) new instance listening for messages of type name from addr. start star ...
-
... : // typed, menu, button, hidcmd posted on radpost (main document) // gui, hid, osc posted on radpostcont (post window) // code called directly from SuperCollider code // ide run by hand in the IDE (plain SuperCollider) // The channel is ra ...
-
n = NetAddr.new( "127.0.0.1", NetAddr.langPort ); OSCdef( \test, { |msg| msg.postln; }, "/test", argTemplate: [ 0 ] ); n.sendMsg( "/test", 0, 2 ); n.sendMsg( "/test", 1, 1 ); OSCdef( \test, { |msg| msg.postln; }, "/test", argTemplate: [ "he ...
-
... / Wrapper class around message format, for (de)-serializing messages // from/to OSC messages, with access to data members. SCLOrkChatMessage { // Server-assigned unique sender identifier. var <>senderId; // Array of recipient Ids, if [ 0 ] ...
-
... preamp; var in, sig, mods; in = In.ar(bus, numInChan) * preamp; mods = { |i| SinOsc.kr(speed * rrand(0.9, 1.1), ph_diff * i, depth, predelay); } ! (numDelays * numOutChan); sig = DelayC.ar(in, 0.5, mods); Mix(sig.clump(numOutChan)) }, [\aud ...
-
... lt], modifierCocoa: KeyDownActions.arrowsModifiersCocoa[\alt] ) ); scFunc = "// OSCCommands gui\n" ++ { OSCCommands.front }.asCompileString; shortcuts.put( 'alt + c', ( func: scFunc, keyCode: KeyDownActions.keyCodes[$c], modifierQt: KeyDown ...
-
... Cues { classvar <globalClock; var <>clock, <guiInstance; var <timelineRegister, oscTriggerFunc; var midiFuncRegister; *new { ^super.new.init; } *initClass { globalClock = TempoClock(120/60, queueSize: 2048 * 2).permanent_(true); } init { su ...
-
... ollins //experimental, no guarantees //base class for trace, will support Post, OSC and File Out //compensate can be s.latency for enaction at same time as Server event. If ping time> s.latency, must allow for this //CutBuf3, CutStream1 et ...
-
... 5 ( SynthDef("ana_kick", { arg out=0, pan=0, amp=0.1; var env, env2, env3, pch, osc, noise, outS; env = EnvGen.kr(Env.perc(0, 0.20, 1, -4), doneAction:2); env2 = EnvGen.kr(Env.new([60,3,0],[0.08,0.16],[-18,-5])); env3 = EnvGen.kr(Env.new([0 ...