Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. RedLZW Quark

    ... .add(tab.indexOfEqual(sub)); sub= [val]; }); }; ^out.add(tab.indexOfEqual(sub)).array; } *decompress {|input| var tab= List.fill(256, {|i| [i]}); var old= input[0]; var out= List[old]; var val= old; input.drop(1).do{|k| var sub; if(tab[k].n ...

  2. FileWriter Quark

    ... overridden in the subclasses) Accessing Instance and Class Variables writeLine(array) Write a line to the file. array An Array with values to write. The contents of the Array will be written to the file as the compile string of each item, ...

  3. TestAutomaticDifferentiation Quark

    ... (op, args[1..]) }; var a1 = Dual.approximate(call, ns).dual; var a2 = call.valueArray(ds).dual; this.assertFloatEquals(a1, a2, "Numerical differentiation should approximate automatic differentiation:\n%(%)".format(op, ds), within: 0.001); / ...

  4. SVGPath Quark

    ... bles as described below and in the SVGObject helpfile segments : segments is an Array of objects wich should all respond to the asSVGPathSegment method. these can be: SVGPathSegment Point : will be converted to an SVGPathSegment of type 'Li ...

  5. numberExtras Quark

    ... atios and harmonic measures. Ratios are handled in DissonanceLib as two element arrays. This may not be the best object oriented way of working but for now, it is more practical than working with a Ratio class, which may come later. There a ...

  6. Harmony Quark

    ... prDefAc= ChordsDefinitions.new.init; notesHarmony = notesList; notesInterval = Array.fill(notesHarmony.size,0); notesSimplified = this.prSetSimplify(); this.prAssignListIndex(); this.prSetNotesIntervals(); this.prSetInversion(); this.prSet ...

  7. ExternalClock Quark

    ... d into following beat too //remove any dead providers? providers.reverseDo({arg array; if (not(array[1].value),{this.removeprovider(array)}); }); this.getMaterial; } getMaterial { providers.do({arg array; var list, provider; provider=array[ ...

  8. CutGroup Quark

    ... var cutmixer; cutsynths=cs; //do still works even if singleton //if(cs.isKindOf(Array),{ // cutsynths=cs; // },{ // //put in array // cutsynths= [cs]; //[cs ?? {CutSynth.new}]; // }); freegroup=false; //server=s ?? {Server.default}; group=g ...

  9. dopostln Quark

    dopostln part of wslib a convenience method for posting all items in an array. also see: dopost ** does not return the object itself ** dopostln dopost can be used for every object that responds to do . It simply posts every object in the a ...

  10. XiiPolyMachine Quark

    XiiPolyMachine { var <>xiigui, <>win, params; var bufferPopUpArray, ldSndsGBufferList, sndfiles, gBufferPoolNum, selbPool, bufNumArray; var stateDict, stateNum, poolName; var cmdPeriodFunc; *new { arg server, channels, setting = nil; ^super ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow