Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. CompositeInstr Doc

    ... str. It is a still a function. ( f = Instr("eperc",{ arg audio,dur=2.0; audio * EnvGen.kr(Env.sine(dur)) }); t = Instr("tonez",{ arg freq=300; Saw.ar(freq) }); // this creates a link::CompositeInstr:: // t is plugged into f o = t <>> f; o.g ...

  2. Using_Voicer Doc

    ... gate = 1, ffreq = 2000, gain = 2, fEgAmt = 4, pan = 0, freqlag = 0.08| var eg = EnvGen.kr(Env.adsr(0.01, 0.2, 0.6, 0.09), gate, doneAction: 2); var feg = EnvGen.kr(Env([0, 1, 0], [0.01, 0.2], -4), gate); var sig = Saw.ar(Lag.kr(freq, freqla ...

  3. Diamond Doc

    ... ind: s.boot; ( SynthDef(\sin, {|out=0, freq=440, dur=1, amp=02, pan=0| var sin, env, panner; sin = SinOsc.ar(freq, 0, amp); env = EnvGen.kr(Env.sine(dur), doneAction:2); panner = Pan2.ar(sin, pan, env); Out.ar(out, panner); }).add; ) ( var ...

  4. BlumBalance Doc

    ... herited instance methods Examples ( ~balanceTest = { var inL, inR; var out; var env1, env2; var in; var lfo; var freqMod; freqMod = LFNoise2.kr(3.3).range(0.98, 1.02); // L and R channels inL = SinOsc.ar(440 * freqMod, mul: 0.3); inR = SinO ...

  5. PMOsc Doc

    ... lay({ PMOsc.ar(300, 550, Line.ar(0, 20, 8), 0, 0.1) }); // modulate index ( e = Env.linen(2, 5, 2); Routine.run({ loop({ play({ LinPan2.ar(EnvGen.ar(e) * PMOsc.ar(2000.0.rand, 800.0.rand, Line.kr(0.0, 12.0.rand, 9), 0, 0.1), 1.0.rand2) }); ...

  6. ArrayedCollection Doc

    ... 57.42, 67.0]; fork { pitches.size.do{ |i| { var freq = pitches[i].midicps; var env = Env.perc.ar(Done.freeSelf); SinOsc.ar(freq) * 0.1 * env }.play; 0.2.wait } } ) ⧉ ✔ . clipAt ( index ) Similar to -at , but guarantees that any value for i ...

  7. NPVoicerSwitcher Doc

    ... p = 0.1, pan = 0, gate = 1| var sig = RLPF.ar(Pulse.ar(freq), lpFreq, 0.1); var env = Env.asr(0.01, 1, 0.1).kr(doneAction: 2, gate: gate); sig = sig * env * amp; sig = Pan2.ar(sig, pan); Out.ar(out, sig); }).add; ) // Create the switcher: 1 ...

  8. Warp Doc

    ... ar, exponential, sine, cosine, decibel, curve (this is similar to the curves in envelopes, see also Env ). Warps are internally created by ControlSpec . Usually they are created by the message asWarp , understood by symbols and numbers. A w ...

  9. RedSequencer Doc

    ... .1, 10))); dur= RedSequencer.kr([0.5, 1, 2], Impulse.kr(MouseY.kr(0.1, 1))); e= EnvGen.kr(Env.perc, Impulse.kr(dur)); z= SinOsc.ar(freq, 0, e); Out.ar(out, Pan2.ar(z, 0, 0.4)); }).add; ) a= Synth(\redseq) a.free ⧉ ✔ helpfile source: /tmp/sc ...

  10. Pstep Doc

    ... tly when needed, not before. See Pseg for a pattern whose value changes like an Env . Class Methods Pstep. new ( levels , durs: 1 , repeats: 1 ) Create an instance of Pstep. Arguments: levels A number, collection, or Pattern that returns th ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow