Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. IrDef Quark

    ... + "_Flu.wav").postln; }); server.sync; bufAformat.free; bufWXYZ.free; }; irA4 = Array.newClear(4); irSpectrum = Array.newClear(4); 4.do({ | i | irA4[i] = Buffer.readChannel(server, afmtDir, channels: [i]); irSpectrum[i] = Buffer.alloc(serve ...

  2. CutBit1 Quark

    ... dMsg(\n_free,synthid); } renderBlock {arg block,clock; var samprate,bitstart,bitarray,srarray, s; s= cutgroup.server; bitstart= bits.value(block); samprate= sr.value(block); srarray= Array.geom(block.cuts.size,samprate,srmult.value(block)); ...

  3. CutMod1 Quark

    ... .sendMsg(\n_free,synthid); } renderBlock {arg block,clock; var freq, amount,freqarray,amountarray, s; s= cutgroup.server; amount= modamount.value(block); freq= modfreq.value(block); amountarray= (Array.geom(block.cuts.size,amount,mamult.val ...

  4. extStatistics Quark

    ... initialized as float 0.0 to avoid numerical // errors for sums of large integer arrays. sumF { | function | var sum = 0.0; if (function.isNil) { // optimized version if no function this.do { | elem | sum = sum + elem; } }{ this.do {|elem, i ...

  5. Fields Quark

    ... } prUnipolar{ |rect, hsize, contrast, color, t=0| var min, max, image, rgbs, valArray, xmap, ymap, vsize; min = 100; max = 0; rect = rect ? Rect(0,0,1,1); vsize = (hsize*rect.height/rect.width).asInteger; hsize = hsize.asInteger; vsize = vs ...

  6. SensorControl Quark

    ... n, <>onoffAction, <>offAction; var <>defaultRetAction; var <>weights; var <>dataArray; var <task, <>waitTime = 0.05; *new{ |data,name| ^super.new.init(data,name); } longshort_{ |long| if ( long, { updateValues = { var val; val = 0; dataArra ...

  7. ATSResidual Quark

    ... ////// ATSResidual { var <>atsSound; var <>audioData; // original samples (FloatArray) var <>residual; // FloatArray, filled by compute var <>synthesis; // FloatArray, deterministic part var <>bandEnergy; // [frame][band] residual energy in ...

  8. TestMultithreading_wip Quark

    ( Alga.boot({ AlgaSynthDef(\test, { Mix(Array.fill(1000, { | i | SinOsc.ar(\freq.kr(100) * i) })) * DC.ar(0) }).add; 4.do { AlgaNode(\test) }; fork { loop { s.avgCPU.postln; 1.wait; } } }, algaServerOptions: AlgaServerOptions(blockSize: 64, ...

  9. SequenceableColl-asBus Quark

    ... us -> Bus.new(\audio, 0, 1, Server.local) + SequenceableCollection { asBus { // array should be index, numchan, server, rate ^Bus.new(this.at(3) ? \audio, this.at(0) ? 0, this.at(1) ? 2, this.at(2) ? Server.default) } }

  10. SequenceableColl-asBus Quark

    ... us -> Bus.new(\audio, 0, 1, Server.local) + SequenceableCollection { asBus { // array should be index, numchan, server, rate ^Bus.new(this.at(3) ? \audio, this.at(0) ? 0, this.at(1) ? 2, this.at(2) ? Server.default) } }

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow