Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1070) Code (249) Doc (326) Help (124) Quark (363) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. TestDurInterpolation Quark

    ( s.waitForBoot({ SynthDef(\imp, { Out.ar(0, Impulse.ar(0).dup * EnvPerc.ar(release: 0.01)); }).add; s.sync; ~dur = 1; t = TempoClock.default; d = Pbind( \type, \note, \instrument, \imp, \dur, Pfunc { var val = ~dur.next; val.postln; val } ...

  2. Convolution Help

    ... size 16384 a = 2048; // kernel buffer g = Buffer .alloc(s, a, 1); ) ( // random impulse response g.set(0, 1.0); 100.do { arg i; g.setn(a.rand, 1.0.rand) }; { var input, kernel; input = SoundIn .ar(0); kernel = PlayBuf .ar(1, g, BufRateScale ...

  3. TestClockTempoInterpolationscd Quark

    ( Alga.boot({ a = AP({ FreeSelf.kr(Impulse.ar(0)) }).play(chans:2); }); ) Alga.interpTempo(tempo: 10, time: 5) Alga.interpTempo(tempo: 5, time: 3, sched: 1) Alga.interpTempo(tempo: 10, time: 5, shape: Env([0, 1, 0, 1], [1, 2, 3])) ( ~tempo ...

  4. NanoKtl Quark

    ... .do { |i| p[( "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 nanoKtl, and map it to the mixer: ...

  5. BinAmbi3O Doc

    ... arPath_("KemarHRTF/"); BinAmbi3O.init('1_4_7_4'); ~test = { EnvGen.kr(Env.adsr, Impulse.kr(3)) * PinkNoise.ar(0.8); }; ~enc = { PanAmbi3O.ar(~test.ar, MouseX.kr(-pi, pi), MouseY.kr(-pi, pi)) }; ~bin = { BinAmbi3O.ar(~enc.ar) }; ~bin.play // ...

  6. WarpOverlap Plugin

    ... ay, warpwindowsizearray, warpwindowoverlapsarray, warpwindowranarray; trigger = Impulse.kr(windowsize.reciprocal, Array.fill(overlaps, {arg i; (overlaps - i) / overlaps}) ); tris = SinOsc.kr(windowsize.reciprocal, Array.fill(overlaps, {arg ...

  7. PV_Div Help

    ... ally be OK, white noise is a good choice var son = WhiteNoise .ar; // var son = Impulse.ar; var out = LPF .ar(son, MouseX .kr(100, 10000, 1)); var fft1 = FFT ( LocalBuf (b.numFrames), son, wintype: 1); var fft2 = FFT (b, out, wintype: 1); / ...

  8. InTrig Doc

    ... ime the bus is "touched", ie. has its value set (using "/c_set" etc.), a single impulse trigger will be generated. Its amplitude is the value that the bus was set to. If the bus is set synchronously no trigger will be generated. Class Metho ...

  9. PlayBufFree Quark

    ... startPos=0.0, endPos=1.0, loop = 0.0, keepLoop = 0; var out, trigger; trigger = Impulse.ar( rate.abs * ( (1 / (BufDur.kr(bufnum) * (endPos - startPos) .abs.max(0.000000001))) ).min(20000) * loop.round(1) ); ^PlayBuf.ar( numChannels, bufnum, ...

  10. Re: cosmic organ by vividsnow (vividsnow) Code

    ... Latch.kr( LFNoise2.kr(1).range(1/5,5.rrand(20)).reciprocal, Impulse.kr(LFNoise2.kr(3.rrand(10).reciprocal).range(0.5,3.rrand(6))) ), SinOsc.kr(3.rrand(15).reciprocal).range(0.07.rrand(0.16),0.25.rrand(0.4 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow