Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. ProcEvents Doc

    ... mp, dur, procbus, outbus = 0; Out.ar(outbus, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2) * In.kr(procbus), // read off the overall env control of the ProcMod Rand(-1.0, 1.0) ) ) }).add; ) ( // create a Pr ...

  2. PG_Cookbook06_Phrase_Network Doc

    ... nOsc.kr(plfofreq, mul:mw, add:1); freq = Lag.kr(freq, freqlag) * plfo; fcurve = EnvGen.kr(Env.adsr(0, 0.3, 0.1, 20), gate); fcurve = (fcurve - 1).madd(0.7, 1) * ffreq; sig = Mix.ar([Pulse.ar(freq, 0.9), Saw.ar(freq*1.007)]); sig = RLPF.ar(s ...

  3. PG_Cookbook01_Basic_Sequencing Doc

    ... ocal, startPos: start), eg; sig = PitchShift.ar(sig, pitchRatio: stretch); eg = EnvGen.kr(Env.linen(attack, time, decay), sig.abs > 0, doneAction: Done.freeSelf); Out.ar(out, (sig * eg) ! 2) }).add; // note add! Without this, arguments won' ...

  4. Remap_Influx_by_envelope Quark

    ... 0, loopnode=0, dens = 10, resfreq = 500, ringtime = 0.01| var n = 15; var env = EnvGen.kr( Env({ 1.0.rand2 }!(n+1), {1.0.rand}!n, curve, releaseNode: n-1, loopNode: loopnode.min(n-3)), timeScale: timescale); var pitch = (env * [1, 0.33, -1] ...

  5. 19_Scheduling Doc

    ... abs ); car = SinOsc.ar( (freq * carPartial) + mod, 0, mul ); Out.ar( bus, car * EnvGen.kr(Env.sine(1), doneAction: Done.freeSelf, timeScale: ts) ) }).add; ) ( // DEFINE A ROUTINE r = Routine({ 12.do({ Synth( "fm2", [ \bus, 2.rand, \freq, 40 ...

  6. Pdef Doc

    ... ified. ( SynthDef(\Pdefhelp, { |out, freq, sustain = 1, amp = 1, pan| var env = EnvGen.kr(Env.perc(0.01, sustain), 1, doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0.5pi, amp * env), pan)); }).add; ) // event pattern as an ...

  7. LFGauss Help

    ... , i_freq = 440, i_sustain = 1, i_pan = 1, i_amp = 0.1, i_width=0.25 | var env = EnvGen .ar( Env .sine(i_sustain * i_width), doneAction: 2); var son = FSinOsc .ar(i_freq, 0.5pi, env); OffsetOut .ar(out, Pan2 .ar(son, i_pan, i_amp)); }).add; ...

  8. mapping-to-proxies1 Quark

    ... e=1, curve=0, loopnode=0, formfact=2, widfact=0.5, spread=1, amp=0.1| var env = EnvGen.kr( Env( { 1.0.rand2 }!11, {1.0.rand}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).midiratio * ...

  9. InfluxKtlLoop Quark

    ... 0, loopnode=0, dens = 10, resfreq = 500, ringtime = 0.01| var n = 15; var env = EnvGen.kr( Env({ 1.0.rand2 }!(n+1), {1.0.rand}!n, curve, releaseNode: n-1, loopNode: loopnode.min(n-3)), timeScale: timescale); var pitch = (env * [1, 0.33, -1] ...

  10. PpolyPar Quark

    ... amp = 0.1, t_gate = 1| var sig = Saw .ar(freq, amp), delayedSig; sig = sig!2 * EnvGen .ar( Env .perc(att, rel), t_gate); // add some spatial variance by LFO on delaytime delayedSig = DelayL .ar(sig, delaytime: { LFDNoise3 .kr(0.5).range(0. ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow