Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    + Env { asPolyLine { |width = 1, height = 1| var points, lastTime = 0; points = [this.timeLine, levels.copy]; points[0] = (points[0] / this.duration) * width; points[1] = points[1].normalize(height,0); // upside down ^PolyLine( *points.flop ...

  2. CutBuf3 Quark

    ... ,outbus=0,rate=1,startPos=0,dur=0.1,atk=0.005, rel=0.005, curve=0; var playbuf, env; playbuf= PlayBuf.ar(i+1,bufnum,BufRateScale.kr(bufnum)*rate,1,startPos,1); env= EnvGen.ar(Env([0,1,1,0],[atk,dur-atk-rel,rel],curve),doneAction:2); Out.ar( ...

  3. FreeUdef Quark

    ... single synth // if there are more synths started please either add them to the env // or to the unit.synths in the func. This synth will be tracked to // let the unit know if it stopped or not. It may also be a Group, // but in that case a ...

  4. Block Quark

    ... , 0.5); } ], [ 'blocknew2', {arg freq=200 , trig=1 ; Pulse.ar(freq, 0.5, 0.5) * Env.adsr.kr(gate: trig); } ] ]

  5. SETODictObj Quark

    ... : SETOgui(a) s.boot SynthDef(\whoa, {|freq = 100| Out.ar(0, SinOsc.ar(freq)!2 * EnvGen.ar(Env([0, 1, 0], [0.11, 0.01]), levelScale: 0.051, doneAction: 2))} ).add; SynthDef(\wuha, {|freq = 100| Out.ar(0, LPF.ar(Pulse.ar(freq))!2 * EnvGen.ar( ...

  6. FreeUdef Quark

    ... single synth // if there are more synths started please either add them to the env // or to the unit.synths in the func. This synth will be tracked to // let the unit know if it stopped or not. It may also be a Group, // but in that case a ...

  7. beatX Quark

    ... .dup; var pattGate = ( Hasher.ar(cnt*patt).madd(pi).mod(1)); // patternizer var env = Decay2.ar(metro * pattGate, att.min(dcy*0.5), dcy); kick = Ringz.ar(downBeat * BrownNoise.ar(0.075 * volKick), 80, 0.5, 0.4).dup; // kick/bass. ffreq = (( ...

  8. Participation.test Quark

    ... , \ arg out=0, freq=1000, freq2=400, freq3=70, sustain=0.1, amp=0.1, pan;\ var env, u;\ env = EnvGen .ar( Env .sine(sustain, amp), doneAction:2);\ u = SinOsc .ar(freq, SinOsc .ar([freq2, freq3]) * 0.4) * env;\ OffsetOut .ar(out, u)\ \).sto ...

  9. clapElectro Quark

    ... a fraction of noise1's length. mix = 0.6, fadeFreq = 4000, fadeTime = 0.52; var env1, env2, snd, noise1, noise2; // noise 1: four short repeats env1 = Env.new( levels: [0, 1, 0, 0.9, 0, 0.7, 0, 0.5, 0], times: [att / 20, 0.009, 0, 0.008, 0, ...

  10. wfsDynamicPoint Quark

    ... false ), true ] ], true ).category_( \private ) // first a few general things .envPut( \getArgsFor, { |evt, which, args, server, startPos = 0| if( which.notNil ) { U.formatArgs( (args ? []).clump(2) .select({ |arr| which.includes( arr[0] ) ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow