Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

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

  4. SplineOsc Quark

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

  5. 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); ...

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

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

  8. File Help

    ... lue), so moves to a given location from the beginning of the file. the value is clipped so that it lies between 0 inclusively and the file length exclusively. length returns the current file size in bytes Examples: // write some string to a ...

  9. ATKDef Quark

    ... rect = OssiaAutomationProxy(parentOssiaNode, "Directivity", Float, [0, 90], 0, 'clip', critical:allCritical); direct.node.unit_(OSSIA_angle.degree).description_("ATK B-Format only"); ^[direct]; } setAction { | parentOssiaNode, source | pare ...

  10. Pitch Help

    ... wer executes periodically at the rate specified by execFreq in cps. execFreq is clipped to be between minFreq and maxFreq . First it detects whether the input peak to peak amplitude is above the ampThreshold . If it is not then no pitch est ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow