Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (285) Code (19) Doc (91) Help (18) Quark (156) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. TestMcldUGens Quark

    ... dup(100).postcs; // rnddata = 100.collect{|v| (v*0.01).sin}; rndbuf = Buffer.loadCollection(Server.default, rnddata); 0.5.wait; Server.default.sync; // rndbuf.plot; [ [{ avgunit.kr(PlayBuf.kr(1, rndbuf), 1, rnddata.size); }, \kr, Server.def ...

  2. filter Quark

    ... ; in = UIn.ar(0,1); in = BBandPass.ar( in, freq.clip(20,20000), bw ); in = in * DC.kr(1).blend( bw.explin(0.01,10,30,0,\none).dbamp, makeUp ); UOut.ar( 0, in ); }, addToAll: false, extraPrefix: "filter") .setSpec( \freq, \freq.asSpec ) .set ...

  3. AddEventTypes_PbindFx Quark

    ... r; } ) } *makeZeroSynthDef { SynthDef(\pbindFx_zero, { |out| ReplaceOut.ar(out, DC.ar(0)) }, [\ir]).store; } // like \pbindFx_zero, but makes order more clear when doing s.queryAllNodes while running *makeSplitZeroSynthDef { SynthDef(\pbind ...

  4. Cyton Quark

    ... st { //Connect to test signal 1xAmplitude, fast pulse this.prCommand($=); } testDC { //Connect to DC signal this.prCommand($p); } test2AmpSlow { //Connect to test signal 2xAmplitude, slow pulse this.prCommand($[); } test2AmpFast { //Connect ...

  5. AdCVerb Quark

    ... are random based on prime numbers, and can be posted to keep magical ones. */ AdCVerb { classvar <>verbose = false, <>maxTime = 0.2; // Initialize comb table for longer reverberations // "// combs: ".post; // try creating good prime number ...

  6. extSignal Quark

    ... es, phases; ^Signal.newClear(size).cosineFill(amplitudes, phases).normalize } addCosine { arg harmonicNumber = 1, amplitude = 1.0, phase = 0.0; ^this.addSine(harmonicNumber, amplitude, phase + 0.5pi) } cosineFill { arg amplitudes, phases; t ...

  7. WavetablePrep Quark

    ... = 0.0; i[topBin .. r.size - topBin] = 0.0; r[0] = 0.0; i[0] = 0.0; // also kill DC Complex(r, i) }, tenPctSlope: { |fft, topBin| var r = fft.real.copy, i = fft.imag.copy; var half = (topBin * 0.05).asInteger; var step; // number of items = ...

  8. README Quark

    ... ttps://tech.ebu.ch/docs/tech/tech3343-v2.pdf). Samples generally shouldn't have DC offset, although e.g. some kick drum samples naturally have non-zero mean. For more advice, you could [join the discussion here](https://github.com/tidalcycl ...

  9. AdCVerb Quark

    AdCVerb a simple reverb based on Schroeder and Moorer/Loy models, tuned for low coloration, with some special tweaks. AdCVerb is a bank of comb filters going thru a bank of allpass filters, with optional predelay. Input filtering is provide ...

  10. cymbal808Ryan-explanation Quark

    ... // output is zero. When they happen to be the same, // output is 1. ( { var a = DC.ar(0.7); var b = SinOsc.ar(1).round(0.1); x = BinaryOpUGen('==', a, b); [a, b, x]; }.plot(1); ) // The sum (mix) of 6 LFPulses results in a complex wave // w ...

prev 11 12 13 14 15 16 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow