Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (6250) Code (55) Doc (3760) Help (348) Quark (2069) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. 13-Buffers Doc

    ... ffer object after doing this. Using Buffers with Sound Files Buffer has another class method called 'read', which reads a sound file from disk into memory, and returns a Buffer object. Using the UGen PlayBuf, we can play the file. // Exampl ...

  2. AmbisonicsSC2 Plugin

    ... 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 * cosA * cosB (front-back) // Y = sig * sinA * cosB (left-ri ...

  3. HOAAmbiDecoderHelper Quark

    ... peakerLabels; // var <>centerOfGravity; var <>decoderPath; var <>sweetSpot; initClass {|path| } setAmbiToolboxPath{|path| this.ambiToolboxPath = path; // File.mkdir(this.ambiToolboxPath); // This is to get the dir name; this.decoderPath = t ...

  4. XiiBufferPool Quark

    ... dowLocation.new(name)}, {setting[1]}); xiigui = nil; // not using window server class here params = if(setting.notNil, {setting[2]}); // the params are loaded from XiiQuarks at the bottom of this function bgColor = Color.new255(155, 205, 15 ...

  5. startup14-perc Quark

    ... unctions to add objects as synthdefs // String and Symbol are supported by nil ~classActions = IdentityDictionary[ 'SynthDef' -> \makeSynthDef, // as it happens, these can be the same b/c of asSynthDef 'Function' -> \makeFnDef, 'Patch' -> \ ...

  6. WFSArrayPan Quark

    ... i,pi) .linlin(-0.5pi,0.5pi,0,2,\minmax) .fold(0,1) .sqrt; }); } } WFSBasicPan { classvar <>defaultSpWidth = 0.164; classvar <>speedOfSound = 344; // replaced in initClass by more accurate value classvar >sampleRate = 44100; var <>buffer, <p ...

  7. EQui Quark

    ... o Wouter Snoei EQui : QUserView { var params, <target, prefix, sampleRate; *viewClass { ^QUserView } *new { arg parent, bounds, target, params, prefix = "", sampleRate; if(parent.isNil, { parent = Window(prefix ++ target, EQui.sizeHint).fro ...

  8. ULib Quark

    ... GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ ULib { classvar <>servers; classvar <>lastPath; classvar <>window, <>eWindow; classvar <>envirSpecs; classvar <>sampleRate = 44100; *initClass { servers = [Server.defa ...

  9. AbstractDX Quark

    ... rt, lincurve.(weight.squared.pow(power)), weight ]) }; // difference between DX classes ^case { (type == \mix) || (type == \mixIn) }{ Mix({ |i| var in = (type == \mix).if { Select.perform(outRate, inOut[i], channelsArray) }{ In.perform(outR ...

  10. PG_03_What_Is_Pbind Help

    ... e, the result is an object called an Event . Like a Dictionary (which is a superclass of Event), an event is a set of "key-value pairs": each value is named by a key. e = (freq: 440, dur: 0.5); // an Event e.at( \freq ) // access a value by ...

prev 611 612 613 614 615 616 617 618 619 620 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow