-
... l points, more of them where they are needed. // but its easier to just write a UGen to calculate the splines on the server in real time // would be unable to do it for other more complex continuous functions // but those are probably best ...
-
... 2) * EnvGen.kr( Env.new([1,1,0], [0, 0.2], \lin, 0), gate, doneAction:2); pos = UGen.buildSynthDef.buildUgenGraph( posFunc ); //"% : %\n".postf( intType, pos.rate ); //SendTrig.kr( Impulse.kr( 0.5 ), 1, pos.x ); // checking //SendTrig.kr( I ...
-
... rect setting of StkGlobals. - It's beginner-friendly because it uses only basic UGens: SinOsc, EnvGen, Mix, Pan2, Out. Modified by Josh Mitchell and Bruno Ruviaro in July 2019 added more lfo controls, and fmHarmonic arg */ SynthDef(\FMRhode ...
-
... P(( def: Pif(Pfunc( { 0.5.coin }.lf ), //.lf is needed or it's interpreted as a UGen func { Saw.ar(\freq.kr(440).poll(1)) * EnvPerc.ar * 0.5 }, Pfunc( { \test }.lf ) //This is not actually parsed, but since it's using same parameters it wor ...
-
SmoothFoldQ wave folding pseudo ugen using parabolic segments Part of: miSCellaneous Wave folding using SmoothClipQ. Values outside the range lo - hi are folded back, if foldRange > 0. A larger foldRange means less folding whereas a smaller ...
-
SmoothFoldS wave folding pseudo ugen using sine segments Part of: miSCellaneous Wave folding using SmoothClipS. Values outside the range lo - hi are folded back, if foldRange > 0. A larger foldRange means less folding whereas a smaller fold ...
-
... st, hist = [], ttype; var cubic = { |i, y0, y1, y2, y3| // this is used by many UGens as "cubic" var c0, c1, c2, c3; c0 = y1; c1 = 0.5 * (y2 - y0); c2 = y0 - (2.5 * y1) + (2.0 * y2) - (0.5 * y3); c3 = (0.5 * (y3 - y0)) + (1.5 * (y1 - y2)); ...
-
... .domain.nextN(8) a.dual.next // nil, well.. (0..Dual(1, 0.2)) // this fails. // UGens { (Dual(1, 15) + Line.ar(0, 1, 0.01)).dual }.plot { (Dual(1, SinOsc.ar(100) * 20) + Line.ar(0, 1, 0.01)).dual }.plot // mappings Dual(0.5).linlin(0, 0.3, ...
-
... s; } *new { ^super.new.init } init { analysisMethods = (); } add { |name, type, ugenFunc| analysisMethods.put(name, { |sig, numChannels, soundfile, server, maxDataPoints| var buildFunc = basicAnalysisMethods.at(type); if(buildFunc.isNil) { ...
-
... i_out = 0| var result, rate; var gate, fadeTime; result = SynthDef.wrap(this).asUGenInput; rate = result.rate; if(rate == \audio and: { UGen.buildSynthDef.canReleaseSynth.not }) { gate = NamedControl.kr(\gate, 1); fadeTime = NamedControl.kr ...