-
... e: 1) // // based on Function-loadToFloatArray loadToBuffer { arg duration = 1, server, action, bufnum, args; var buffer, def, synth, value, name, numChannels; server = server ? Server.default; server.isLocal.not.if({"Function-loadToBuffer ...
-
... fied *new { arg defName, args, target, addAction=\addToHead, nodeID; var synth, server, addNum, inTarget; inTarget = target.asTarget; server = inTarget.server; addNum = addActions[addAction]; synth = Synth.basicNew(defName, server, nodeID); ...
-
... one without executing the code? - is this a security problem? ** ** sometimes myServer does not stop on Cmd.period, maybe it appears not local by accident? // test: { SinOsc.ar * 0.1 }.play(r.myServer); thisProcess.stop; // should stop sino ...
-
RandIDAllocator { classvar <>dict; *value { |server| var count; server = server ? Server.default; dict = dict ?? { IdentityDictionary() }; count = dict[ server ] ? -1; count = (count + 1).wrap(0, server.options.numRGens - 1); dict[ server ] ...
-
RandIDAllocator { classvar <>dict; *value { |server| var count; server = server ? Server.default; dict = dict ?? { IdentityDictionary() }; count = dict[ server ] ? -1; count = (count + 1).wrap(0, server.options.numRGens - 1); dict[ server ] ...
-
... at least terminal/control device) running: SCLang (client) maybe scsynth (sound server) maybe loudspeakers Servers which may run on distributed, e.g. other players computers, or on a central computer, typically with a multichannel speaker s ...
-
TestNodeProxy : UnitTest { test_load_init { var x, s; s = Server.default; s.quit; Ndef.clear; x = nil; Ndef(\x, { x = "rebuilt"; SinOsc.ar([661.1, 877.1, 551.1]) }); this.assert(x == "rebuilt", "when server isn't running, the SynthDef shoul ...
-
... ////////////////////////////////////////////// ATSSynth { var <>atsSound; var <>server; *new { |atsSound, server| ^super.new.init(atsSound, server); } init { |snd, srv| atsSound = snd; server = srv; if(server.isKindOf(Server).not) { server ...
-
... e it is freed */ BusPool { classvar <counts,<annotations; *alloc { |rate=\audio,server,numChannels=1,client,name| var prev,bus; bus = Bus.alloc(rate,server,numChannels); this.retain(bus,client,name); ^bus } *retain { |bus,client,name| count ...
-
... it is freed */ BusPool { classvar <counts, <annotations; *alloc { |rate=\audio, server, numChannels=1, client, name| var prev, bus; bus = Bus.alloc(rate, server, numChannels); this.retain(bus, client, name); ^bus } *retain { |bus, client, n ...