Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Mrmr Quark

    ... number between 0 and 1, 1 producing the most smoothing @*/ this.connect; amount.clip(0,1); this.net.sendRaw("/mrmrIB mrmr_setAccelerometerSmoothingAmount:"++amount++"\n"); } accelerometerRate { |miliseconds| /*@ desc: Sets the update rate o ...

  2. 07-Mix-it-Up Doc

    ... for mul, thus ensuring that the final output will be between -1 and 1, and not clip. There's another handy class called Mix, which will mix an array of channels down to a single channel or an array of arrays of channels down to a single ar ...

  3. CVCenterPreferences Quark

    ... lue_(active); }); cBox; }; buildNumTextBox = { |view, val, kind, width, height, clip| var ntBox; case { kind === \text } { ntBox = TextField(view, (width ?? { 30 }) @ (height ?? { 20 })).string_(val); } { kind === \num } { ntBox = NumberBox ...

  4. 3_MTP_asNTMIPads Quark

    ... x); }; }; if (mypadindex.notNil) { q.mtp.padvals.put(mypadindex, (xys[2] * 0.7).clip(0, 1)); // q.mtp.padvals.round(0.001).postln; }; } { if ([\move, \full].includes(q.inph.mode) ) { myimukey = q.mtp.imumap[id]; myimukey ?? { numfingers = M ...

  5. XiiMasterEQ Quark

    ... add( NumberBox( view, 40@14 ).font_( eq[ \font ] ).value_( eq[ \frdb ][i][0] ) .clipLo_(20).clipHi_(22000) .action_({ |vw| eq[ \frdb ][i][0] = vw.value; eq[ \send_current ].value; eq[ \uvw ].refresh; eq[ \pumenu_check ].value; }) ); GUI.sta ...

  6. fast fm windchimes 4 fealty by scitotils (s2s2s2s2s) Code

    ... dist={ |lo,hi,dist| (lo+(dist.windex/dist.size*(hi-lo))).clip(lo,hi).asInt }; play(r({ var buf1,buf2; buf1=Buffer.alloc(s,1024); buf2=Buffer.alloc ...

  7. VGSpecEditor Quark

    ... "KeyBus: assuming index for poly bus is 0.".inform; }; inIndex = (inIndex ? 0).clip(0, inBus.values.first.size - 1); this.polyBus_(inBus, inIndex); ^this }; } setMulTree { |tree, setBase = true, inIndex| if (tree.isNil) { mulTree = nil; th ...

  8. GUI-Introduction Doc

    ... char, modifiers, unicode,keycode; if (unicode == 16rF700, { value = (value+0.1).clip(0,1) }); if (unicode == 16rF703, { value = (value+0.1).clip(0,1) }); if (unicode == 16rF701, { value = (value-0.1).clip(0,1) }); if (unicode == 16rF702, { ...

  9. Decay2 Doc

    ... ckTime: t60 * riseFac, decayTime: t60, mul: normFac ).ampdb.max(-120) // to dB, clip -inf }, duration: t60, minval: -60 ).superpose_(true) .axisLabelY_("dB") .axisLabelX_("Time (s)") ) ⧉ ✔ Calculating rise time and maximum rise time of Deca ...

  10. ProteinBioSynthesis Quark

    ... ing.size; (size div: 3).do({ arg i; var triplet, value, j; i = i * 3; j = (i+2).clip(i, size); triplet = string.copyRange(i, j); value = this.translate(triplet); if(verbose) { postf("% ... % : %", triplet, value, aminoacids.at(value)) }; if ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow