-
... . // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more de ...
-
... /redFrik RedEfxTanh : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxTanh, {|out= 0, mix= -1, mul= 1, add= 0.05| var dry, wet; dry= In.ar(out, 2); wet= (dry*mul+add).tanh; ReplaceOut.ar(out, XFade2.ar(dry, wet, mix)); }, [0, lag, lag, la ...
-
... t modulating the bandpass filter ( SynthDef("dirt_bpf" ++ ~dirt.numChannels, { |out, bandqf = 440, bandq = 10| var signal = In.ar(out, ~dirt.numChannels); bandqf = bandqf * SinOsc.kr(XLine.kr(1, 30, Rand(0.2, 0.3)), Rand(0, 2pi), 0.1, 1); b ...
-
... single resulting * TextSequencer, which is then played using only one running Routine. */ ( Quarks.install("TextSequencer"); thisProcess.platform.recompile; ) If you'd like to use your local git checkout at e.g.'~/git/TextSequencer' instea ...
-
... an compare a number of input values against a single given value. The UMap will output the index of the value nearest to the 'nearestTo' value. vals: the values to test nearestTo: the value to compare to range: the output range as mapped to ...
-
//redFrik RedHuffman { classvar <>tree, <>dict, <>pad; *compress {|arr| var out, n0, n1; //--build a forest of small trees tree= List[]; arr.do{|val| var n= tree.detect{|x| x.key==val}; if(n.isNil, { tree.add((val -> 1)); //value and counte ...
-
... /redFrik RedEfxVerb : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxVerb, {|out= 0, mix= -1, room= 0.5, damp= 0.5| var dry, wet; dry= In.ar(out, 2); wet= FreeVerb2.ar(dry[0], dry[1], mix*0.5+0.5, room, damp); ReplaceOut.ar(out, wet); }, ...
-
... SynthDef(\ssplaybuf1, {arg buf, rate = 1, dur = 1, amp = 1, pan = 0, bend=nil, out = 0, startPos = 0, gate = 1; var ampctl = Control.names([\ampenv]).kr(Env.newClear(32).asArray); //ampenv parameter var antiClipEnv = Env.linen(0.005, dur, ...
-
... \ 1.wait; "233".scramble.postln \ \;\ \ ~t_mine.play;\ \ \ \ // normal envir \ ~out = 9;\ \ ~out + 10;\ \ // pattern proxy \ ~p_x = 5;\ \ ~p_y = ~p_x + 9;\ \ \ // instant combination of event pattern proxy with node proxy \ ~n_out = ~pe_y;\ ...
-
... , ampMods = 1, widthMods = 1, unfold = false| var freqs, dBs, amps, widths; var out; #freqs, dBs, widths = vowel.asArray; freqs = freqs * freqMods; amps = dBs.dbamp * ampMods; widths = widths * widthMods; out = [freqs, widths, amps].flop.co ...