Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (747) Code (74) Doc (190) Help (79) Quark (392) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. CloundGenMiniFMproper by bateslewis (bateslewis) Code

    ... amp * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2.ar(snd * env, pan)); }, \ir ! 5).add; // wider, quasi-gaussian envelope, with a hold time in the middle. SynthDef(\pmWide, { |out, amp=0.1, carr=440, mod=880, index=0, sustain=0. ...

  2. TempoClick Doc

    ... nherited instance methods Examples s.boot; b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); c = TempoClick(s, TempoClock.default, subdiv: 8); ( a = { |t_trig = 0, bufnum| var tProb = TRand.kr(0.0, 1.0, t_trig) < 0.6, // l ...

  3. lcode07synths.scd by 0-91 (tedthetrumpet) Code

    ... = EnvGen.kr(theEnv, 1, doneAction: 2); sig = PlayBuf.ar(2, buf, BufRateScale.ir(buf) * rate, startPos: start); sig = sig * env; Out.ar(out, sig * amp) }).add; ( SynthDef(\warp, {|buf = #[0,0], rate = 1, freq = 261.6255653006, am ...

  4. republic_MasterFX Quark

    ... wn; in = in.round(0.5 ** (bits - 1)); down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // below 1/2 downsamp, do xfade: blend(in, down, (downsamp - 1).clip(0, 1)); }, // simple limiter \limit, \filter -> { |in, drive=1, amp ...

  5. IndexL Doc

    ... 0, bufnum = 0| Out.ar(out, SinOsc.ar( IndexL.kr( bufnum, MouseX.kr(0, BufFrames.ir(bufnum)) ), 0, 0.5 ) ) }).play(s, [\bufnum, b]); ) b.free; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/IndexL.schelp link::Classes ...

  6. EnvGen Help

    ... 0).range(0.0, 1.0), timeScale: 0.1 ) * SinOsc .ar(440, 0, 0.3) }.play; ) // an .ir rate input, a float or an ir rate ugen like Rand would work ( { EnvGen .kr( Env .asr( 0.1, 1.0, 0.5, \welch ), 1.0, Rand (0.1, 1.0), timeScale: 0.1 ) * SinOs ...

  7. DelayC Doc

    ... ples buffer. Therefore the minimum maxdelaytime and delaytime must be SampleDur.ir * 4 . Inherited class methods Instance Methods Inherited instance methods Examples ( // Dust randomly triggers Decay to create an exponential // decay envelo ...

  8. Convolution2 Help

    ... , 0.5)); }.play; ) Instead of triggering the kernel update yourself, as in the first example, you can use a UGen trigger signal to do so. In the next example, we use two Convolution2 UGens in order to continuously and smoothly change the im ...

  9. Grain Freeze by patrickryanmcminn (patrickryanmcminn) Code

    ... mono buffer) input = In.ar(inBus, 1); localBuf = LocalBuf.new(SampleRate.ir * 1, 1).clear; record = RecordBuf.ar(input, localBuf, loop: 0); //// Granulate: // Random distribution of triggers prevents amplitude modulation a ...

  10. decode_binaural Quark

    ... ".format(order).asSymbol; Udef( order, { var startBuf, sig; startBuf = orderKey.ir([0,1,1,0])[0]; sig = UIn.ar(0, (order+1).squared ); switch( mode, 'ambix', { sig = sig * ambixMul.keep( sig.size ); }, 'fuma', { sig = sig[ fumaOrder.keep( s ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow