-
... ]; q.names = [\def1, \def2, \def3]; [q.sources, q.names].flopWith{ |func, name| SynthDef(name, func).add }; q.synths = 15.collect{ [] }; //GUIS q.mpdwin = Window("MPD18 use case (JNCv2)").front; q.butvals = 0!4!4; q.buts = 4.collect { |i| 4 ...
-
... CObjectSpace, in this case to make local instances for remote Servers and share SynthDefs // as well as to share some parameters // make some peers and address books ( thisProcess.openUDPPort(3000); ~peer1 = Peer(\me1, NetAddr.localAddr); ~ ...
-
... ^genericObject; } //Parse an AlgaTemp parseAlgaTempParam { | algaTemp, functionSynthDefDict, topAlgaTemp | var validAlgaTemp = false; var def = algaTemp.def; var defDef; if(def == nil, { "AlgaPattern: AlgaTemp has a nil 'def' argument".err ...
-
... with GameOfLife WFSCollider. If not, see <http://www.gnu.org/licenses/>. */ WFSSynthDef { classvar <>pathInterpolation = 4; // 2 : linear; 4 : cubic (hermite) var <type, <configuration, <def, <>isSent = false, <>isLoaded = false; *new { |t ...
-
... ta.com //Released under GPLv3 License TimeStretch2 { *initClass { StartUp.add { SynthDef(\pb_monoStretch2_Overlap2, { |out = 0, bufnum, stretch = 100, startPos = 0, fftSize = 8192, fftMax = 65536, hiPass = 0, lowPass=0, amp = 1, gate = 1| v ...
-
... check to make sure it worked. ~chaos_array; ~chaos_array[0]; ~durations1; SynthDef.new(\droneSynth, { arg out = 0, // freq controls freq = 300, amp = 0.01, // env controls dur = 1, dur_env = 1, atk = 0.01, decay = 1, cr ...
-
... //////////////////////////////// *new { |server| ^super.new.init(server); } *addSynthDef { SynthDef(\SGME_patchNode, { arg fromBus, toBus, ganancy; // Entre 0 y 1; var sig = In.ar(fromBus) * ganancy; Out.ar(toBus, sig); }, [nil, nil, lag] ) ...
-
... ion; ⧉ ✔ Controlling a very simple sound process s.boot; // using a very simple SynthDef and Synth: ( SynthDef(\blippy, { var snd = Blip.ar( \freq.kr(440).lag(0.1), \numHarmonics.kr(100), \amp.kr(1.0).lag(0.1) ) * 0.5; Out.ar(0, Pan2.ar(snd ...
-
... = {|str| str.parseYAML} }{ parseFunc = {|str| Freesound2.parseJSON(str)}; }; }; SynthDef("fs2preview", {|buf, amp= 0.7| Out.ar(0,DiskIn.ar(1, buf, 0)*amp!2); }).store; server = Server.default; } *uri{|uri,args| ^(Freesound2.base_uri++uri.fo ...
-
... tening to data from the server // example from SendTrig ( s.boot; s.notify; ) ( SynthDef("help-SendTrig", { SendTrig.kr(Dust.kr(1.0), 0, 0.9); }).add; // register to receive this message a = OSCresponderNode(s.addr, '/tr', { |time, responde ...