Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1500) Code (97) Doc (308) Help (89) Quark (1000) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. extVarious-SVGFile Quark

    ... tVal { // return first number found as Integer or Float ^this.trim.splitNumbers.select({ |item| item.isNumber; })[0] } getUnits { |default| // return text after number as symbol ( " 100px " -> 'px' ) var out; out = this.trim.splitNumbers[1] ...

  2. AudioDeviceSpec Quark

    ... *refreshDevices { Platform.case( \osx, { this.addDevices( ServerOptions.devices.select({ |item| item.find( "Built-in", true ).isNil }) ); } ); } map { |in| ^in } unmap { |in| ^in } constrain { |device| if( device.notNil && { Platform.case( ...

  3. Reim Quark

    ... / controls ringtime = \ringtime.kr(0.1); highFreq = \highFreq.kr(1000); freqs = Select.kr(sreim.abs > 0, [100, sreim.abs]) * 4000 + 2000; amps = sreim > 0; rings = sreim > 0; in = (in + HPF.ar(in, highFreq)) * 0.5; DynKlank.ar( `[freqs.lag( ...

  4. line_trajectory Quark

    ... easeIn.linlin(-1,1,2/3,0), easeOut.linlin(-1,1,1/3,1) ); line = 2.collect({ |i| Select.kr( curve[i].inRange(-0.001,0.001), [ line.lincurve(0,1, a[i], b[i], curve[i] ), line.linlin(0,1, a[i], b[i] ) ]); }); UMapOut.kr( line, false ); }) .cat ...

  5. sputter Quark

    ... ontinuous range of numbers, not just a 1 or 0. I have five options that you can select between, by setting the method control to 0, 1, 2, 3, or 4 (values in between and outside get rounded). Each one gives a slightly different sound. I also ...

  6. wfsPoint Quark

    ... Out( item ); }).asInteger; chain.units.collect({ |unit| (unit.getAllUMaps ? []).select({ |umap| (umap.defName === \map_control_point) && { [umap.bus_x, umap.bus_y].asInteger == outputs; } }) }).flatten(1).do({ |umap| umap.def = \shared_poin ...

  7. RedSystems Quark

    ... <>removeAction; //called once when object is removed update { objects= objects.select{|o| o.update; o.world.contain(o); if(o.alive.not, { this.removeAction.value(o); o.world.remove(o); false; }, {true}); }; } alive {^objects.size>0} } //-- ...

  8. ATKDef Quark

    ... hang2 = rad * MoscaUtils.halfPi; linearscale = (12 - (rad * 12)); linearscale = Select.kr(linearscale > 0, [0, linearscale]); //negs rolled off at zero linearsig = lrevRef.value + (p.value * linearscale ); sig = lrevRef.value + (p.value * ( ...

  9. MeTA-install Quark

    ... rectory ```proto``` are installed via the unix-command ```install```. ## ToDo + select which parts/feature-sets to install + GUI? + as Class? */ var q = (); q.slash = Platform.pathSeparator; // put path basePath for your setup here // this ...

  10. ProcessTools Quark

    ... ostln; // Can we spot a single addition? //diff = difference(postpids, prepids).select(_ > 0); diff = postpids.reject({|val| (val==0) or: prepids.indexOfEqual(val).isNil.not }); if(diff.size != 1, { ("String.unixCmdInferPID - unable to be s ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow