Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. Voicer Quark

    ... gs = ar }, { args = [ar] }); // same thing for patches (th.size == 0 or: { th.isString }).if({ th = [th] }); // create nodes: loop thru things nodes = Array.new(voices); // must add the nodes incrementally lcm = th.size.lcm(args.size); voic ...

  2. startup14-perc Quark

    ... ]; // user extensible: define your own functions to add objects as synthdefs // String and Symbol are supported by nil ~classActions = IdentityDictionary[ 'SynthDef' -> \makeSynthDef, // as it happens, these can be the same b/c of asSynthDe ...

  3. GNUPlot Quark

    ... a1(data, tmpname: tmpname); fh = Pipe.new(gnuplotpath + "-persist", "w"); fh.putString(initCode); fh.putString("plot \"" ++ tmpname ++ "\" title \"\" \n"); fh.close; } *bootDefault{ if ( default.isNil ){ default = GNUPlot.new; ShutDown.add( ...

  4. GNUPlot Quark

    ... a1(data, tmpname: tmpname); fh = Pipe.new(gnuplotpath + "-persist", "w"); fh.putString(initCode); fh.putString("plot \"" ++ tmpname ++ "\" title \"\" \n"); fh.close; } *bootDefault{ if ( default.isNil ){ default = GNUPlot.new; ShutDown.add( ...

  5. AbstractPlayer Quark

    ... func.value(this) }) }); if(timeout.notNil,{ { if(happened.not,{ msg = status.asString + "timeout" +this+listener; if(throwErrorOnTimeout,{ Error(msg).throw },{ msg.warn }); nr.remove }); nil }.defer(timeout) }); ^nr } // these always call ...

  6. AbstractPlayer Quark

    ... unc.value(this) }) }); if(timeout.notNil, { { if(happened.not, { msg = status.asString + "timeout" +this+listener; if(throwErrorOnTimeout, { Error(msg).throw }, { msg.warn }); nr.remove }); nil }.defer(timeout) }); ^nr } // these always cal ...

  7. startup14-perc Quark

    ... (~emptyArrayWarning) { "BP(%): Delta array is empty".format(~collIndex.asCompileString).warn; }; Pn(Rest(~beatsPerBar.()), 1) } { Pseq(deltas, 1) }; }, { Pfinval(~amps.size, Pn(~divCycle.asPattern, inf)) }); }; ~makeAmpPattern = #{ ~compact ...

  8. KDTree Quark

    ... y(incLabels, arr) }); ^arr; } dumpTree { |maxDepth=inf| (" ".dup(depth).flat.as(String) ++ if(depth!=0, {if(this.isLeftChild, {"l"}, {"r"})}, {""}) ++ location + " (id" + uniqueid++"):" + label + if(notDeleted.not, {"---DELETED"}, {""})).po ...

  9. KDTree Quark

    ... y(incLabels, arr) }); ^arr; } dumpTree { |maxDepth=inf| (" ".dup(depth).flat.as(String) ++ if(depth!=0, {if(this.isLeftChild, {"l"}, {"r"})}, {""}) ++ location + " (id" + uniqueid++"):" + label + if(notDeleted.not, {"---DELETED"}, {""})).po ...

  10. Solver Quark

    ... eAll; [a,b,c,d].do({ |i,j| (time/dt).asInteger.collect{ i.next }.plot(i.class.asString,bounds: Rect (0,200*j,600,200),minval:min,maxval:max)}); r = 6.collect{ c.next.round(0.000001) }; ) //checks out with http://people.revoledu.com/kardi/tu ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow