-
( s.waitForBoot({ SynthDef(\1, { Out.ar(\out.ir(0), DC.ar([1, 1])) }).add; SynthDef(\2, { \in.ar([0, 0]).poll }).add; s.sync; s.bind { var bus, s1, s2; bus = Bus.audio(s, 2); s1 = Synth(\1, [\out, bus.index]); s2 = Synth(\2, [\in, bus.busAr ...
-
/* \leakDC Removes DC offset from signal. cutFreq: frequencies below the cutFreq (Hz) will be reduced or removed. A lower cutFreq will make the DC offset removal less effective, a higher cutFreq will result in better offset removal but also ...
-
/* \leakDC Removes DC offset from signal. cutFreq: frequencies below the cutFreq (Hz) will be reduced or removed. A lower cutFreq will make the DC offset removal less effective, a higher cutFreq will result in better offset removal but also ...
-
... ; ( s.plotTree; a = AlgaNode({SinOsc.ar(\f.kr(440)) * 0.2}).play; b = AlgaNode({DC.kr(220)}); c = AlgaNode({LFNoise1.kr(1).range(200, 1000)}); ) a <<.f b //a <<+.f b would be the same: i don't wanna keep the default when stacking! a <<+.f c ...
-
PDC: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | Streams-Patterns-Events > UGenPatterns'>UGenPatterns > UGenPatterns>Generators'>Generators PDC Ext ...
-
... th for bufnum - static at ~b1 bufnum b= SynthDef("buf", {Out.ar(r.bufBus.index, DC.ar(~b1.bufnum))}).play; //create lfo synth for rate - slowly rising c= SynthDef("rate", {Out.ar(r.rateBus.index, LFSaw.ar(0.1, 0, 0.1, 1))}).play; //create l ...
-
... th for bufnum - static at ~b1 bufnum b= SynthDef("buf", {Out.kr(r.bufBus.index, DC.kr(~b1.bufnum))}).play; //create lfo synth for rate - slowly rising c= SynthDef("rate", {Out.kr(r.rateBus.index, LFSaw.kr(0.1, 0, 0.1, 1))}).play; //create l ...
-
... od = BinaryOpUGen('==', CheckBadValues.ar(item, i, post), 0); Select.ar(good, [ DC.ar(0), item ]); }); if( res.size > 1 ) { ^res; } { ^res[0]; }; } *kr { |in, post = 2| var res; res = in.asArray.collect({ |item, i| var good; good = BinaryOp ...
-
... testfuncs, testOutput, numTestSamps, sumWin = 30; testfuncs = [ { RunningSum.ar(DC.ar(1), sumWin) }, { MovingSum.ar(DC.ar(1), sumWin, sumWin) } ]; this.bootServer(Server.default); numTestSamps = Server.default.sampleRate / 2; // ramp up to ...
-
... .ar(\freq.ar([440, 441]).poll) * EnvGen.ar(Env.perc(0.01, 0.1), doneAction:2) * DC.ar(0.5) }).add; AlgaSynthDef(\testImpulse, { //FreeSelf.kr(Impulse.kr(0)); EnvGen.kr(Env.perc(0.01, 0.5), doneAction:2); (Impulse.ar(0) * \amp.kr(1)).poll }) ...