Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) // play a layered pattern with gaps and overlays ( x = Pbind( \instrument, \help_sinegrain, \degree, Pn(Plazy({ Prand([0, 4, ...

  2. Step Sequencer with Midi/Scales/Tuning capabilities by rukano (rukano) Code

    ... ynthDef(synthList[0], { |out, freq=440, pan, amp=0.1, sustain=0.25| var snd = SinOsc.ar(freq); snd = snd * EnvGen.ar(Env.perc(0.01, sustain), doneAction:2); snd = Pan2.ar(snd, pan); OffsetOut.ar(out, snd*amp); }).add; SynthDef(s ...

  3. Pboolnet Doc

    ... ; var env; env = EnvGen.kr(Env.perc(0.01, dur, amp), doneAction:2); Out.ar(out, SinOsc.ar(freq, 0, env)) }).store; ) ( // simple pattern var boolnet, pattern; boolnet = Pboolnet([ 0, \or, 1, \and, 1, \xor, 1, \and, 0, \and, 1, \xor, 1, \and ...

  4. SoftClock Doc

    ... , pan, amp=0.3| var e, z; e= EnvGen.ar(Env.perc(0, 0.1, amp), doneAction:2); z= SinOsc.ar(freq, 0, 0.2); OffsetOut.ar(0, Pan2.ar(z*e, pan)); }).add; ); ) // play a pattern on clock t: ( Pdef(\a, Pbind(\instrument, \ping, \degree, Pseq((0..7 ...

  5. XiiFilters Quark

    ... .0; Ê Êvar fx, sig; Ê Êsig = InFeedback.ar(inbus,1); fx = Resonz.ar(sig, ffreq, SinOsc.kr(rq).range(0.2, 0.8)); fx = Resonz.ar(fx, SinOsc.kr(ffreq2), SinOsc.ar(rq2).range(20,8000)); Ê ÊOut.ar(outbus, (fx * fxlevel) + (sig * level)) }).load( ...

  6. LocalIn Doc

    ... al, in; in = Mix.fill(12, { Pan2.ar( Decay2.ar(Dust.ar(0.05), 0.1, 0.5, 0.1) * FSinOsc.ar(IRand(36, 84).midicps).cubed.max(0), Rand(-1, 1)) }); in = in + Pan2.ar(Decay2.ar(Dust.ar(0.03), 0.04, 0.3) * BrownNoise.ar, 0); 4.do { in = AllpassN. ...

  7. DetectSilence Doc

    ... sc . optimizeGraph Examples ( SynthDef("detectSilence-help", { |out| var z; z = SinOsc.ar(Rand(400, 700), 0, LFDNoise3.kr(8).max(0)).softclip * 0.3; DetectSilence.ar(z, doneAction: Done.freeSelf); Out.ar(out, z); }).add; ) Synth("detectSile ...

  8. HilbertPDNIm Doc

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

  9. HilbertPDNRe Doc

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

  10. PLbindef Doc

    ... n_grain, { |out = 0, freq = 400, att = 0.005, rel = 0.1, amp = 0.1| var sig = { SinOsc.ar(freq, Rand(0, 2pi)) } ! 2; sig = sig * EnvGen.ar(Env.perc(att, rel, amp), doneAction: 2); OffsetOut.ar(out, sig); }).add; SynthDef(\saw_grain, { |out ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow