-
... 300, w, world, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, fm= 1, beat= 1, amp= 0, pan= 0, gate= 1| var z, e; e= EnvGen.ar(Env.asr(0.01, 1, 0.02), gate, doneAction:2); z= SinOsc.ar(freq+SinOsc.ar(fm, 0, beat), 0, Lag.kr ...
-
... { arg xlow, xup, xmin, fxlow, fxup, fxmin; var golden = 0.3819660, xc, xl, xr, fm, wlow, wup, xn, fn, iter = 0, maxIter = 100, epsAbs = 0.001, epsRel = 0.001, absMin, continue = true; while({ continue and: { iter < maxIter } }, { xc = xmin ...
-
... x = Matrix.newFrom(x0) } { x = Matrix.newFrom(x0.clump(1)) }; formatMatrix = { |fm,xm,pm,cs| var ft,jt; ft = fm collect: _.(xm.asArray.flop.flatten,pm); ft = (fm.size > 1).if { Matrix.newFrom(ft.clump(cs)) } { Matrix.newFrom(ft) } }; f = fo ...
-
/* Retrieved from: http://sccode.org/1-522 FM Rhodes Synthesizer by Nathan Ho (snappizz) Native SuperCollider port of STK's Rhodey. This should be preferred over the StkInst version because: - It uses much less CPU. - It is easier to modify ...
-
... ~emptyFormantStateV548.(trackIdx) }; oldFreq = old[\freq] ? 0.0; detected.do { |fm, fmIdx| var cost, orderPenalty, gainPenalty; cost = if(oldFreq > 0.0 and: { (old[\confidence] ? 0.0) > 0.05 }) { (fm[\freq].max(20.0).log2 - oldFreq.max(20.0 ...
-
... inima. Those minima are good scale steps. This class is currently optomised for FM, but subsequent versions will calculate spectra for Ring Modulation, AM Modulation, Phase Modulation and combinations of all of those things. ``` ( s.waitFor ...
-
... 5), doneAction:2) }).add; AlgaSynthDef(\test2, { Saw.ar(\freq.kr([440, 441]) + \fm.kr(10)) * EnvGen.ar(Env.perc(0.01, 0.5), doneAction:2) * 0.5 }).add; s.sync; a = AlgaPattern(( def: \test, dur: 0.25, freq: 440 ), playTime:2).play; }); ) a. ...
-
... idth= 300, height= 300, w, wgrav, world, n= 10, synths; //--synthesis SynthDef(\fm, {|out= 0, t_trig= 0, dur= 0.5, freq= 400, freq2= 606, amount= 10, amp= 1, pan= 0| var e, z; e= EnvGen.kr(Env.perc(dur*0.01, dur), t_trig); z= BPF.ar(LFSaw.a ...
-
... , 1), ), dur: Prand([0.5, 1, 2], inf) )); //The AlgaNode to modulate using both FM and AM ~sine = AlgaNode({ SinOsc.ar(\freq.ar(440!2)) }, [\freq, ~seq.freq, \amp, ~seq.amp]).play; }); )
-
... 5), doneAction:2) }).add; AlgaSynthDef(\test2, { Saw.ar(\freq.ar([220, 221]) + \fm.ar(10)) * EnvGen.ar(Env.perc(0.01, 0.5), doneAction:2) * 0.5 }).add; s.sync; a = AlgaPattern(( def: Pseq([\test, \test2], inf), dur: 0.25, freq: Pseq([440, 2 ...