Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. 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' ...

  2. 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 ...

  3. 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 ...

  4. Pbind Doc

    ... .ar(freq * [Rand(0.99, 1.01), Rand(0.99, 1.01)], 0, amp) }).distort * 0.2; eg = EnvGen.kr(Env.asr(1, 1, 1), gate, doneAction: Done.freeSelf); out = eg * RLPF.ar(osc, fc, 0.1); #a, b = out; Out.ar(i_out, Mix.ar(PanAz.ar(4, [a, b], [pan, pan+ ...

  5. Vowel Doc

    ... e, b1) .blend(vi, b2) .blend(vo, b3) .blend(vu, b4) .brightenExp(bright, 1) ) * EnvGen.kr(Env.perc, 3.0, doneAction: 2); Out.ar(0, Pan2.ar(sig, pan, 0.1)); }).add ) ( Task({ 32.do({ arg i; Synth(\vowblend, [ \pan, i.linlin(0,32, -1, 1 ), \f ...

  6. Opus Doc

    ... outBus = 0, inBus = 2, freq, dur = 1; Out.ar(outBus, SinOsc.ar(freq, 0, 0.4) * EnvGen.kr(Env([0, 1, 0], [0.1, 0.9], \sin), timeScale: dur)) }); sd; } */ // reload files after making changes in them o.loadFiles; // access and play the note! ...

  7. NamedControl Doc

    ... e combined to build SynthDefs. ( q = (); q.makeEnv = { |q, env, doneAction = 0| EnvGen.kr(env, NamedControl.kr(\gate, 1), doneAction: doneAction) }; q.chooseNoise = { [{ PinkNoise.ar }, { WhiteNoise.ar }, { LFNoise2.ar(Rand(100, 1000)) }].c ...

  8. Syn Doc

    ... he gate value to set. Numbers less than -1.0 will trigger a forced release (see EnvGen ). . releaseToBundle Construct a bundle (List) of all the messages required to release this Syn. Arguments: bundle A List or nil. gate The gate value to ...

  9. SampleDescript Doc

    ... var env = e.env; Out.ar(1, SinOsc.ar(LFNoise0.kr(300, mul: 100, add: 800), mul: EnvGen.kr(env, doneAction: 2))) }.play; e.play; ) ⧉ ✔ helpfile source: /tmp/scquark_hs/SuperSampler/HelpSource/Classes/SampleDescript.schelp link::Classes/Sampl ...

  10. PpolyPar Doc

    ... , 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.005, ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow