Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 0, LFNoise1.kr(0.3,0.1,0.1), amp)); 6.do({ out = AllpassN.ar(out, 0.040, [0.040.rand,0.040.rand], 2) }); Out.ar(0,out) }).play(s); ) //testing weirder parameter settings (these are inconsistent, really a check on test code in plug-in) //ver ...

  2. 063-angents-fm_synth Doc

    ... im,grav,maxvel,damp //--objects objsFunc= { var loc= RedVector2D[width, height].rand; var obj= RedAgent(world, loc, RedVector2D[0.5, 0.5].rand2, nil, 1, 10) //world,loc,vel,acc,mass,size .maxForce_(4).wchange_(0.7).wdistance_(1).wradius_(5) ...

  3. syntax_colors Doc

    ... zoo, thisProcess.platform]; }; }; Routine { inf.do {|i| ("count"+i).postln; 5.0.rand.wait; }; }.play;

  4. Constraints Doc

    ... ired. eg. select, reject, every, any ( // run numbers through it 50.do({ n = 40.rand; [n,c.value(n)].postln }); ) ⧉ ✔ It can be used in place of a function for SequenceableCollections, Streams and Patterns ( // filter a collection Array.fil ...

  5. LPG Doc

    ... unipolar, resonance:1.1, lowpassmode:1, linearity:0 ) * 0.25; Pan2.ar(sig, 0.5*TRand.kr(-1.0,1.0,trig)) }).mold(2, 'audio').play; ) ( s.boot; Ndef(\lpgtest, { // var sig = PinkNoise.ar(0.95); var freq = LFNoise2.kr(1).range(1.0,4.0); var en ...

  6. Editor Doc

    ... nt.default) Editor.for((type: \instr,instr:"test.makeDef",env:Env.perc,beat: 64.rand,degree: 20.rand)).gui ⧉ ✔ Arguments: object ... args additional arguments are supplied to the purveyor function . editorFor private. this is the handler di ...

  7. Patch Doc

    ... hArgsIndices synthDef outClass respawnOnChange stepChildren inputs setInput set rand doesNotUnderstand argNames argNameAt specAt spec rate numChannels indexFromName argFromName loadSubject createArgs defName asSynthDef watchNoncontrols resp ...

  8. Pitch Doc

    ... oise1.kr(0.3, 0.1, 0.1), amp)); 6.do { sound = AllpassN.ar(sound, 0.040, [0.040.rand, 0.040.rand], 2) }; Out.ar(out, sound); }).play ) ⧉ ✔ ( SynthDef("pitchFollow2", { |out| var in, amp, freq, hasFreq, sound; in = Mix.new(SoundIn.ar([0, 1]) ...

  9. MedianTriggered Doc

    ... l, t_trig, 3).poll(t_trig, "Median of recent 3 values"); }.play; x.set(\val, 10.rand.postln, \t_trig, 1); // Execute this repeatedly x.free; // Same but with 4 values - note the way medians behave with even-sized sets x = {|val=1, t_trig=0| ...

  10. Pdefn Doc

    ... an argument, create a new pattern each time it is called Pdefn(\x, { Pseq({ 10.rand } ! 8) }); Pn(Pdefn(\x)).asStream.nextN(16); // the function is called in the incoming event as current environment, so parameters can be passed: Pdef(\stu ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow