-
... dup(100).postcs; // rnddata = 100.collect{|v| (v*0.01).sin}; rndbuf = Buffer.loadCollection(Server.default, rnddata); 0.5.wait; Server.default.sync; // rndbuf.plot; [ [{ avgunit.kr(PlayBuf.kr(1, rndbuf), 1, rnddata.size); }, \kr, Server.def ...
-
... ; in = UIn.ar(0,1); in = BBandPass.ar( in, freq.clip(20,20000), bw ); in = in * DC.kr(1).blend( bw.explin(0.01,10,30,0,\none).dbamp, makeUp ); UOut.ar( 0, in ); }, addToAll: false, extraPrefix: "filter") .setSpec( \freq, \freq.asSpec ) .set ...
-
... r; } ) } *makeZeroSynthDef { SynthDef(\pbindFx_zero, { |out| ReplaceOut.ar(out, DC.ar(0)) }, [\ir]).store; } // like \pbindFx_zero, but makes order more clear when doing s.queryAllNodes while running *makeSplitZeroSynthDef { SynthDef(\pbind ...
-
... st { //Connect to test signal 1xAmplitude, fast pulse this.prCommand($=); } testDC { //Connect to DC signal this.prCommand($p); } test2AmpSlow { //Connect to test signal 2xAmplitude, slow pulse this.prCommand($[); } test2AmpFast { //Connect ...
-
... are random based on prime numbers, and can be posted to keep magical ones. */ AdCVerb { classvar <>verbose = false, <>maxTime = 0.2; // Initialize comb table for longer reverberations // "// combs: ".post; // try creating good prime number ...
-
... es, phases; ^Signal.newClear(size).cosineFill(amplitudes, phases).normalize } addCosine { arg harmonicNumber = 1, amplitude = 1.0, phase = 0.0; ^this.addSine(harmonicNumber, amplitude, phase + 0.5pi) } cosineFill { arg amplitudes, phases; t ...
-
... = 0.0; i[topBin .. r.size - topBin] = 0.0; r[0] = 0.0; i[0] = 0.0; // also kill DC Complex(r, i) }, tenPctSlope: { |fft, topBin| var r = fft.real.copy, i = fft.imag.copy; var half = (topBin * 0.05).asInteger; var step; // number of items = ...
-
... ttps://tech.ebu.ch/docs/tech/tech3343-v2.pdf). Samples generally shouldn't have DC offset, although e.g. some kick drum samples naturally have non-zero mean. For more advice, you could [join the discussion here](https://github.com/tidalcycl ...
-
AdCVerb a simple reverb based on Schroeder and Moorer/Loy models, tuned for low coloration, with some special tweaks. AdCVerb is a bank of comb filters going thru a bank of allpass filters, with optional predelay. Input filtering is provide ...
-
... // output is zero. When they happen to be the same, // output is 1. ( { var a = DC.ar(0.7); var b = SinOsc.ar(1).round(0.1); x = BinaryOpUGen('==', a, b); [a, b, x]; }.plot(1); ) // The sum (mix) of 6 LFPulses results in a complex wave // w ...