Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... "); b = Button(w, Rect(90, 20, 200, 30)) .states_([ ["sine", Color.black, Color.rand], ["saw", Color.black, Color.rand], ["noise", Color.black, Color.rand], ["pulse", Color.black, Color.rand] ]) .action_({ |butt| butt.value.postln; }); w.fr ...

  2. plot Help

    ... p(5) }.dup(200).plot( "Some 2-d data" ); // 3-channel interlaced data b = [{1.0.rand}.dup(50), { 20.0.rand - 30 }.dup(50),{ 10.0.rand }.dup(50)].lace(150); b.plot(numChannels:3, minval: nil , maxval: nil ); // Common rescaling b.plot(numCha ...

  3. RedSampler Quark

    ... sf= SoundFile (x.fullPath); var len= if(sf.numFrames<44100, {-1}, {sf.numFrames.rand}); ( "loading..." +x.fullPath).postln; a.prepareForPlay(sf.path, sf.path, sf.numFrames.rand, len); sf.close; }; r= Routine .run{ 1.wait; inf .do{ a.play(a. ...

  4. FunctionList Help

    ... lue; a = a.removeFunc(x); a.value; // mathematics a = nil ; a = a.addFunc({ 1.0.rand }).addFunc({ [0, 1].choose }); a = a.squared.linexp(0, 1, 1.0, 500); a.value; // compatibility with function multichannel expansion a = nil ; a = a.addFunc ...

  5. Taube Eulen by codepool (codepool) Code

    ... , maus; maus = MouseX.kr(0.1, 2); e = { Env([0, 1, 0.4, 1, 0], [0.03, 0.2.rand, 0.2, maus]) }; tr = { Dust.kr(0.3) }; eg = [ EnvGen.kr(e.value, tr.value), EnvGen.kr(e.value, tr.value) ]; fm = SinOsc.ar(30, 0, 0.2 * (1 ...

  6. Image Quark

    ... lockFocus; // begins drawing Pen .use { 30.do { Pen .fillColor_( Color .new(1.0.rand,1.0.rand,1.0.rand,1.0.rand)); Pen .fillOval( Rect (50.rand, 50.rand, 100.rand, 100.rand)); }; // Drawing text require a specific command image.drawStringAt ...

  7. many_sinosc_1_bench Quark

    SynthDef( \many_sinosc_1, { var freqs = 1000.collect{|n| n + 1.0.rand } * 10; var oscs = freqs.collect{|f| SinOsc.ar(freq: f) }; Out.ar(0, oscs.mean) })

  8. many_saw_1_bench Quark

    SynthDef( \many_saw_1, { var freqs = 700.collect{|n| n + 1.0.rand } * 10; var oscs = freqs.collect{|f| Saw.ar(freq: f) }; Out.ar(0, oscs.mean) })

  9. 177-springs_double Doc

    ... 2D[0, 0], RedVector2D[0, 0], 1.5, 10); obj2= RedObject(world, RedVector2D[width.rand, height.rand], RedVector2D[0, 0], RedVector2D[0, 0], 2, 10); trg= RedObject(world, RedVector2D[width*0.5, height*0.5], RedVector2D[0, 0], RedVector2D[0, 0] ...

  10. 177-springs_double Quark

    ... 2D[0, 0], RedVector2D[0, 0], 1.5, 10); obj2= RedObject(world, RedVector2D[width.rand, height.rand], RedVector2D[0, 0], RedVector2D[0, 0], 2, 10); trg= RedObject(world, RedVector2D[width*0.5, height*0.5], RedVector2D[0, 0], RedVector2D[0, 0] ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow