Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (177) Code (68) Doc (37) Help (4) Quark (66) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. 101-particle-system_synth Quark

    ... 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 ...

  2. Minimization Quark

    ... { 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 ...

  3. RootFinder Quark

    ... 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 ...

  4. FMRhodes1 Quark

    /* 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 ...

  5. Core_03 Quark

    ... ~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 ...

  6. README Quark

    ... 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 ...

  7. TestPattern5 Quark

    ... 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. ...

  8. 122-collision_objects_synth Quark

    ... 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 ...

  9. AlgaSequencer Quark

    ... , 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; }); )

  10. TestPattern7 Quark

    ... 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 ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow