Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... otesTonality=Array.new(12); scaleBase = base; switch (type) {"M"} { for(0,major.size-1,{arg i; notesTonality.add( mod(scaleBase +major.at(i),12) ); }); } {"l"} { "c".postln; } {"m"} { for(0,harmonicMinor.size-1,{arg i; notesTonality.add( mo ...

  2. LTI Doc

    ... of the fun? You need to pass in the coefficients via two buffers, of arbitrary size. Class Methods LTI. ar ( input , bufnuma: 0 , bufnumb: 1 , mul: 1.0 , add: 0.0 ) Arguments: input What do you want to filter? bufnuma Feedback filter coeff ...

  3. Solver Quark

    ... nitHO(f, dt, t, y) } initHO { |af, adt, at, ay| dt = adt; t = at; y = ay; if(af.size == 0) { order = (af.def.numArgs-1); f = ((order-1).collect { |i| { |... args| args[i+2]} }) ++ [{ |... args| af.(*args) }]; f = f.as(NFunc); } { //order is ...

  4. Purno Quark

    ... var offsetValue, tempArray, prevItem; repeats.value(inval) * list.value(inval).size do: { var item, index; if (tempArray.size == 0, { tempArray = list.copy; }); // While new item is the same as the previous value or nil, select randomly a ...

  5. SeqCol-asAddendsOf Plugin

    ... values.remove(val); // if there are no more usable values, exit loop if( values.size == 0, { sum = -1; }); }); }); ^result } // same as asSummationOf, but with weights aswAddendsOf{ arg summation, weights; var result, values, index; result ...

  6. extNetwork Quark

    ... a simpler and better solution later. res = res.reject(_ == "127.0.0.1"); if(res.size > 1) { postln("the first of those devices was chosen: " ++ res) }; res = res.first; }); ^res ?? { "chosen loopback IP, no other ip available".warn; "127.0. ...

  7. XiiEQMeter Quark

    ... var <>xiigui; var <>win, params; var multislider, c, b, eqUpdateTask, name; var size, synth, cmdPeriodFunc, inbus, onOffButt, refreshTime; var colors; *new { arg server, channels, setting = nil; ^super.new.initXiiEQMeter(server, channels, s ...

  8. WindowHandleView Doc

    ... ontent other than it's background, so if it's contained in a layout it may be resized to a 0px width or height. To prevent this, specify an explicit size using View: -minHeight / View: -minWidth / View: -minSize or View: -fixedHeight / View ...

  9. 041-pendulum2 Doc

    ... dPendulum(world, loc, vel, 0, 1.rrand(5), 5.rrand(80)) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angularVel_(1); }.dup(n); a= world.objects; //--loop w.draw{ Pen.width= 1; Pen.strokeColor= Color.white; world.objects.do{|o, i| o.addFor ...

  10. 041-pendulum2 Quark

    ... dPendulum(world, loc, vel, 0, 1.rrand(5), 5.rrand(80)) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angularVel_(1); }.dup(n); a= world.objects; //--loop w.draw{ Pen.width= 1; Pen.strokeColor= Color.white; world.objects.do{|o, i| o.addFor ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow