Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (293) Code (40) Doc (206) Help (6) Quark (41) SCDoc ↗ Forum ↗ Google ↗
  1. Punchy break by badnumbersmusic (badnumbersmusic) Code

    ... fm1, fm2, fm3, noise, noiseenv, thump, thumpenv; switch = Env.cutoff.kr(Done.freeSelf, gate); fmenv = Env([0,1,0],[fmenvatttime,fmenvdectime],[fmenvattcurve,fmenvdeccurve]).kr(Done.none, t_trig, 1, amp * fmlevel); fm1 = SinOsc.ar(f ...

  2. Pproto Doc

    ... m)), 1, 1); audio = EnvGen.ar(Env.sine, 1, timeScale: sustain, doneAction: Done.freeSelf) * audio; audio = Pan2.ar(audio, pan, amp); OffsetOut.ar(out, audio); }).add; // use .store for rendering example below a = Pproto({ ~newgroup = (type: ...

  3. UGens Help

    ... iew: Synth-Controlling-UGens Control DetectSilence EnvGen Line XLine Linen Free FreeSelf Pause PauseSelf Random Values Rand ExpRand LinRand NRand IRand TIRand TRand TExpRand RandSeed RandID Array Usage Select TWindex to be continued ....

  4. LFGauss Doc

    ... = ncycles / freq; { var env = LFGauss.ar(dur, width, loop: 0, doneAction: Done.freeSelf).range; var son = FSinOsc.ar(freq, 0.5pi, env); son }.plot(dur); ) // ... now as a SynthDef ( SynthDef(\gabor, { |out, i_freq = 440, i_sustain = 1, i_p ...

  5. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    ... Count.ar(phaseTrig), sig = BufRd.ar(2, bufnum + bufOffset, phase, loop: 0); FreeSelf.kr(bufOffset >= numbufs); LocalOut.ar(phaseTrig); Out.ar(out, sig * amp); }).add; ) a = Synth(\playchunks, [bufnum: b.first, numbufs: b.size, ...

  6. 16-Sequencing-with-Patterns Doc

    ... sc.ar(freq, 0, amp) * EnvGen.kr(Env.linen(0.05, sustain, 0.1), doneAction: Done.freeSelf); Out.ar(out, sig ! 2) }).add; r = Task({ var delta; while { delta = dur.next; delta.notNil } { Synth(\smooth, [freq: midi.next.midicps, sustain: delta ...

  7. Pseq Doc

    ... = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pseq(#[60, 61, 63, 65, 72], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.nex ...

  8. Pfindur Doc

    ... = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var c; c = Pbind( \dur, Prand([1, 0.02, 0.2], inf), \instrument, \help_sinegrain, \degree, Pseries(0 ...

  9. circling transpositions by luka (Luka P.) Code

    ... verb.ar(input * wet, t60:6, damp:0.5); DetectSilence.ar(rev, doneAction: Done.freeSelf); Out.ar(outBus, input + (rev)); }).add; r = Synth("reverbBus", [\inBus, b, \wet, 0.5]); Pbind( \instrument, "plucking", \scale, Scale ...

  10. Pevent Doc

    ... = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) } ).add; a = Pn( Plazy({ Pbind( \instrument, \help_sinegrain, \freq, Pgeom(rrand(200, 600), rrand(1.001, 1.01), ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow