Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (496) Code (67) Doc (105) Help (40) Quark (281) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. EuroCollider Quark

    ... get range of our tuning lowestFreq = tFreqs.sort[0]; highestFreq = tFreqs.sort.reverse[0]; // search for closest indices fDistances = tFreqs - freq; closestIs = (0..fDistances.size-1).sort({|a, b| fDistances.abs[a]<fDistances.abs[b]; }); / ...

  2. Collections Doc

    ... s easy searching by both key and value. It is faster than IdentityDictionary on reverse lookup, but with more memory overhead. Environment is an IdentityDictionary , one of which is always current; useful for creating sets of persistent var ...

  3. Chen Doc

    ... eq=500.0; var sig = VarSaw.ar(chen.linexp(0.0,1.0,minfreq,maxfreq), width: chen.reverse.lag); sig = sig + FreqShift.ar(sig, chen.scramble.lag3 * 1.0) * 0.5; // Chen returns an array of values sot the ugen above is multi channel expanded amp ...

  4. JSONlib Quark

    ... rom // the post window error prone { v.isString } { v .replace("\\", "\\\\") // reverse solidus .replace("/", "\\/") // solidus .replace($", "\\\"") // quoatition mark .replace(0x08.asAscii, "\\b") // backspace .replace(0x0c.asAscii, "\\f") ...

  5. pathUtilities Quark

    + PathName { *documentDir { ^Crucial.documentDir } *standardizeDocumentPath { | p | /** * expand path relative to the documentDir */ var pathName, path; pathName = PathName(p.standardizePath); if(pathName.isRelativePath) { path = this.docum ...

  6. Fb1_ODEdef Quark

    ... (depth - 1, init_intType, t0, z0, dt, args, withTime, true) }; // the result is reversed (last values first) and flopped // in order to be prepared as Fb1 outInit arg ^z0.reverse.flop } getIntSize { |intType| ^size * Fb1_ODEintdef.at(intTyp ...

  7. PLswitch Doc

    ... dur, 0.1).play; ) // update array element ~a[2] = Pseq([86, 85], 2) + [0,3]; // reverse index pattern ~w = PLseq((7..0)); // keep in mind that indices are wrapped, no surprise here ... ~a = (70,72..84); // ... but with shorter array indices ...

  8. Cepstrum Doc

    ... art of what helps separate source-and-filter components in this procedure.) The reverse, ICepstrum, performs IFFT and exponentiates the result, to derive new magnitudes to be stored back into the fftbuf (phases are left untouched; they are ...

  9. WFSEditViews Quark

    ... { rest = (..selection[0]); } { rest = (selection.last..object.positions.size-1).reverse; }; rest = rest[..rest.size-2]; restSize = rest.size; rest.do({ |index, i| var pt, factor; pt = object.positions[ index ]; if( pt.notNil ) { factor = (i ...

  10. startup20-basicChordBits Quark

    ... tes+14].flat, 1) } => ArpegPat(\bubbleup); #{ |notes| Pseq([(notes = notes.sort.reverse) + 14, notes+7, notes].flat, 1) } => ArpegPat(\bubbledown); #{ |notes| Pseq(notes.sort, 1) } => ArpegPat(\up1); #{ |notes| Pseq(notes.sort({ |a, b| a > ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow