Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. jitlib_asCompileString Help

    ... = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts the code into p.document; ...

  2. 120-collision_objects Quark

    ... ], wgrav, 10, 0.6); //dim,grav,maxvel,damp //--objects { var vel= RedVector2D[2.rand2, -5]; //random initial velocity for each object var mass= 0.5.rrand(4); //random mass for each object RedObject(world, RedVector2D[width, height].rand, ve ...

  3. init_purloined_letters Quark

    ... NetAddr("127.0.0.1", 57120); // stamp is a letter id. q.makeStamp = { 100000.0.rand }; q.responderActive = { |q, resp| OSCresponder.all.includes(resp) }; // this listens to every letter. q.logResponder = OSCresponderNode(nil, \recieveLette ...

  4. CtkAudio Doc

    ... = BPF.ar(In.ar(inbus), freq, 0.01); Out.ar(outbus, Pan2.ar(src * envgen * amp, Rand(-1.0, 1.0))); }), SynthDef(\dels, {arg inbus, deltime, dur, amp; var env, envgen, src; env = Control.names([\env]).kr(Env.newClear(8)); envgen = EnvGen.kr( ...

  5. scaleStream Quark

    ... is a FloatArray a stream of scales is a sequential series of these arrays ( // random pentatonics p = Instr("scaleStream.randpentas"); // returns a pattern when valued x = p.value(4,16,0); Pbind ( \degree , Pseq([1,3,5,7,9,11,3,2],inf), \s ...

  6. PostWindow Quark

    ... indow.window("My Post Window"); p.addLineToFork("hello"); 10.do{p.addLine(Array.rand(10,0.1,2.0));}; ( ["hello", "how", "are", "you", "isn't", "this", "a", "lot", "of", "nonsense" ].scramble.do{|item| p.addToFork(item); }; ) p.clear; //clea ...

  7. JPEG / JPG Glitcher by rukano (rukano) Code

    ... llect{ file.getInt8 }; // how many bytes to replace 100.do{ var pos = rrand(200, data.size - 10); data[pos] = 256.rand; // data[pos] = (data[pos] + 100.rand2).max(0).min(255); }; // write out the file outfile = File.n ...

  8. Streams-Patterns-Events2 Help

    ... lied as is supplied to Routine. ( var a, b, c; a = Prout .new({ 3.do({ arg i; 3.rand.yield; }) }); // make two streams from the pattern b = a.asStream; c = a.asStream; 4.do({ b.next.postln; }); // print 4 values from first stream 4.do({ c.n ...

  9. 3a_userDir_POOL Quark

    ... umber // or a function that generates an index number: \robTron -> { |pre| 2000.rand }, ];

  10. MotifCutProc Doc

    ... ak.aiff",8); TempoClock.default.tempo_(2.4); ) ( //default index function (free random choice) BBCut2(CutBuf2(f),MotifCutProc.new( [ //array of Motifs [[1.0,1.0,1.0], [0.25, 0.25, 0.5]], //first Motif [[0.5, 0.5], [0.33, 0.33, 0.34]] //seco ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow