Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1703) Code (71) Doc (521) Help (167) Quark (932) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. AmbisonicsSC2 Plugin

    ... terior localization stuff after joe anderson // BFEncode.ar takes a polar (or a point), where rho of 1 is the speaker radius. BFEncode { classvar <methodReqs=#['Array.stripz']; // var <>w, <>x, <>y, <>z; // W = sig * -3.dbamp // X = sig * c ...

  2. SCEnvelopeEdit Plugin

    ... am //// lance@uwalumni.com // //SCEnvelopeEdit : SCEnvelopeView { // var <env, <pointsPerSegment, viewPoints; // var <minLevel, <maxLevel, <minTime, <maxTime, totalDurRec, absTimes, numPoints; // // *viewClass { ^SCEnvelopeView } // // *new ...

  3. MCLDTreeUGens Plugin

    ... Integer // (Don't use the "pathInt" arg, it's used for recursion.) *classify { |point, treedata, pathInt=1| var node = treedata[pathInt - 1]; // note the minus one, it's because the indexing has to start at 1 not 0 var result = sumF((point ...

  4. JoshPV Plugin

    ... buffer, playbuf, rate, offset, loop, binStart, binSkip, numBins, clear); } } // point is a value between 0.0 (beginning) and 1.0 (end) PV_BufRd : PV_ChainUGen { *new { arg buffer, playbuf, point = 1.0; ^this.multiNew('control', buffer, play ...

  5. Ambisonics Plugin

    ... } checkInputs { ^this.checkNInputs(2) } } BFEncode2 : BFPanner { *ar { arg in, point_x = 1, point_y = 1, elevation=0, gain=1, wComp = 0; ^this.multiNew('audio', in, point_x, point_y, elevation, gain, wComp ) } init { arg ... theInputs; inp ...

  6. SOMTrain Plugin

    ... { scales = scales.dup(numchans) }; // Apply the rotation array = array.collect{|point| spinmatrix.collect{|spincol, scindex| (point * spincol).sum * scales[scindex] + offsets[scindex] } }; ^array } *initBufGridRand { |buf, netsize, numdims, ...

  7. SOMTrain_2D_example Plugin

    ... e ~errorvals.plot(maxval: nil , minval: nil ); // Now let's look at the mesh of points represented by the SOM. Do they fit the training data? // Here's a pure SC plot, the colouring of the points representing the third dimension - you shoul ...

  8. SOMTrain_3D_example Plugin

    ... e ~errorvals.plot(maxval: nil , minval: nil ); // Now let's look at the mesh of points represented by the SOM. Do they fit the training data? o = OctaveSC .new; o.init; ( ~som.loadToFloatArray(action: { |arr| var x, y, w, z; x = arr[0,4..]; ...

  9. vbap Plugin

    ... vec_angle(neg_v3, speakers[l])); /* if one of loudspeakers is close to crossing point, don't do anything*/ if((abs(dist_iv3) <= epsilon) || (abs(dist_jv3) <= epsilon) || (abs(dist_kv3) <= epsilon) || (abs(dist_lv3) <= epsilon) || (abs(dist_ ...

  10. SLUGens Plugin

    ... audio', input, p).madd(mul, add); } } //adding buffer to pass in nonrandom data point and mean start positions KmeansToBPSet1 : UGen { *ar { arg freq=440, numdatapoints=20, maxnummeans=4, nummeans=4, tnewdata=1, tnewmeans=1, soft=1.0, bufnu ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow