Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. HilbertWIm Doc

    ... .sampleRate; // in seconds freq = dur.reciprocal; { // imaginary HilbertWIm.ar( SinOsc.ar(freq, pi/2), // cosine test, one cycle over fftbuffer size size: size); }.loadToFloatArray(overSample * dur, s, { |arr| defer { arr = arr.copyRange(st ...

  2. techno kick by thomas-legacy (Thomas Legacy) Code

    ... ne.freeSelf); // for reverb // separate signals for extra processing low = SinOsc.ar(freq * env1 * env2); high = WhiteNoise.ar() * wEnv * 0.6; high = BBandPass.ar(high, 1000, 2); dry = Mix.new([low, high]) * aEnv; dry = Crossov ...

  3. softSet Doc

    ... iven, softSet simply allows setting. Examples Ndef(\test, { |freq=200| Splay.ar(SinOsc.ar(freq * Array.rand(12, 0.95, 1.05))) }); Ndef(\test).play(vol: 0.1); Ndef(\test).gui(4) Ndef(\test).set(\freq, 300); // 3 midi steps == 0.02362; Ndef(\ ...

  4. AlgaPattern Doc

    ... hedResync method. Discussion: ( Alga.boot({ //Pattern to modify a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.5 }, dur: 0.5 )).play(chans:2); //Metronome b = AP(( def: { EnvPerc.ar(release: SampleDur.ir); Impulse.ar(0) }, dur: 1 ...

  5. DragSource Doc

    ... urce(w, Rect(10, 130, 150, 20)).align_(\center).setBoth_(false); f.object = { { SinOsc.ar(440, 0, 0.4) }.play }; f.string = "My label is independent"; f.dragLabel = " My dragLabel_() says \n I am dragging a sound function "; // receive anyt ...

  6. Pstep Help

    ... , pan = 0; var window; window = Env .sine(sustain, amp); Out .ar(out, Pan2 .ar( SinOsc .ar(freq) * EnvGen .ar(window, doneAction:2), pan ) ) } ).store; times = Pseq ([3.4, 1, 0.2, 0.2, 0.2], inf ); levels = Pseq ([0, 1, 2, 3, 4], inf ); a = ...

  7. Performance Unit - Buffers (part 2) by makary-kleinschmidt (rumush) Code

    ... n(0.0005, dur-0.001, 0.0005, 1, IRand(-8,-4)), gate, doneAction:2); var mod = SinOsc.ar(freq*Rand(0.25,2),0,index-(index*modMix))+HenonC.ar(freq*IRand(4,8),mul:index*modMix); var src = SinOsc.ar(freq+mod,0,0.125); Out.ar([out, out+1 ...

  8. MultiTouchPad Quark

    ... cFreq, mul, pan, distort, decay; var trig = Impulse .ar(impulseFreq); var snd = SinOsc .ar(oscFreq, 0, Decay2 .ar(trig, 0.01, 0.2 * decay)); Out .ar(0, Pan2 .ar((tanh(snd * distort) / distort) * mul.lag(0.1), pan.lag(0.1))); }).memStore; ) ...

  9. BetaBlocker-examplePrograms Plugin

    ... ollection b === a.collection(false) b === a.collection(true) x = a.play(10000 + SinOsc.ar(10)); SinOsc.ar(0).linlin(-1, 1, 10000, 19000)) x.free a.plot(duration: 0.15) // impulse a = BBlockerProgram([\ORG, \NOT, \NOT, \NOP, \NOP, \NOP, \NOP ...

  10. Additive Synthesis GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... env = EnvGen.ar(Env.adsr(att, dec, sus, rel), gate, doneAction: 2); snd = SinOsc.ar(freq, 0, amp) * env; Out.ar(0, snd!2); }).add; SynthDef(\amp, {arg inbus=0, amp = 0.1; ReplaceOut.ar(inbus, In.ar(inbus, 2) * amp); ...

prev 221 222 223 224 225 226 227 228 229 230 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow