Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (193) Code (4) Doc (54) Help (20) Quark (111) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. initLibraryItems Quark

    ... ng).gui }) },"Method search") }) }); Library.put(\menuItems,\introspection,\findReferencesToClass,{ Sheet.getString("Class name:","",{ arg string; Class.findAllReferences(string.asSymbol).do({ arg ref; ref.postln; }); }); }); Library.put(\m ...

  2. cycle Quark

    ... ast.campanology(mode, true, true)[1..size*2-1] } } { //---------------- // code ref: https://scsynth.org/t/do-not-returning-array/6416/14 var size = this.size; var swapConsecutiveIndexes = {|from, to| (from..to).clump(2).collect{|p| p.rever ...

  3. BBCutBufferSelector Quark

    ... func.value(block, index).round(1.0).asInteger)%(array.size); //should just copy refs, shouldn't be overly expensive (price of this class use especially for CutBuf3 eventstarts=array[index].eventstarts; eventlengths=array[index].eventlengths ...

  4. DOMAttr Quark

    ... key/value-pair, thus the beginning of the attribute name var xml; var nodeValueRef; // special: init here this.init(parentNode); startIndex = pos; xml = parent.getOwnerDocument.getNodeValue; while ( { ( (pos < endIndex) && (not ( "= \t\n\r ...

  5. ServerClock Quark

    ... astTempo); //Post << "schedule me "<<nl << list <<nl<<nl ; this.sched(list, lastref, provider, array[1]); }); //beat=beat+1; //update this clock's internal beat count } tempo { ^lastTempo; } tempo_ {arg val; //does nothing here, can't contr ...

  6. Pirama Quark

    ... m = pattern.asStream, outval, clock; var tempo, prevTempo = 0.0, irama, irsym = Ref(\ir1), upward = false; while { //inval = inval.copy.put(\irama, irsym); // add irama both upstream is a problem outval = stream.next(inval); outval.notNil } ...

  7. kalimba Quark

    ... ction: 2); note = SinOsc.ar(freq) * env; body = DynKlank.ar( specificationsArrayRef: Ref.new([ [240 * ExpRand(0.9, 1.1), 2020 * ExpRand(0.9, 1.1), 3151 * ExpRand(0.9, 1.1)], [-7, 0, 3].dbamp, // same as 10.pow([-7, 0, 3] / 20), [0.75, 0.04, ...

  8. EventStreamPlayer2 Quark

    ... ve here immediately! //Server.default.latency //now safe for re-entry ^[10,0.0,(ref:alive, play:{ ~ref.value=false;})]; }{ if (muteCount > 0) { outEvent.put(\freq, \rest) }; //get outEvent[\dur], outEvent[\pat], outEvent[\timedev], outEvent ...

  9. TestHoaMatrixRotation Quark

    ... .getDirs(\random, 10), "randomness", 5); } test_FoaRttVsHoaRtt { var rtt, test, ref, res; res = 50.collect({ rtt = 3.collect({ rrand(-2pi, 2pi) }); // A first order planewave, encoded with FOA rotation matrix ref = FoaXformerMatrix.newRTT(* ...

  10. steelDrum Quark

    ... inOsc.ar(freq: freq * 2.015, mul: envb); sndc = DynKlank.ar( specificationsArrayRef: Ref.new([ resFreqArray * freq, resAmpArray, resDecArray * dec ]), input: LPF.ar(HPF.ar(CombN.ar(PinkNoise.ar(1), 1/freq, 1/freq, -1, envc), freq * 2), freq ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow