Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (4875) Code (274) Doc (1418) Help (390) Quark (2775) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. CapSerial Quark

    ... rue; "CapSense tare mode. Actions disabled.".inform; }, { capTareMode = false; "Set capMinMax to\n\t%;\n".postf(capMinMax.asCompileString); }); } pr_normalizeCap {|arr| ^arr.collect { |val, i| val.linlin(capMinMax[i][0], capMinMax[i][1], 0, ...

  2. Wait Quark

    ... .postln; }; ) ~task.play; // after 5 seconds ~waitX.time = 0; // stop asap // reset wait time while waiting ~waitX.time = 12; // immediate stop: ~waitX.time = 0; // set a checkFunc: ( a = 20; ~waitX.checkFunc = { |wait| "check: ".post; (a < ...

  3. divide Quark

    ... ed. -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ HybridUMapDef( \divide, { |input = 0.0, divide = 1.0, negative = 0, factor = 0| var sig; UMapDef.useMappedArgs = false; // use raw values instead of mapp ...

  4. helper-funcs Quark

    Library.put(\clLivecode, \setupbars, \addToDoc, Main.versionAtLeast(3, 7) and: { Platform.ideName == "scqt" }); // common helper funcs // when GUI window is front, /bars.(...) should NOT affect current document Library.put(\clLivecode, \set ...

  5. multiply Quark

    ... ed. -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ HybridUMapDef( \multiply, { |input = 0.0, multiply = 1.0, negative = 0, factor = 0| var sig; UMapDef.useMappedArgs = false; // use raw values instead of ...

  6. multiply Quark

    ... ed. -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ HybridUMapDef( \multiply, { |input = 0.0, multiply = 1.0, negative = 0, factor = 0| var sig; UMapDef.useMappedArgs = false; // use raw values instead of ...

  7. p_choose Quark

    ... ted -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ var defs; defs = [ 4,8,12,16,24,32,48,64,128 ].collect({ |n| UPatDef( n, { |unit, vals, histSize = 0, seed| { var index, size, arr, nn; thisThread.randSe ...

  8. ModernLife Quark

    ... block, so timing is accurate for sonification purposes. fps_(arg1) fps You can set the speed of animation (and generation) with this. Default is 10fps (10 generations per second). Doing Some Task (optional) setRule (argRuleString) Sets the ...

  9. PolyLine Quark

    ... r c1, c2; c1 = item[1] ? item[0]; c2 = item[2] ? points.wrapAt(i+1); pointColor.set; Pen.addArc( item[0], dotRadius, 0, 2pi ).fill; controlColor.set; Pen.addArc( c1, dotRadius, 0, 2pi ).fill; Pen.addArc( c2, dotRadius, 0, 2pi ).fill; if( it ...

  10. bufPerc Quark

    ... ied within the chuck operation. Once you're doing that, it's a simple matter to set other parameters the same way. bufPaths: One or more samples are permitted (for example, a high hat process might need open and closed samples). Here, give ...

prev 161 162 163 164 165 166 167 168 169 170 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow