Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Pietro Mascagni's 'Cavalleria rusticana' by deafwalker (deafwalker) Code

    ... 7, -40, -33 ].dbamp++ (26..300).reciprocal.pow(1.8)) * ((1!25) ++ ({exprand(1/4,4)}!275)), {rrand(0,2pi)}!300 ).asWavetable; b[0].loadCollection(~wt0); //cello 2 ~wt1 = Signal.sineFill( 4096, ([ -3, -6, - ...

  2. StackLayout Doc

    ... ); Pen.fillColor = text.palette.baseText.alpha_(0.1); str.do { |c| var x = 40.0.rand + 10.0; var r = c.asString.bounds.center_(0@0); Pen.push; Pen.rotate(1.0.rand); Pen.translate(rand2(-0.3, 0.3) * b.width, rand2(-0.3, 0.3) * b.width); Pen. ...

  3. SchrittWechsel Quark

    ... ); }; } transite {|to, dur = 5, dt = 1| // a Block var speed = stepBuffers.size.rand; // we use the index of the used buffer to determine speed // one cannot go to where she already is. (to == this.currentBlock).if{"BlockPerson:transite :il ...

  4. gendy2 Quark

    ... , ascale = 1, dscale = 1| var n = q.numChans ? 2; var mods, snds; // var dist = Rand(0, 7); // choose new random distrib when running // var addd = exprand(0.001, 1); // choose new random distrib when running dist = dist.lag(1); addd = addd ...

  5. neural sirens by clarkenciel (clarkenciel) Code

    ... s.collect { arg dimensions; Matrix.with(Array.fill(dimensions.first, { Array.rand(dimensions.last, 0, 1.0) })) } }; ~forward = { arg network, input; var weightedInputs = []; var activations = [input]; var currentWeightedInput ...

  6. SimpleController Doc

    ... ve }; // run a routine to change the model's value: r{ 100.do{ model.value_(1.0.rand.postln).changed(\value); 0.5.wait; } }.play(AppClock) ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/SimpleController.schelp link ...

  7. SimpleEnttecDMXPro Doc

    ... true, channel = 477| q.light(0, 0, 0, 0, 0, flush, channel) }; q.light(*(({255.rand}!3) ++ [0, 128])) q.lightOff ⧉ ✔ helpfile source: /tmp/scquark_hs/SimpleDMXControl/HelpSource/Classes/SimpleEnttecDMXPro.schelp link::Classes/SimpleEnttecD ...

  8. Streams-Patterns-Events4 Help

    ... ring, { var out; Environment .use({ // set values in the environment ~freq = exprand(80, 600); ~amp = 0.1 + 0.3.rand; ~pan = 1.0.rand2; // call a randomly chosen instrument function // with values from the environment out = [a,b,c].choose.v ...

  9. Nil Doc

    ... ?? is defined to answer the receiver. [nil, 2, nil, 3].collect { |x| x ?? { 100.rand } }; // replace nil by a random number ⧉ ✔ . booleanValue Returns false. [1, 2, nil, 3].collect(_.booleanValue); // compare: [true, false, false, true].col ...

  10. Convolution2L Help

    ... r .alloc(s, 2048); b.zero; c.zero; d.zero; ) ( 50.do({ |it| c.set(20*it+10, 1.0.rand); }); 3.do({ |it| b.set(400*it+100, 1); }); 20.do({ |it| d.set(40*it+20, 1); }); ) ( SynthDef ( \conv_test , { arg kernel, t_trig=0; var input; input= Impu ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow