Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Bits Inherited class methods Instance methods do reverseDo clip fold wrap coin xrand2 modSeaside isFloat asFloat as32Bits high32Bits low32Bits asCompileString asStringPrec dump Using Floats as replacement for Integers Inherited instance met ...

  2. BufEnvir Doc

    ... ) }).store ); ) // start a process ( q.rout = Routine { var dt; loop { dt = exprand(0.01, 1.2); Synth(\help_PlayBuf, [ \bufnum, q.b[\apollo], \rate, 0.06 * [1, 2, 3, -1, -2, -3].choose + 1, \offset, 1.0.rand, \sustain, dt * rrand(1.0, 1.3) ...

  3. GUI Help

    ... for a dedicated block of statements: GUI .cocoa; GUI .useID( \swing , { Array .rand( 1000, 0.0, 1.0 ).plot }); GUI .current.id.postln; // --> still cocoa You can get a particular kit using the *get method. You can switch to a particular ki ...

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

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

  6. PathName Doc

    ... ; table2 = Signal.newClear.asWavetable; table3 = Wavetable.sineFill(1024, Array.rand(64, 0.0, 1.0)); FileDialog.new( { |ok, path| var myPathName, myPathOnly; if (ok, { myPathName = PathName.new(path); myPathOnly = myPathName.pathOnly; ("wri ...

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

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

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

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

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow