-
... eated. This gives the impression that Patch is "an automatic gui for an Instr / SynthDef". If you do not supply arguments, it will make default ones, simple ones, but the real power of Patch is to supply functions with complex and varied in ...
-
... ext } }; // this very efficient bench { 100.do { y.next } }; // sound example ( SynthDef(\help_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, ...
-
... the filter cutoff with envarp Try all the things Made by Josh Mitchell 2/20. */ SynthDef("arpoctave", { arg //Standard Controls: out = 0, amp = 0.1, freq = 220, pan = 0, gate = 1, att = 0.3, rel = 1, crv = 0, //Arp Controls: (mix goes from ...
-
... ortion. Wet/Dry-function for better transient and cleaner fundamental. ( SynthDef("kicktrig", { arg in=0, gain=1, hpf=170,lpf=6500,tresh=0.01, minDur=0.01, lpfclick=7000, coef1=0.5, pitchkick=40, pitchrel=0.17, pitchmod=5, ...
-
... }); collstream << name; }); }); } } // kind of bizarre: \aSymbol.free frees the synthdef on all existing servers + Symbol { free { Server.set.do({ |server| server.sendMsg(\d_free, this) }); } asMode { ^Mode(this) ?? { Mode(\default) } } prM ...
-
... ; synths[index].set(\amp, amp * value); }); nHarmo.do({ |index| synths[index] = SynthDef(\GMHarmo, { |freq, amp| var snd = SinOsc.ar(freq, mul: amp); Out.ar(0, snd!2); }).play(s, [\amp, amp * harmoAmps[index], \freq, freq * (index + 1)]); } ...
-
... )defining the source of the proxy. If nil , the proxy is returned unmodified. ( SynthDef(\Pdefhelp, { |out, freq, sustain = 1, amp = 1, pan| var env = EnvGen.kr(Env.perc(0.01, sustain), 1, doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(Sin ...
-
/* use like this: ( SynthDef( "test_map", { var sig, freq; freq = \freq.asSpecMapKr( Line.kr(0,1,10,doneAction: 2) ); Out.ar( 0, SinOsc.ar( freq, 0, 0.1) ); }).add; ) x = Synth( "test_map", [ \freq, [220,440,\exp].asSpec ] ); */ + ControlSp ...
-
/* use like this: ( SynthDef( "test_map", { var sig, freq; freq = \freq.asSpecMapKr( Line.kr(0,1,10,doneAction: 2) ); Out.ar( 0, SinOsc.ar( freq, 0, 0.1) ); }).add; ) x = Synth( "test_map", [ \freq, [220,440,\exp].asSpec ] ); */ + ControlSp ...
-
... nel // sound is pannable two chan stereo: ( s.latency = nil; // faster response SynthDef(\fmgr, { |out, amp=0.2, pan, freq=440, ratio=2.5, mod=3, modrat=0.5, sustain=0.1, rand=0.1, att=0.01| var ampComp = AmpComp.ir(freq.max(50), exp: 0.2) ...