Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... warded(req) ``` Parse the `X-Forwarded-For` header from the request. Returns an array of the addresses, including the socket address for the `req`, in reverse order (i.e. index `0` is the socket address and the last index is the furthest ad ...

  2. RPlay Quark

    ... }, {"RPlay not playing".warn}) } } //args are passed to the funtion as a single array, which should be parsed inside the function /* s.boot; //example code SynthDef("sines", {arg freq1, freq2; var a; a = SinOsc.ar([freq1, freq2], 0, 0.3) * ...

  3. ext-makeStereoProxyControl Quark

    ... around a bug where asControlInput shouldn't be called controlNames { var res = Array.new; this.keysValuesDo { |key, value| var rate; // value = value.asControlInput; rate = if(value.rate == \audio) { \audio } { \control }; res = res.add(Co ...

  4. TestMultithreading2 Quark

    ( Alga.boot({ //Simple sine perc AlgaSynthDef(\sine, { Mix(Array.fill(100, { SinOsc.ar(\freq.kr(440)) })) * 0.01 * EnvPerc.ar(release: 0.5) }, sampleAccurate: true).add; //Tanh distortion AlgaSynthDef(\tanh,{ (\in.ar(0) * \dist.kr(3)).tanh ...

  5. guiSupport Quark

    ... []; selectors = this.selectors; if(selectors.notNil,{ refklasses = selectors.asArray.select({ arg lit; var klass; if(lit.isKindOf(Symbol) and: { lit.isClassName },{ klass = lit.asClass; klass.notNil },{ false }) }); ^refklasses.as(Identity ...

  6. MPadView Quark

    ... true, inf], noteOnOffCtl: [true, true, true, inf] ); } *modeKeys { ^modes.keys(Array).sort } *new { |parent, bounds| ^super.new.init( parent, bounds ); } mode_ { |modeName| var modeValues = modes[modeName]; if (modeValues.isNil) { "%: mode ...

  7. InputMetersCP Quark

    ... s; } createComponent { this.createInputLevels; } createInputLevels { var inLevelArray; this.createLabel("Input meters").align_(\left); inLevelArray = Array.newClear(options.monitorInChannels); options.monitorInChannels.do{ arg i; inLevelArr ...

  8. RedHuffman Quark

    ... = tmp[x.digit]; if(tmp.isCollection.not, { out.add(tmp); tmp= tree; }); }; ^out.array; } *binaryStringToBytes {|str| pad= 0; ^str.clump(8).collect{|x| while({x.size<8}, { x= x++0; pad= pad+1; }); x.sum{|bit, i| 1<<(x.size-1-i)*bit.digit}; } ...

  9. Dimple Quark

    ... ne b Object two argVector Additional arguments for the constraint (should be an Array). type The type of constraint (ball,hinge,hinge2,universal,fixed,slide,piston) world Access to the DimpleWorld camera Access to the camera in dimple curso ...

  10. extSequenceableCollection_1 Quark

    ... ^false }; } miSC_groupingFromIndices { var max = this.maxItem, groups; groups = Array.newClear(max + 1); this.do { |x,i| groups[x] = groups[x].add(i) }; ^groups } }

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow