-
... default.tempo = cps; }; latency !? { Server.default.latency = latency; } } ); ( SynthDef(\sinegrain, { | out=0, freq=440, sustain=0.05 | var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.a ...
-
SynthDef('grainXLine', { arg out = 0, freq=800, sustain=0.01, amp=0.5, pan = 0.0; var window; window = Env.new([ amp, 0.001 ], [ sustain ], 'exponential'); Out.ar(out, Pan2.ar( (SinOsc.ar(freq) * EnvGen.ar(window, doneAction:2)).clip2(1), p ...
-
... }, nil], ) ); var interp2 = interp.deepCopy(); SynthDef(\kalimba, { |out = 0, freq = 440, amp = 2, mix = 0.2, rel = 1.4| var snd, click; // Basic tone is a SinOsc snd = Si ...
-
Debugging tips Debugging synthdefs Debugging client-to-server communication Debugging client code Debugging synthdefs The challenge in debugging synthdefs is the invisibility of the server's operations. There are a handful of techniques to ...
-
... ar usr= UserView(win, Rect(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }).add; SynthDef(\part, {|ou ...
-
... ar usr= UserView(win, Rect(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }).add; SynthDef(\part, {|ou ...
-
... ods new Inherited class methods Instance methods numChannels storeArgs bus addToSynthDef instrArgFromControl readFromBusToBundle stopReadFromBusToBundle rate guiClass Inherited instance methods Classes (extension) | Mx MxArJack Extension A ...
-
... Boss OC-2 pedal, sc-users 060723 RedEfxOcta : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxOcta, {|out= 0, mix= -1, fc= 440, oct1= 1, oct2= 0| var dry, wet, o1, o2; dry= In.ar(out, 2); wet= LPF.ar(dry, fc); o1= ToggleFF.ar(wet); o2= To ...
-
... zz http://sccode.org/1-523 Modified by Bruno Ruviaro and Josh Mitchell 8/19. */ SynthDef("hihatElectro", { arg out = 0, pan = 0, amp = 0.3, att = 0.001, rel = 0.3, curve = -8, filterFreq = 4010, rq = 0.56; var env, snd; // noise -> resonanc ...
-
... tgt, addAct; var synth, fxOn, onOffButt, inbuspop, outbuspop; *new { arg name, synthdef, param, ch, creator, setting=nil, one2two=false; ^super.new.initGUI(name, synthdef, param, ch, creator, setting, one2two); } initGUI { arg name, synthd ...