Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nt, \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; } ); SynthFile.postAll(\block); ////////// //BLOCKS!!!! //patterns Radicles.document; ( Block.cloc ...

  2. web Quark

    ... ton.new( window, 80@20 ).states_( [[ "new colors" ]] ) .action_({ ({ |i| Color .rand(0.0,1.0); } ! 9) .sort({ |a,b| a.hue <= b.hue }) .do({ |color, i| comps[i].background_( color ) }); process.value; }); button.doAction; GUI .button.new( wi ...

  3. UC33Ktl Quark

    ... test_bla" ++ i).asSymbol] = { |ring = 0.02| Pan2 .ar( Ringz .ar( Impulse .ar(exprand(0.5, 4)), exprand(300, 3000), ring), 1.0.rand2, 0.2) }; }; Spec.add(\ring, [0.0001, 1, \exp]); ) // make a UC33Ktl, and map it to the mixer: // the sliders ...

  4. nanoKONTROL2 Quark

    ... = 1), { if ( (rbuttons[scene][cc - knobs_note].val == 1), { // TODO: smooth the randomness a little bit p = 1.0.rand; }); if ( (sbuttons[scene][cc - knobs_note].val == 1), { p = (val.linlin(0,127,-1,1) - knobs[scene][cc - knobs_note].tmpSva ...

  5. XiiToshioMorpher Quark

    ... dexArray = {{0} ! 10} ! 10; // storing indexes to buffers directionsArray = {{8.rand} ! 10} ! 10; // the directions of the toshios stateDict = (); stateNum = 0; outbus = 0; globalvol = 1; // clock = TempoClock.new(1, 0, Main.elapsedTime.cei ...

  6. GAPmatch Quark

    ... ( poolSize, paramSpace, { 1; }, {|chrom| var tempChrom = paramSpace.value; var randIndex = (tempChrom.size - 1).rand; chrom[randIndex] = tempChrom[randIndex]; chrom; } ); gaInstance.mutationProb = 0.1; sGroups = servers.collect({|srv| Grou ...

  7. SVGFile Quark

    ... y.svg" , [ ] ); 10.do({ f.add( SVGPath ([[ \M , 200, 200]] ++ ({ [ \s ] ++ ({50.rand2}!4) }!10), strokeColor: Color .rand) ); }); ) f.plot; f.writePDF; // will produce a .ps file instead if GhostScript is not installed Note: in the current ...

  8. OFX_ChainGui Quark

    ... Slot(sourceKey) ); // @TODO: make blank space flexible var blankSpace = 12; var randomizeSectionButton = Button.new() .states_([ ["rand"], ]) .action_({|obj| chain.randomizeSlot(sourceKey) }); wetness = Slider.new() .orientation_(\horizonta ...

  9. EQspecs Quark

    ... sig * mul); }); } makeSynthName { var str; str = this.hash.asString; // or 1.0.rand.asString? str.do({ arg s, i; (s == $.).if({ str.put(i, $-) }); }); ^("EQ" ++ str) } }

  10. Voicer Quark

    ... v = Voicer .new(8, "harpsi" ); // uses Server.local f = Array .fill(5, { 1000.0.rand + 50 }); v.trigger(f); // play 5 notes v.release(f); // release the same gate1(freq, dur, gate = 1, args, lat) gate(freq, dur, gate = 1, args, lat) Trigger ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow