Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... [ 'perkysine', {arg freq=400, amp=1; var osc; osc = SinOsc.ar( [freq,freq+0.05.rand] ) * EnvGen.ar( Env.perc, doneAction: 2) * 0.2; osc*amp; } ] ]

  2. 055-boids-ga_synth Quark

    ... //number of children s.waitForBoot{ var parent0, parent1; g= RedGAGenome([ 0.9.rrand(1), 0, 0, 1, [0.679.rrand(0.74), 0.99, 1, 0.679].wchoose([0.7, 0.1, 0.1, 0.1]), 0.1.linrand, 0.5.rand ]++{1.0.rand}.dup(6.rrand(20))); g.chromosome.postln; ...

  3. P3n1 Quark

    ... 30 + 300, \dur, 0.14 ) ).play ); */ /* a = { |mod=2| PcollatzLike(5, mod, { 10.rand }.dup(mod), { 10.rand }.dup(mod)) }; ( x = a.value(5.rand + 2); x.postcs; y = x.asStream; y.nextN(100).postcs; ""; ) */

  4. extWinBounds Quark

    ... t); // restore ~locs = Window.getAll.postcs; Window.findAll(\c).do(_.moveTo(800.rand, 800.rand)); Window.setAll(~locs, true); Window.getAllCS; */ + Point { flipY { ^x @ (Window.screenBounds - y) } } + Rect { flipY { var flippedTop = Window. ...

  5. HrDIYSynth Quark

    ... umIns = 2; var numOuts = 2; var bounds = Rect((Window.screenBounds.width - 450).rand, (Window.screenBounds.height - 400).rand, 450, 400); var name = "HrDIYSynth"; ^super.new(argParentApp, name, argIdent, argUniqueID, argExtraArgs, bounds, n ...

  6. extWinBounds Quark

    ... t); // restore ~locs = Window.getAll.postcs; Window.findAll(\c).do(_.moveTo(800.rand, 800.rand)); Window.setAll(~locs, true); Window.getAllCS; */ + Point { flipY { ^x @ (Window.screenBounds.height - y) } } + Rect { flipY { var flippedTop = ...

  7. ProxyChainPresetGui Quark

    ... preset".postcln; object.stepCurr(-1); // gui_updateListItem.(); }, '?', { "load rand preset".postcln; object.stepCurr((object.settingNames.size-1).rand+1); // gui_updateListItem.(); }, '>', { "load next preset".postcln; object.stepCurr(1); ...

  8. HrSimpleModulator Quark

    ... umIns = 1; var numOuts = 0; var bounds = Rect((Window.screenBounds.width - 350).rand, (Window.screenBounds.height - 115).rand, 450, 115); var name = "HrSimpleModulator"; ^super.new(argParentApp, name, argIdent, argUniqueID, argExtraArgs, bo ...

  9. 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. ...

  10. 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow