Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. p_choose_8 Quark

    ... , with an optional exclusion history. value0..value7: values to choose from histSize: size of history buffer; the amount of steps before a value can repeat itself. seed: random seed The 'value0'..'value7' arg ranges are mapped to that of th ...

  2. 201-discrete_world_ca_optimised Doc

    ... ]; RedAgent(world, loc).state_(0.25.coin.binaryValue); //world,loc,vel,acc,mass,size }.dup(n); }.dup(n); lookup= IdentityDictionary(world.objects.size); world.objects.do{|o| lookup.put(o, world.neighbours(o))}; //heavy calculation //--loop ...

  3. plusSpec-adaptToSpec Quark

    ... ( spec.respondsTo(\asControlSpec) ) { res = class.newFrom( spec.asControlSpec ).size_( size ); res.minval = res.minval.max( (2**24).neg ); res.maxval = res.maxval.min( 2**24 ); res.default_( res.map( this.default ) ); }; res.originalSpec = ...

  4. 201-discrete_world_ca_optimised Quark

    ... ]; RedAgent(world, loc).state_(0.25.coin.binaryValue); //world,loc,vel,acc,mass,size }.dup(n); }.dup(n); lookup= IdentityDictionary(world.objects.size); world.objects.do{|o| lookup.put(o, world.neighbours(o))}; //heavy calculation //--loop ...

  5. MLIDbrowser Quark

    ... ary browser var <>onSelect,menu,kdr; *new { arg ... args; var onSelect; if(args.size > 1,{ onSelect = args.pop; }); ^super.new .onSelect_(onSelect ? { arg item; item.gui }) .browse(Library.atList(args) ?? {Library.global.dictionary}) } brow ...

  6. CuspL Doc

    ... = a - b * sqrt(|x(n)|) sclang code translation: ( var a = 1.0, b = 1.9, xi = 0, size = 64; plot(size.collect { xi = a - (b * sqrt(abs(xi))) }); ) ⧉ ✔ Class Methods CuspL. ar ( freq: 22050 , a: 1 , b: 1.9 , xi: 0 , mul: 1 , add: 0 ) From sup ...

  7. startup01-events Quark

    ... ~msgFunc = desc.msgFunc; }, { ~msgFunc = { args = Array.new(currentEnvironment.size*2); currentEnvironment.keysValuesDo({ |key, value| value.isValidSynthArg.if({ args.add(key).add(value) }); }); args }; }); // not .flopping because this is ...

  8. SampleDescript copy Quark

    ... hisSectionStartIndex * SCMIR.framehop; durSample = (activeRMSData[sectionIndex].size - 1) * SCMIR.framehop; activeBuffer = activeBuffer.add(Buffer.read(server, filename, startSample, durSample, {cond.test = true; cond.signal;})); cond.wait; ...

  9. RedDTMF Quark

    ... 1, 1633] ) } *new {|char| ^dict[char] ? [0, 0] } *string {|str| ^Array.fill(str.size, {|i| this.new(str[i])}) } *ar {|char, mul= 1| ^Mix(FSinOsc.ar(this.new(char), 0, mul*0.5)) } *kr {|char, mul= 1| ^Mix(FSinOsc.kr(this.new(char), 0, mul*0. ...

  10. Polynomial Doc

    ... ive valid results, it is necessary that both coefficient arrays are of the same size. This means that in some cases it will be necessary to pad a coefficient array with zeros until it matches the other coefficient array in size. See the / o ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow