Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1238) Code (32) Doc (255) Help (35) Quark (914) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. UPatternSpec Quark

    UPatternSpec : Spec { classvar <>specs; *initClass { specs = [ ArgSpec( 'sustain', 1, SMPTESpec(0, 3600), false, \init ), ArgSpec( 'timeToNext', 1, SMPTESpec(0.01, 3600), false, \init ) ]; } constrain { |value| value = value.asArray.wrapExt ...

  2. InstrBuilder Quark

    ... = builder.makeStack; }, { ~source = data; instr = data.makeStack; inps = instr.specs.collect({ arg spec, i; MxJack.forSpec(spec, instr.defArgAt(i) ) }); }); patch = Patch(instr, inps); connectors = patch.inputs.collect({ arg inp, i; if(inp ...

  3. MasterFX Quark

    ... t=0.8, postAmp=1 | Limiter .ar(in * limDrive, ampLimit) * postAmp ; } ); // and specs for them fof gui control. Spec .add( \leak , [0.5, 0.999, \exp ]); Spec .add( \clip , [0.0, 1, \amp ]); Spec .add( \pole , [0, 0.95, \lin ]); Spec .add( \ ...

  4. JInTController Quark

    ... lass a = JInTController .new Methods rawVals array of raw controller values. No specs assigned. One for each dimension. value(i) returns array of current normed values of controller. if i is Integer: returns current normed value i of contro ...

  5. extProxyPresetDialogs Quark

    ... ue].postln); view.items = this.getSetNames; view.value = prevVal; }; }); ^win } specsDialog { |keys, specDict| var w, loc, name, proxyKeys, specKeys; specDict = specDict ? specs; loc = loc ?? {400@300}; w = Window("specs please", Rect(loc.x ...

  6. InstrStack Quark

    ... ] if(instr.isSequenceableCollection, { # instr, inps = instr; }, { inps = instr.specs.collect({ arg spec, i; MxJack.forSpec(spec, instr.defArgAt(i) ) }); }); patch = Patch(instr, inps ); connectors = patch.inputs.collect({ arg inp, i; if(in ...

  7. mapping-to-proxies1 Quark

    ... pitch.scramble * formfact, pitch.scramble * widfact), spread) * amp; }); // add specs for all the parameter ranges - required! Spec.add(\intv, [0, 36, \lin]); Spec.add(\timescale, [0.001, 10, \exp]); Spec.add(\curve, [-10, 10]); Spec.add(\l ...

  8. MultiSplineFr Quark

    ... if(~recording, { v !? {sfr.setValueOnNextTick(v)} }) }.inEnvir); // needs PointSpec or ArraySpec inlets = [ MxInlet("setValueNow", 0, sfr.spec, rec) ]; outlets = Array.fill(~source.spline.numDimensions-1, { arg di; var lastVal, default=sfr ...

  9. AutoLoop Quark

    ... LFPulse .ar(pFreq + [detune, detune.neg], 0, pWidth).sum, 1500) , pan, amp) }); Spec .add( \pFreq , [2, 200, \exp ]); Spec .add( \pWidth , [0.01, 0.5, \exp ]); Spec .add( \detune , [0.01, 1, \exp ]); Ndef ( \test ).play; c = AutoLoop ( \tes ...

  10. ValueUMapDef Quark

    ... unc { |instartFunc, inendFunc| startFunc = instartFunc; endFunc = inendFunc; argSpecs = ([ [ \value, 0, ControlSpec(0,1) ], [ \active, false, BoolSpec(false) ], [ \u_spec, [0,1].asSpec, ControlSpecSpec(), true ], [ \u_useSpec, true, BoolSpe ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow