Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (525) Code (54) Doc (193) Help (39) Quark (233) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Buffer Help

    ... tly specified buffer number. Generally this is not needed. // Allocate 8 second stereo buffer s.boot; b = Buffer .alloc(s, s.sampleRate * 8.0, 2); b.free; * allocConsecutive(numBufs, server, numFrames, numChannels, completionMessage, bufnum ...

  2. Simple performance script to launch patterns a la Ableton by misc29377 (misc29377) Code

    ... sig = PlayBuf.ar(2, b[\drums][3], rate, loop: 0, doneAction: 2); // Stereo playback, no loop, free synth after done sig = sig * amp; // Apply amplitude Out.ar(0, Pan2.ar(sig, pan)); // Pan the signal an ...

  3. NodeProxy Help

    ... causes an uninitialized proxy to create a matching bus. normally ar defaults to stereo, kr to mono. this can be set in the classvars: defaultNumAudio, defaultNumControl Setting the source: NodeProxy keeps a number of slots which can be sour ...

  4. XiiSoundScratcher Quark

    ... ufferDict.at(poolName)[0][popup.value]; // create a mono buffer if the sound is stereo if(soundfile.numChannels == 2, { myTempBuffer = Buffer.readChannel(s, filepath, selStart, selNumFrames, [0]); }, { // and make a right size buffer if onl ...

  5. ResonatorNetwork Doc

    ... ll demonstrate two * different ways of simulating the output of our system as a stereo signal. Method 1 may be * seen as more physically correct, but uses roughly twice the number of modes of method 2 */ // method 1: simulate system output ...

  6. Wavetable Builder with GUI by txmod (txmod) Code

    ... naryValue] * LeakDC.ar(Osc.ar(d.wavetableBuf, playFreq, 0, 0.3))) ! 2 // stereo )}).play(s, [\playFreq, d.playFreq, \outLevel, d.outLevel]); }; d.playMultiWaveSynth = { d.stopSynth; if (d.tableCount > 1, { d.multiSynthNode ...

  7. Buffer Granulation Quark

    ... ig, bpFreq, bpRQ, (bpRQ ** -1) * (400 / bpFreq ** 0.5)); // generate array of 5 stereo signals sig = Pan2 .ar(sig, Demand .ar(env, 0, Dseq ([-1, 1], inf ) * panMax)); // mix to out Out .ar(0, Mix (sig) * amp) }, metadata: ( specs: ( posLo: ...

  8. Buffer_Granulation Doc

    ... ig, bpFreq, bpRQ, (bpRQ ** -1) * (400 / bpFreq ** 0.5)); // generate array of 5 stereo signals sig = Pan2.ar(sig, Demand.ar(env, 0, Dseq([-1, 1], inf) * panMax)); // mix to out Out.ar(0, Mix(sig) * amp) }, metadata: ( specs: ( posLo: [0.01, ...

  9. Buffer Doc

    ... or nil will reset to the Server's sample rate. Discussion: // Allocate 8 second stereo buffer s.boot; b = Buffer.alloc(s, s.sampleRate * 8.0, 2); b.free; ⧉ ✔ Buffer. allocConsecutive ( numBufs: 1 , server , numFrames , numChannels: 1 , comp ...

  10. SCTweets - 140 Character - swiki repost by zecraum (zecraum) Code

    ... ),friction:x,mass:x*30000))}.play by Click Nilson //blurble back into stereo: 135 chars play{({|i|var n=rrand(3,99),e=EnvGen.ar(Env({1.0.rand2**3}!n,{exprand(1e-4,1)}!(n-1),i,n-2,0));e*Blip.ar(9e2.rand2,e*9%[9,7])}!9).mean} // ...

prev 51 52 53 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow