Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ycle, atk, rel, curve); } initCutStream3 {arg aed, off, sw, dm,pt,pstt, nb, pbs,dc,ap,rp,c; deallocate=false; //inbus=ib ?? {Server.default.options.numOutputBusChannels}; database = aed; //can't be nil, dealt with in setup offset=off ? 1; s ...

  2. Vibrato Doc

    ... Methods Inherited instance methods Examples // vibrato at 1 Hz, note the use of DC.ar UGen; a constant of 400.0 doesn't work { SinOsc.ar(Vibrato.ar(DC.ar(400.0), 1, 0.02)) }.play // compare: k-rate freq input can be a constant { SinOsc.ar(V ...

  3. Block Quark

    ... .ar(lowpass[0]), NN(key, \forward).ar(lowpass[1])]; SelectX.ar(trig.lag(time), [DC.ar(0), sig]) * amp; } ], [ 'nntds', {arg bus=1, amp = 1, lowcut= 20, hicut= 20000; var input, highpass, lowpass, key; input = SoundIn.ar(bus-1); highpass = H ...

  4. addition Help

    ... BinaryOperator a + b { FSinOsc .ar(800, 0, 0.1) + PinkNoise .ar(0.1) }.play; // DC offset; add: 0.1 would be more efficient { FSinOsc .ar + 0.1 }.play

  5. ArrayMax Doc

    ... ent in half a second XLine.ar(1, 10, 1), // an exponential ascent in one second DC.ar(3) // a constant ]; # val, index = ArrayMax.ar(son); [val, index] }.plot(1, minval: nil, maxval: nil); ) ⧉ ✔ Here we use the operation as an audio effect: ...

  6. NodeSnapshot_unittest Quark

    ... er(); 1.wait; SynthDef(\NodeSnapshotTestA, { |a, b = 2, c = #[1, 2]| Out.ar(10, DC.ar([0, 0])); Out.kr(20, DC.kr([0, 0, 0])); }).add; s.sync; ~synth = Synth(\NodeSnapshotTestA); ~testSnap.({ |sn| test.assertEquals(sn.root.children[0].childr ...

  7. TestMultithreading_wip Quark

    ... nthDef(\test, { Mix(Array.fill(1000, { | i | SinOsc.ar(\freq.kr(100) * i) })) * DC.ar(0) }).add; 4.do { AlgaNode(\test) }; fork { loop { s.avgCPU.postln; 1.wait; } } }, algaServerOptions: AlgaServerOptions(blockSize: 64, supernova: true, su ...

  8. ArrayMin Doc

    ... ent in half a second XLine.ar(1, 10, 1), // an exponential ascent in one second DC.ar(3) // a constant ]; # val, index = ArrayMin.ar(son); [val, index] }.plot(1, minval: nil, maxval: nil); ) ⧉ ✔ Here we use the operation as an audio effect: ...

  9. synth Quark

    ... Select.ar(cpSaturate, [in, (in + K2A.ar(cpBias)).softclip - cpBias]); in = LeakDC.ar(in); in = in * env; DirtPause.ar(in, graceTime: 4); // dryAmplitude, SendPeakRMS.kr(dry, replyRate: 16, peakLag: 3, cmdName:"/cpInRms", replyID: orbitInde ...

  10. All available inputs by wondersluyter (wondersluyter) Code

    ... ing into microphone and still pretend not to be insane ( { var input, sig = DC.ar(0); // Per-key trigger & envelopes var trig, env, qenv; // Each key's BPF Q attack time (global) var qtime = LFNoise2.kr(1).linexp(-1, 1, 0.1, ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow