Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... stfile2.txt" , "w" , true ); Task ({ 20.do{ f.writeLine( Array .fill( 10, { 1.0.rand })); 1.0.wait; }; "done" .postln; }).play; f.close; This helpfile was created with the class HelpFile2

  2. timeDomainEfx Quark

    ... anDiff=0.1; (qnty.asInteger).do({ var x; audio = AllpassL.ar(audio, maxDelay, [rrand(0.01,maxDelay),rrand(0.01,maxDelay)], decay) }); audio }, \qAllpassL,{ arg audio,decay=1,maxDelay=0.3,qnty=4; (qnty.asInteger).do({ var x; audio = AllpassL ...

  3. Diamond Quark

    ... This defaults to 3 for a triad @*/ var pivot, new_start; pivot = start + (niad.rand); new_start = pivot - (niad.rand); ^[new_start, pivot]; } d2Pivot { arg x, y, orientation, niad=3; /*@ desc: Find a pivot based on a start point, describe ...

  4. Public Quark

    ... the environment a[ \x ] = 5; b[ \x ]; // 5 is in b now as well. b[ \x ] = { 1.0.rand }; a[ \x ].postcs; a[ \x ] = Array .rand(20, 0, 10); b[ \x ]; b[ \x ] = "hi adam"; a[ \x ] = "hi eve"; // clear all. a.clear; b.clear; // using Public with ...

  5. CutRev1 Quark

    ... layN.ar(in, 0.048,0.048); //for delaytime if want modulation- //LFNoise1.kr(0.1.rand, 0.04, 0.05) y=Mix.arFill(c,{CombL.ar(z,0.1,rrand(0.01, 0.1),5)}); // chain of 4 allpass delays on each of two channels (8 total) : a.do({ y = AllpassN.ar( ...

  6. HowToGetToAllServers Quark

    ... terns, by name: Pbind( \server, r.s, \where, \annie, \instrument, \zzz, \note, Prand([0, 2, 3, 5], 8), \dur, 0.25 ).play; ) // if the Republic's server, r.s, is the default, // one can leave out the server argument: Server.default = s = r.s ...

  7. 5_keyplayer_presez Quark

    ... // works "1234567890".do { |char, i| KeyPlayer(\prez).putDown(char, { |char| // randomize Settings using the key's ascii number as random seed NTMI.slots.nowPlaying.do({ |px| var pres = NdefPreset(px); var newSet = pres.getSetNames.wrapAt(c ...

  8. 140-mouse_listening_synth Quark

    ... .ar(z, pan)); }).add; s.sync; //--objects { var loc= RedVector2D[width, height].rand; //initial xy location var mass= 1.rrand(10); RedAgent(world, loc, RedVector2D[0.001, 0.001].rand2, nil, mass, mass) //world,loc,vel,acc,mass,size .maxForc ...

  9. 060-angents-gol Quark

    ... RedVector2D[px+15, py+15]; var obj= RedAgent(world, loc, RedVector2D[0.5, 0.5].rand2, nil, 1, 10); //world,loc,vel,acc,mass,size obj.state= (\cell: 2.rand, \neighbours: 0); px= px+(obj.size*2-1); if(px>(width*0.9), { px= 0; py= py+(obj.siz ...

  10. 102-particle-system_fountain_synth Quark

    ... Part= RedParticle(world, RedVector2D[width*0.5, height*0.9], 0, RedVector2D[0.5.rand2, -5.0.rrand(-10)], 1, 3.0.rand).age_(1000); sys.add(newPart); //add it to the system Synth(\noise, [ //create a corresponding synth \freq, newPart.size.li ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow