Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... for a precise number of repetitions, one can use a SynthDef with a hard cutoff envelope, as below. Note that adding an offset outside the phasor works better; Phasor.ar(0, playRate, start, end) is sometimes off by a few samples. This is li ...

  2. What If 130830 by luka (Luka P.) Code

    ... + 3000)}.dup * Decay.kr(trig, Demand.kr(trig,0,Drand([1,2,4,6], inf)*0.1)) // envelope ; }; { GVerb.ar( in: EnvGen.kr(Env.linen(20, 240, 40, 0.6, \sine)) * z * 0.9, roomsize: 30, revtime: 4, // SinOsc.kr(0.1,0,4,4.1), ...

  3. 122-collision_objects_synth Doc

    ... g= 0, dur= 0.5, freq= 400, freq2= 606, amount= 10, amp= 1, pan= 0| var e, z; e= EnvGen.kr(Env.perc(dur*0.01, dur), t_trig); z= BPF.ar(LFSaw.ar(freq+SinOsc.ar(freq2, 0, amount), 0, amp), freq2*2); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sy ...

  4. 122-collision_objects_synth Quark

    ... g= 0, dur= 0.5, freq= 400, freq2= 606, amount= 10, amp= 1, pan= 0| var e, z; e= EnvGen.kr(Env.perc(dur*0.01, dur), t_trig); z= BPF.ar(LFSaw.ar(freq+SinOsc.ar(freq2, 0, amount), 0, amp), freq2*2); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sy ...

  5. Avant Garde - Assignment 4: Algorithmic Harp (Pluck) [musc-9-pluck] by jonathan-coon (Jonathan Coon) Code

    ... SynthDef("plucking", {arg amp = 0.1, freq = 440, decay = 5, coef = 0.1; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, ...

  6. Glitch Routine - Basis for 'Lost Among the Atoms' SuperCollider EP by makary-kleinschmidt (rumush) Code

    ... ("freq1" + freq1).postln; ("freq2" + freq2).postln; play{ var mainEnv = EnvGen.ar(Env.linen(tim*0.5, tim*8, tim), doneAction:2); var timA = Array.geom(3, tim, 0.5); var trig = Impulse.ar(timA); var pos = Demand.a ...

  7. nanoKontrol2_Speed Quark

    ... 01, cut=2000, rq=0.9, dt=0.1, fb=1| CombL.ar(BLowPass.ar(Saw.ar(peak.lag(0.01), EnvGen.ar(Env.perc(att, rel, 0.5, -8), Impulse.kr(freq.lag(0.1))) ), cut.lag(0.01), rq.lag(0.01)),0.2, [dt,dt-0.001].lag(0.01), fb).tanh }); // play the Ndef Nd ...

  8. Opus+Process Quark

    ... starttime: 0, // condition could also be a number that says how many condition: Env([0, 1, 0], [1, 1], \\sin, 1), amp: 0.dbamp, // this is a good argument to pass in so you can provide // unique IDs id: eventID, outbus: 0, numChannels: 2, a ...

  9. PG_Cookbook05_Using_Samples Help

    ... , start, time, amp| var sig = PlayBuf .ar(1, bufnum, startPos: start, loop: 0), env = EnvGen .kr( Env .linen(0.01, time, 0.05, level: amp), doneAction: 2); Out .ar(out, (sig * env) ! 2) }).add; SynthDef ( \bell , { |out, accent = 0, amp = 0 ...

  10. particule1 Quark

    ... ncidence ; // higher freq. rolloff attenuation factor for incidence attackSig = EnvGen.ar(Env.perc(attackSecs, 0.0001, excitationAmp, -9 ), t_trig) ; // attackSig = Decay.ar( EnvGen.ar(Env.perc(attackSecs, 0.0001, excitationAmp, -9 ), t_tri ...

prev 161 162 163 164 165 166 167 168 169 170 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow