Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... iFileWriter .new( "testfile14.txt" ); Task ({ 3.do{ m.open; 20.do{ m.writeLine( Array .fill( 10, { 1.0.rand })); 0.25.wait; }; m.close; 1.0.wait; }; "done" .postln; }).play; Example 2 - don't zip and bundle m = MultiFileWriter .new( "testfi ...

  2. TuningOffset Quark

    ... to. calibratenote: What note number should match the calibratefreq. tunings: An array with stepsPerOctave numbers containing the offset from equal temperament. 0.01 = one cent above equal temperament (where cent = 1/100 of one note index, w ...

  3. TuningOffset Quark

    ... to. calibratenote: What note number should match the calibratefreq. tunings: An array with stepsPerOctave numbers containing the offset from equal temperament. 0.01 = one cent above equal temperament (where cent = 1/100 of one note index, w ...

  4. cheappiano Quark

    ... 01), 0.008, 0.04, LFNoise2.ar([2000,4000].asSpec.map(amp), 0.25)); sig = Mix.ar(Array.fill(3, { arg i; detune = #[-0.04, 0, 0.03].at(i); delay = (1/(freq + detune).midicps); CombL.ar(hammer, delay, delay, 50 * amp) }) ); sig = HPF.ar(sig,50 ...

  5. WFSFocusDetectorSynthDefs Quark

    WFSFocusDetectorSynthDefs : AbstractWFSSynthDefs { classvar <>minArrays = 4, <>maxArrays = 24; *prefix { ^"wfsfd" } *getDefName { |numArrays = 4| // example: "wfsf_8" : focus detection def for 8 arrays ^[ this.prefix, numArrays ].join("_"); ...

  6. SpatDifLogger Quark

    ... dFile { |pathToFile| var provList; file = File.new(pathToFile,"r"); // fill the array with file lines, discarding the empty ones and the comments fileStrings = file.readAllString.split($\n).reject(_=="").reject({|e|e[0]==$#}); // close the ...

  7. GCube Quark

    ... .kr( Dust .kr(10)); GTranslate .gr( GColor .gr( GCube .gr(size), Color .rand.asArray), Array .fill(3, {1.0.rand})); }.sum; GGLRenderer .gr(stuff, lighting: 0) }.play(g); ) g.freeAll;

  8. Painter Quark

    ... s true. vDim - dimension of the vertex rectangle. Default value is nil. It's an array. eDim - dimension of the edge rectangle (containing the label). Default value is nil. It's an array. alpha - alpha value for transparency. Default value i ...

  9. BSpline Quark

    BSpline BSpline(points,order,isClosed) points: an array of Points, may also be an array of arrays for splines in 3 or more dimensions order: curvature of interpolation isClosed: true/false if the end point loops back to the first point ( b ...

  10. Multithreading Quark

    ... { var reverb; //Definition of a bank of 50 sines AlgaSynthDef(\sines, { Mix.ar(Array.fill(50, { SinOsc.ar(Rand(200, 1000)) * 0.002 })) }).add; s.sync; //A reverb effect reverb = AlgaNode({ FreeVerb1.ar(\in.ar) }).play(chans: 2); //50 separ ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow