Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

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

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

  4. HoaMatrix Quark

    ... rV rVdist = (xyzEncDirs * rVu).collect({ |item| // arccos(dot product) item.sum.clip(-1.0, 1.0).acos }); // (test) encoding directions vs rE rEdist = (xyzEncDirs * rEu).collect({ |item| // arccos(dot product) item.sum.clip(-1.0, 1.0).acos } ...

  5. 6chLoopbuff Quark

    ... 0, attackMs=0.01, releaseSecs=1, warp=5, transp=0, sampAzi=0, sampSpr=0, amp=1, clipBoostDB = 0, note = #[60, 1, 1] | var env, sig; var noteFq = (transp + note[0]).midicps; // using midi 60 == speed of 1, midi 48 == speed of var gate = abs ...

  6. allesAnAlle Quark

    ... ial'); Out.ar(out, Pan2.ar( (SinOsc.ar(freq) * EnvGen.ar(window, doneAction:2)).clip2(1), pan ) ) }).add; /***** s.sendMsg('/s_new', 'grainXLine', -1, 0, 0, \freq, 2000, \sustain, 1, \out, 0); *****/ SynthDef('grainXLRev', { arg out = 0, fr ...

  7. SplineOsc Quark

    ... on=0; var levels; levels = spline.bilinearInterpolate(divisions,dimension,true).clip(outSpec.minval,outSpec.maxval); ^LocalBuf.newFrom(levels); } }

  8. MoscaBase Quark

    ... prGetSource { | sourceNum | if (sourceNum.isInteger) { ^sources.get[(sourceNum.clip(1, sources.get.size)) - 1]; } { ^Error("index must be an Integer").throw; }; } prGetAuxIndex { | auxNum | if (auxNum.isInteger) { ^(auxNum.clip(1, 5) - 1); ...

  9. xtm Quark

    ... make encoder rotation endless var step = enc.deviceValue - enc.prevDeviceValue.clip(1, 126); // prepare for mode var enchat = m.elAt(\enchat, i); var enchatIsUp = enchat.isOn.not or: enchat[0].isOn.not; if (enchatIsUp) { // "// normal mode ...

  10. Core_z354_analyzer Quark

    ... .18 range (same as legacy pipeline) var normA = ((a / maxMag.max(1e-9)) * 0.18).clip(0.0, 0.18); pts.add([t, f, normA, ph]); }; pts }; // Helper: build [nFrames][25] bandEnergy from ATSResidual.bandEnergy buildBandEnergy = { |residual, numF ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow