Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. core-synths Quark

    ... numChannels = ~dirt.numChannels; // write variants for different sample buffer sizes (1..SuperDirt.maxSampleNumChannels).do { |sampleNumChannels| var name = format("dirt_sample_%_%", sampleNumChannels, numChannels); SynthDef(name, { |out, ...

  2. Exercise_05_HOA_b_format_file_playback Doc

    ... ter chan 36 so as not to see the mic input o.numAudioBusChannels = 2048; o.blockSize = 512; o.numWireBufs = 1024 * 16; o.memSize = 2.pow(18); o.sampleRate = 48000; s.makeWindow; s.boot; ) ⧉ ✔ Start the oscilloscope showing all the channels ...

  3. Logger Doc

    ... l begin again at the first entry. in can be an array - it should be of the same size as the number of channels in the buffer. NB: Logger zeroes the buffer upon first instantiation, to ensure that out-of-date data is not confused with new da ...

  4. XBeeSMS Quark

    ... |id,vals| this.sendMsg( $w, id, vals ); } lightNew{ |id,vals| var length = vals.size + 2; port.putAll( ([ 10, length.asInteger, id.asInteger, $l.ascii ] ++ (vals.collect{ |it| it.asInteger }) ).postln; ) } motor{ |val| port.putAll( [ $m.asc ...

  5. ModFile Quark

    ... Path = item.pathOnly; libFolderPath = libFolderPath.copyFromStart(libFolderPath.size-2); this.whichFile(file, class, libFolderPath;); }; }, { libsFolder.do{|item| if(exclude.indexOfEqual(item.folderName).notNil.not, { libFolderPath = item.p ...

  6. 01_GuidedTour Quark

    ... .dump; ~list.at(0); // at index begins with 0 ~list.last; ~list.scramble; ~list.size; ~list.do { |element| element.postln }; ~list.collect { |element| element.squared }; ~list + 100; // becomes a collect automagically ~list2 = ~list.collect ...

  7. Randomized FM7 perc sounds by davidmorgan (david_morgan) Code

    ... ); var levels = (0..rrand(3,8)).collect({1.0.rand;}); var durs = (0..levels.size-1).collect({1.0.rand}).normalizeSum; var env = Env(levels,durs,shape); EnvGen.kr(env, gate:trig, timeScale:dur).range(min, max); }; ~ctrls = {arg f ...

  8. composition barebone by vividsnow (vividsnow) Code

    ... ernal); { Stethoscope(Server.internal, channels * bus, out, zoom:1/4).toggleSize }.defer; }, Pspawn( Pbind(*[ // or maybe ppar for independent partition method: \par, tag: Pwrand([\break,\steady,\transit], [1,3,1].n ...

  9. KMeans Doc

    ... centroids; k.assignments; // When you hve AT LEAST k points stored (k.centroids.size == k.k), you can run the learning step: k.update; // After update, the centroids should have moved to reflect the data better: k.centroids; // Here's how w ...

  10. SCImageFilter Help

    ... st a = SCImage .new( "/Library/Desktop Pictures/Plants/Peony.jpg" ).scalesWhenResized_( true ).setSize(500, 400); a.plot; // look at me first - i am beautiful // but i want you to be posterize ( h = SCImageFilter .new( \CIColorPosterize ); ...

prev 281 282 283 284 285 286 287 288 289 290 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow