Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. acid_oto309 Quark

    ... .cpsmidi; pitch = Lag.kr(pitch, 0.12 * (1-Trig.kr(gate, 0.001)) * gate); env1 = EnvGen.ar(Env.new([0, 1.0, 0, 0], [0.001, 2.0, 0.04], [0, -4, -4], 2), gate, amp); env2 = EnvGen.ar(Env.adsr(0.001, 0.8, 0, 0.8, 70, -4), gate); son = LFPulse.a ...

  2. waveguideFlute Quark

    ... = ControlRate.ir; block = cr.reciprocal; ifqc = freq; // noise envelope kenv1 = EnvGen.kr(Env.new( [ 0.0, 1.1 * ipress, ipress, ipress, 0.0 ], [ 0.06, 0.2, dur - 0.46, 0.2 ], 'linear' ) ); // overall envelope kenv2 = EnvGen.kr(Env.new( [ 0. ...

  3. CtkGroup Doc

    ... ine.run({ pnotes = CtkProtoNotes( SynthDef(\test, {arg dur, freq, amp; var env, envgen, src; env = Control.names([\env]).kr(Env.newClear(8)); envgen = EnvGen.kr(env, timeScale: dur, doneAction: 2); src = SinOsc.ar(freq, 0, amp * envgen); Ou ...

  4. CtkControl Doc

    ... ments: env An instance of an Env to be passed to a synth as the argument for an EnvGen. starttime If used in a CtkScore, specifies a time to write the initVal to the bus. addAction A symbol (\head, \tail, \before, \after or \replace) or an ...

  5. sos_bell Quark

    ... , 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3, 0.2, 0], [0, 0.3, 0.3, 0.3] * decay), trig); // A bit of FM adds 'warble' son = son * LFTri.ar({TRand.kr(1.0, 1.8,trig)}.dup(6), 1, ...

  6. sos_bell Quark

    ... , 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3, 0.2, 0], [0, 0.3, 0.3, 0.3] * decay), trig); // A bit of FM adds 'warble' son = son * LFTri.ar({TRand.kr(1.0, 1.8,trig)}.dup(6), 1, ...

  7. AudioEventSpec Doc

    ... n datatype specifying an 'audio' rate function which will end the synth with an EnvGen Location: NOT INSTALLED! See also: EnvGen , Event Description This is an example of very usage dependent spec. It has been used to mark the output spec f ...

  8. acid_oto309 Quark

    ... .cpsmidi; pitch = Lag.kr(pitch, 0.12 * (1-Trig.kr(gate, 0.001)) * gate); env1 = EnvGen.ar(Env.new([0, 1.0, 0, 0], [0.001, 2.0, 0.04], [0, -4, -4], 2), gate, amp); env2 = EnvGen.ar(Env.adsr(0.001, 0.8, 0, 0.8, 70, -4), gate); son = LFPulse.a ...

  9. CloudGenMiniExtraSynthDefs by bateslewis (bateslewis) Code

    ... amp=0.1, freq=440, sustain=0.01, pan| var snd = FSinOsc.ar(freq); var env = EnvGen.ar(Env.sine(sustain, amp * AmpComp.ir(freq) * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2.ar(snd * env, pan)); }, \ir ! 5).add; // wider, quasi ...

  10. Dawn and Mist by alessandrovalentino (sandrovale) Code

    ... :0); }; ).add; SynthDef(\play,{ Out.ar(0,PlayBuf.ar(2,~buff,rate:-1,loop:1)*EnvGen.ar(Env([0,0.5,1.0,0.5,0],[6,5,10,9]))*0.2); }; ).add; SynthDef(\perc,{arg freq=80; var d,l=4; d=LPF.ar(Mix(SinOsc.ar(freq,0,0.5),SinOsc.ar(2*freq,0,0 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow