Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (747) Code (74) Doc (190) Help (79) Quark (392) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. A Convolution Reverb: Stereo with Reverse Option by pyoungryangko (prko) Code

    ( fork{ var path, inSrc, irL, irR, convTime, fftsize, bufsizeL, bufsizeR, irSpctrmL, irSpctrmR, convolver; path= Platform.resourceDir; // path! "preparing buffers.. ".post; inSrc= Buffer.readChannel(s, path+/+"sounds/a11wlk ...

  2. A Multichannel Convolution Reverb by pyoungryangko (prko) Code

    ( ~numIRs = 4; ~fftsize = 2048; s.waitForBoot { var irs, irbuffs, bufsizes, nextmod, numSamples; nextmod = 100; numSamples = 40000 ; /* an array of multiple IRs */ irs = ~numIRs.collect{ arg nth; // nth is here not used, ...

  3. Electricity by dsastre (DSastre) Code

    ... fsetOut.ar(10, (humSource + OnePole.ar(comb * 0.2, exp(-2pi * (3000 * SampleDur.ir))))); comb!2 ; }.play; ) //Fig 39.8: Hum and sparks //Contains the subpatches shown in fig 39.2, 39.4, 39.5, 39.6 & 39.7. //The scope win ...

  4. Cars by dsastre (DSastre) Code

    ... ar(toy, 0, 1); toy = (toy - OnePole.ar(toy, exp(-2pi * (10 * SampleDur.ir)))); toy = OnePole.ar(toy, exp(-2pi * (30 * SampleDur.ir))); noise = WhiteNoise.ar; noise = (noise - OnePole.ar(noise, exp(-2pi ...

  5. Convolution reverb and impulse responses by zecraum (zecraum) Code

    ... bham.ac.uk/lists/sc-users-2016/msg52187.html // code for building & testing IRs // setup ( s.waitForBoot({ { // init // free old buffers if (a.notNil, { if (a.buffer.notNil, { a.buffer.free; }); if (a.ta ...

  6. Insects by dsastre (DSastre) Code

    ... g) * demand; cricket = OnePole.ar(cricket, exp(-2pi * (1000 * SampleDur.ir))); cricket = ( // changed the Q factor of the first 3 BPFs to approximate farnells sound BPF.ar(cricket, 4500 + ((0..2)*50), 300.reciprocal, 100) ...

  7. [beginner question] how to transmit parameter value to a function inside a SynthDef by elienaulleau (pictosonic) Code

    ... I pass to the function a litteral value, such as 200. Also passing \threshold.ir(100) raises an exception at Command+Enter time. So how to pass a parameter to a function called inside a SynthDef ? Thank you ! ~freqgold = List[ 29.03 ...

  8. Vocal Clouds (work in progress) by emergent (emergent) Code

    ... m, chan, src; ~notes[num] = Synth.new(\voxgrains, [ \baserate, (num-60).midiratio, \amp, val.linexp(1,127,0.02,0.3), //velocity detection \gate, 1, \bend, ~bend.linlin(0,16383,-2,2), \basedur, ~mod.linlin(0,127,0.07,2), ...

  9. OSC etude #1 by emergent (emergent) Code

    ... ef(\marimba, { var sig, env, rq; rq = \rq.kr(0.03); env = Env.asr(\atk.ir(0.25), 0.5, \rel.ir(1)).kr(2, \gate.kr(1)); sig = LFSaw.ar( LFNoise1.kr( LFNoise1.kr(6).range(\rmin.kr(2), \rmax.kr(16)), 0.9, ).exprang ...

  10. CloudGenMiniExtraSynthDefs by bateslewis (bateslewis) Code

    ... r snd = FSinOsc.ar(freq); var env = EnvGen.ar(Env.sine(sustain, amp * AmpComp.ir(freq) * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2.ar(snd * env, pan)); }, \ir ! 5).add; // wider, quasi-gaussian envelope, with a hold time in th ...

1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow