-
... Server { classvar <>default; var <>servers, <window, <>pointer = 0, <>hostName, synthDefDir; *new { |names, adresses, options, hostName, synthDefDir, clientID = 0 | // options and clientID are the same for every server ^super.new.init( name ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\prayer_bell, { |outbus, t_trig = 1, sing_switch = 0, freq = 2434, amp = 0.5, decayscale = 1, lag = 10, i_doneAction = 0| var sig, input, first, freqscale, mallet, sing; freqscale = freq ...
-
... zz http://sccode.org/1-57f Modified by Bruno Ruviaro and Josh Mitchell 8/19. */ SynthDef("neuroSnare", { arg //Basic Controls out = 0, pan = 0, amp = 0.1, freq = 160, curve = -4, preamp = 1.4, //Click Controls clickatt = 0.001, clicksus = 0 ...
-
... eed to clean up the OSCresponderNode SendTrig.kr(Impulse.kr(1), 0, freq); // in synthdef s.scope */ //o= nil; //enable this for debugging //if (o == nil, {o = OSCresponderNode(s.addr, '/tr', { |time, resp, msg| msg.postln }).add; }); ~name ...
-
... b, <>pbsfunc, <>dutycycle; var playdef; *initClass { StartUp.add({ 2.do({arg i; SynthDef.writeOnce(\ct1playbuf++((i+1).asSymbol),{arg bufnum=0,outbus=0,rate=1,dur=0.1; var playbuf, env; playbuf= PlayBuf.ar(i+1,bufnum,BufRateScale.kr(bufnum) ...
-
... reshold is the threshold of the Schmitt trigger. By Josh Mitchell June 2020. */ SynthDef("moreHarmonics", { arg // Standard Values out = 0, pan = 0, freq = 160, amp = 1, gate = 1, att = 0.05, dec = 0.1, sus = 0.6, rel = 0.7, crv = -2, // Ot ...
-
... alue); ref.changed; }) ); }; server.sync; isReady= true; }; } def { defString= "SynthDef('redMatrixMixer', {|in= 0, out= 0, lag= 0.05"; nOut.do{|i| var arr= 0.dup(nIn); if(i<nIn, {arr= arr.put(i, 1)}); defString= defString++", o"++i++"= #"+ ...
-
... , depth= 300, w, wgrav, world, n= 10, ss= 1.25, ff= 0.25, synths; //--synthesis SynthDef("fm3Dtest", {|out= 0, t_trig= 0, amp= 0.1, dur= 0.1, freq= 400, pan= 0, freq2= 600| Out.ar(out, Pan2.ar( EnvGen.ar(Env.perc(0.01, dur), t_trig) *SinOsc ...
-
... CObjectSpace, in this case to make local instances for remote Servers and share SynthDefs // as well as to share some parameters // here we will share some arbitrary objects // OSCObjectSpace makes local copies of archivable objects stored ...
-
... enindex; var file; var def; "Extracting onsets".postln; //mono input only def = SynthDef(\SCMIRAudioOnset,{arg playbufnum, length; var env, input; var fft, trig; var featuresave; var onsetoutput; env=EnvGen.ar(Env([1,1],[length]),doneAction ...