Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. default-synths-extra Quark

    ... ar(Env.linen(0.05, 0.8, 0.15), timeScale:sustain, doneAction:2); var q1 = voice.linlin(0,2, 3.0, 0.5); var q2 = voice.linlin(0,2, 2.0, 7.0); freq = freq * DirtFreqScale.kr(speed, accelerate, sustain); sound = Splay.ar( VarSaw.ar(freq*[-1*de ...

  2. Assemblage Doc

    ... c(0,0,1,1,0); //with spec a.setFilterSpec([\track, 1, 1], \pitchDispertion, 100.linlin(0,127,0,1)); //also work with array and filterTag //get infomation about filter settings and spec a.collectSpecArr(a.findFilterTag(\track, 1, 1))[0][1]; ...

  3. CVWidget2D Quark

    ... ut(hilo, ()) }; midiOscEnv[hilo].oscMapping ?? { midiOscEnv[hilo].oscMapping = \linlin }; }); name ?? { name = "2D" }; // wdgtInfo = name.asString; // [parent, widgetCV, name].postln; if(widgetCV.isNil, { // "widgetCV.isNil".postln; widgetC ...

  4. Manta Quark

    ... spread of the intervals var sliders = g.buses.slider.kr; var root = sliders[0].linlin(0, 1, 30, 60); var spread = sliders[1] * 12; // all the mod controls var padBus = LagUD .kr(g.buses[ \pad ].kr, lag * 0.1, lag) * 2; var padRows = padBus ...

  5. In-between, longing by jpdrecourt (jpdrecourt) Code

    ... gate: t_trig); theBuf = Env([0, 0.9999], [release + attack]).kr(gate:t_trig).linlin(0, 1, firstBufnum, lastBufnum); sig = VOsc.ar(theBuf, freq); sig = BPF.ar(sig, freq, rq, 1/rq.sqrt); Out.ar(out, Pan2.ar(sig, pan, amp*env)); ...

  6. spawnSynthGranulizer by bateslewis (bateslewis) Code

    ... 1, 20, 239)); o = OSCFunc({arg msg; { ~levelIndicator.value = msg[3].ampdb.linlin(-40, 0, 0, 1); ~levelIndicator.peakLevel = msg[4].ampdb.linlin(-40, 0, 0, 1); }.defer; }, '/levels', s.addr); ~levelIndicator.warning = -6.dbamp; ...

  7. GUI-Introduction Doc

    ... ; //m.postln; ([256, 0].includes(m)).if{ // restrict to no modifier value = (x).linlin(0,v.bounds.width,0,1); v.doAction}; }; v.mouseMoveAction = v.mouseDownAction; // (5) (optional) define key actions v.keyDownAction = { arg view, char, mo ...

  8. ControlValue Quark

    ... ; end[key] = this[key].spec.unmap(fadeTo[key]); }; (rate * time).do { |i| i = i.linlin(0, rate * time, 0.001, 1, warp); this.setInputs(blend(start, end, i)); rate.reciprocal.wait; } }); fadeRoutine.play; } setInputs { |envir| var control; e ...

  9. Wavetable Builder with GUI by txmod (txmod) Code

    ... ostln; "// SC Env Levels: ".postln; d.arrPoints.collect({arg item; item.y.linlin(0, 1, -1, 1)}).postcs; "// SC Env Times:".postln; d.arrPoints.collect({arg item; item.x}).differentiate.keep(1 - d.arrPoints.size).postcs; "// S ...

  10. Tour-of-Special-Functions Doc

    ... eenBounds; cols = numCols ?? { plotters.size.sqrt.ceil.asInteger }; wscl = cols.linlin(1, 4, 0.5, 0.9); w = Window(title, Rect().width_(sb.width*wscl).height_(sb.height).center_(sb.center) ).view.layout_(vl).front; colbut = Button().states_ ...

prev 81 82 83 84 85 86 87 88 89 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow