Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ffreq = 2000, rq = 0.3, freqlag = 0.05, amp = 1| var sig, plfo, fcurve; plfo = SinOsc.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, ...

  2. SOS Doc

    ... ta); b2 = rho.squared.neg; vib = SOS.kr(LFSaw.kr(3.16), 1.0, 0.0, 0.0, b1, b2); SinOsc.ar(vib * 200 + 600) * 0.2 }.play ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/SOS.schelp link::Classes/SOS::

  3. PlazyEnvirN Doc

    ... r(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; a = PlazyEnvirN({ |g = 0, h = 0, dur = 1| postf("g: %, h: %, dur: %\n", g, h, dur); Pbind( \instrument, \help_sinegrain, ...

  4. RosslerL Doc

    ... 0.2), LFNoise0.kr(1, 0.2, 0.7) ) * 0.2 }.play(s); ) // as a frequency control { SinOsc.ar(Lag.ar(RosslerL.ar(MouseX.kr(1, 200)))*800+900)*0.4 }.play(s); ⧉ ✔ An example utilising the three different outputs as pitch, PWM and pan values (resp ...

  5. RedGrandMst Doc

    ... t.clock= TempoClock(150/60); RedMst.quant= 2; SynthDef(\fast, {|freq| Out.ar(0, SinOsc.ar(freq, 0, Line.kr(0.2, 0, 0.1, doneAction: 2)))}).add; RedTrk(\a, Pbind(\instrument, \fast, \dur, 1, \degree, Pseq(#[0, 4, 2, 3], inf)), #[0, 1]); RedT ...

  6. GrainRenderer Doc

    ... , freq = 67, sustain = 0.5, attack = 0.01, amp=0.1, startFreq = 1000| var osc = SinOsc.ar(XLine.kr(startFreq, freq, attack), 0.5pi); var env = EnvGen.kr(Env.perc(attack, sustain), doneAction: 2) * amp; Out.ar(out, osc * env!2); }).metadata_ ...

  7. CueInfo Doc

    ... hDef to play with ( SynthDef(\oneNote, { arg note = 60, dec = 2; var sig; sig = SinOsc.ar(note.midicps) * Line.kr(1,0,dec, doneAction:2) * 0.1; Out.ar([0,1], sig); }).add; a = CuePlayer.new; // Create a new CuePlayer instance // Define the ...

  8. CtkControl Doc

    ... Arguments: ugen An oscillating Ugen. Choose from: LFNoise0, LFNoise1, LFNoise2,SinOsc, Impulse, LFSaw, LFPar, LFTri, LFCub. freq The frequency of oscillation. low The lower bounds of oscillation. high The upper bounds of oscillation. phase ...

  9. HoaEncodeMatrix Doc

    ... rections.size, 1, 1).reciprocal; // audition ( { var gain = -18; var sig; sig = SinOsc.ar(~freqs, mul: gain.dbamp * ~amps); HoaEncodeMatrix.ar(sig, ~matrixEncoder); }.play(outbus: ~outbus) ) // quit rt server s.quit ⧉ ✔ helpfile source: /tm ...

  10. Psubdivide Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Psubdivide( Pseq(#[1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4], inf), Pseq(#[0.5, 1, 2, 0.25, 0.25], inf) ); x = a.asStrea ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow