Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. The Muse by mkb218 (mkb) Code

    ... ectly. ( b = Bus.audio(s, 1); SynthDef(\muse, {|freq, dur, vol| var env = EnvGen.kr(Env.linen(sustainTime: dur*0.925, attackTime: 0.075*dur, releaseTime: 0.01*dur), doneAction: 2); Out.ar(b, LPF.ar(Pulse.ar(freq, width: 0.5, mul: vo ...

  2. SS_SCMIRAudioFileOnsets Quark

    ... m, length; var env, input; var fft, trig; var featuresave; var onsetoutput; env=EnvGen.ar(Env([1,1],[length]),doneAction:2); //stereo made mono input= if(numChannels==1,{ PlayBuf.ar(1, playbufnum, BufRateScale.kr(playbufnum), 1, 0, 0); },{ ...

  3. TaskProxy Help

    ... ynthDef ( "pdef_grainlet" , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.3), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).store; ) x.play; ( x.source = { loop { s.sendMsg( "/s_new" , ...

  4. Lattice Quark

    ... ave where the attack and decay are each 10% of the duration var env, osc; env = EnvGen .kr( Env .sine(dur, amp), doneAction: 2); osc = SinOsc .ar(freq, 0, env); OffsetOut .ar(out, osc); }).memStore; ) // Moving through the lattice with a Pb ...

  5. 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+ ...

  6. Frequency Modulation GUI Demo 4 by bruno (Bruno Ruviaro) Code

    ... Points); carrFreqCtl = \carrFreqEnv.kr(carrFreqEnv.asArray); carrFreq = EnvGen.kr(carrFreqCtl); // A:B = carrFreq:modFreq, thus carrFreq = modFreq * B/A modFreq = carrFreq * freqRatio.reciprocal; modIndexEnv = Env.ne ...

  7. Subtractive Synthesis Demo with QuNeo - Patch 2 by bruno (Bruno Ruviaro) Code

    ... 001, att = 0.01, dec = 0.3, sus = 1, rel = 1, gate = 1; var snd, env; env = EnvGen.kr(Env.adsr(att, dec, sus, rel), gate: gate, doneAction: 2); snd = BPF.ar(WhiteNoise.ar(Impulse.ar(pulseFreq)), freq, Lag.kr(rq, 1)); snd = snd * env ...

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

  9. 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! ...

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow