Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. 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) })

  2. 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) })

  3. 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] ...

  4. klank Quark

    ... al: distribution of frequencies: 0: linear, 1: exponential variation: amount of random variation. 0: no variation, 0.5: linear distribution, 1: full random. amp: range of random amplitudes ringTime: range of random ring times. Can not be mo ...

  5. klank Quark

    ... al: distribution of frequencies: 0: linear, 1: exponential variation: amount of random variation. 0: no variation, 0.5: linear distribution, 1: full random. amp: range of random amplitudes ringTime: range of random ring times. Can not be mo ...

  6. delays_1_bench Quark

    ... ays_1, { var src, delay; src = WhiteNoise.ar; Out.ar(0, 250.collect{|i| delay = Rand(0.01, 3.0); [DelayN, DelayL, DelayC].wrapAt(i).ar(src, delay, delay) }.mean) })

  7. 175-springs_interconnected2 Quark

    ... maxvel,damp //--objects objs= { var mass= 2; RedObject(world, RedVector2D[width.rand, height.rand], RedVector2D[0, 0], RedVector2D[0, 0], mass, mass); }.dup(n); sprs= objs.collect{|x| objs.collect{|y| if(x!=y and:{0.25.coin}, { RedSpring(x, ...

  8. KMeans Quark

    ... assignments ++ centroids.size; centroids = centroids ++ [datum]; } } // Choose random centroids by randomly resampling from the data-derived marginals reset { k.do{|i| centroids[i] = data[0].size.collect{|d| data.choose[d]} }; data.do{|dat ...

  9. HrDAC Quark

    ... umIns = 2; var numOuts = 0; var bounds = Rect((Window.screenBounds.width - 250).rand, (Window.screenBounds.width - 90).rand, 250, 90); var name = "HrDAC"; ^super.new(argParentApp, name, argIdent, argUniqueID, argExtraArgs, bounds, numIns, n ...

  10. 174-springs_interconnected Quark

    ... height], wgrav, 99, 0); //dim,grav,maxvel,damp //--objects objs= { var mass= 1.rrand(10); RedObject(world, RedVector2D[width.rand, height.rand], RedVector2D[0, 0], RedVector2D[0, 0], mass, mass); }.dup(n); sprs= objs.collect{|x| objs.collec ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow