Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (655) Code (151) Doc (206) Help (61) Quark (221) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Part-Aleatoric Sample Machine by nathan (nathan) Code

    ... hoose]); ) // Change samples (freeing synths and creating new ones prevents noise when switching sample buffers) ( x.set(\gate,0); z.free; u.free; t.free; z = Synth(\hipass,[\inBus,m]); u = Synth.before(z, \lopass,[\inBus,l]); ...

  2. FreqShift Help

    ... 25])}.play(s); // modulating shift and phase { FreqShift .ar( SinOsc .ar(10), LFNoise2 .ar(0.3,1500), SinOsc .ar(500).range(0,2pi),[0.5,0.5])}.play(s); // the ubiquitous houston example ( b = Buffer .read(s, "sounds/a11wlk01.wav" ); { FreqS ...

  3. LPCAnalyzer Doc

    ... s spectrally flat to begin with, ie, an impulse train ( Impulse UGen ) or white noise ( WhiteNoise UGen ). The two big hits to CPU costs here are large n, causing peaky calculation hits once per window as autocorrelation coefficients are ca ...

  4. XiiRecord Quark

    ... * InFeedback.ar(in, i)); //}); // Adding Limiter as sometimes I was getting bad noises on overload SynthDef.writeOnce("xii-diskout-" ++ i.asString, { arg in, bufNum=0, amp=1; DiskOut.ar(bufNum, Limiter.ar(amp * InFeedback.ar(in, i), 0.99, 0 ...

  5. Coyote Doc

    ... tance methods Examples // Right speaker is the source and at left is a burst of noise when an onset is detected ( SynthDef("coyote", { var sounds = Mix.fill(3, { var trig = Dust.kr(1); Saw.ar(TRand.kr(50, 880, trig), Decay.kr(trig, TRand.kr ...

  6. Done Doc

    ... Line.kr(1, 0, 1); a = SinOsc.ar(440, 0, 0.1*line); // sound fading out b = WhiteNoise.ar(Done.kr(line)*0.1); // noise starts at end of line Out.ar(out, Pan2.ar(a+b)); }).add; ) Synth("Done-help"); // note that this synth doesn't have it's o ...

  7. Signal Help

    ... al.sineFill2([[8], [13, 0.5], [21, 0.25], [55, 0.125, 0.5pi]]); // add a little noise real.overDub( Signal .fill(size, { 0.2.bilinrand })); imag = Signal .newClear(size); cosTable = Signal .fftCosTable(size); complex = fft(real, imag, cosTa ...

  8. distortedGuitar Quark

    ... own right) Starting with the pick, I used Hasher.ar to provide the same initial noise for each pick, but replacing that line with WhiteNoise.ar works fine. This then goes through the first comb filter, which mutes certain frequencies based ...

  9. Convolution2L Help

    ... input = SoundIn .ar(0); inputAmp = Amplitude .kr(input); threshhold = 0.02; // noise gating threshold gate = Lag .kr(inputAmp > threshhold, 0.01); Convolution2L .ar(input*gate, g, 0, a, 1, 0.5); }.play; ) // one last example ( b = Buffer . ...

  10. scm_synthdef_autoload Quark

    ... .2, freq=2000, rq=3, curve=(-7), boost=0, pan=0, amp=0.5, out=0 | var sig = PinkNoise.ar(); var env = EnvGen.ar(Env.perc(rise, decay, curve: curve), doneAction: 2); sig = BPF.ar(sig, freq, rq, env); sig = tanh((boost + 1) * sig); sig = Pan2 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow