-
... 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 ...
-
... rom the old SourceForge wiki. p = ProxySpace.push(s.boot); p.makeTempoClock; ~out.play; ~hh.play; ( SynthDef("lc", { arg out, freq, min, max, sustain=1; Out.kr(out, SinOsc.kr(Line.kr(freq, 0, sustain, doneAction:2)).range(min, max) ...
-
... (extension) | UGens > Analysis'>Analysis > Analysis>Pitch'>Pitch Tartini : MultiOutUGen : UGen : AbstractFunction : Object Extension pitch tracker Source: Tartini.sc See also: Qitch , Pitch Description This alternative pitch follower uses a ...
-
... ods Examples // just Hainsworth metric with low threshold ( SynthDef(\fftod, { |out| var source1, detect; source1 = SoundIn.ar(0); detect = PV_HainsworthFoote.ar(FFT(LocalBuf(2048), source1), 1.0, 0.0); Out.ar(out, SinOsc.ar([440, 445], 0, ...
-
https://soundcloud.com/user-52183734/sc-1707302 ( SynthDef("hihat", {arg out = 0, amp = 0.5, att = 0.01, rel = 0.2, ffreq = 6000, pan = 0; var env, snd; env = Env.perc(att, rel, amp).kr(doneAction: 2); snd = WhiteNoise.ar; snd = HP ...
-
... /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); }, ...
-
... us , Pgroup Description Embeds several event streams so that they form a single output stream with all their events in temporal order. When one stream ends, the other streams are further embedded until all have ended. NOTE: In order to full ...
-
... s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-magFreeze", { |out = 0| var in, chain; in = SinOsc.ar(LFNoise1.kr(5.2, 250, 400)); chain = FFT(LocalBuf(2048), in); // moves in and out of freeze chain = PV_MagFreeze(chain, S ...
-
... there was in SC2. SynthDefs can also be compiled and loaded into the Server without writing them to disk. This can be done while performing. The downside of this is that precompiled SynthDefs lack some of the programmatic flexibility that w ...