Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... n_voices.collect {|idx| SinOsc.ar(Latch.kr(midinote.midicps, trigs[idx])) * EnvGen.ar( Env.perc(0.01,3), trigs[idx]; ); }; LocalOut.kr( n_voices.collect {|idx| EnvGen.kr(Env.new([1,0,1],[0,max_voice_time]), tri ...

  2. RedTapeRecorder Quark

    ... (1), gate)*(1-muteWhileRecording|playTrigger).lag(lag); var recPhasor= Gate.ar( EnvGen.ar( Env(#[0, 1, 0], #[1, 0], 'lin', 1), gate, BufFrames.kr(buffer), 0, BufDur.kr(buffer) ), gate ); var playPhasor= Phasor.ar(playTrigger, 1, 0, Latch.ar ...

  3. sosTom Quark

    ... 50, timbreIndex = 0.77, amp = 1, att = 0.005, curve = -6; var drumMode, drumModeEnv, stick, stickEnv, snd; drumModeEnv = Env.perc( attackTime: att, releaseTime: drumRel, level: 0.5, curve: curve).kr(doneAction: 2); drumMode = PMOsc.ar( carf ...

  4. Graphic illustration of granular time-stretching by 0-7r (jamshark70) Code

    ... = false| var data = d[start.asInteger .. (start + samps - 1).asInteger], env = Env.sine(1).discretize(samps), top = plotY+height, mapY = { |x, y| Point(plotX + x, y.linlin(-1, 1, top, plotY)) }; // envelope Pen.color_(f ...

  5. mrcl snippets #4: carillon cycles by elgiano (elgiano) Code

    ... and(80*((Scale.major.ratios*.1(2**(0..4))).flat),inf)); sin = SinOsc.ar(freq)*EnvGen.kr(Env.perc(0.1,2),Impulse.kr(TRand.kr(0.2,1.2,dC)*speed)); LocalOut.kr(nC++dC); Mix(Pan2.ar(sin/sin.size*AmpCompA.kr(freq),[-1,1]))*4 }.fadeTime_(0 ...

  6. Recursion-toy-like vines with Pen by uiae (uiae) Code

    ... Branches = 6; q.minRadius = 0.15; q.maxRadius = 70; q.makeBranch = { arg env, x, y, theta, radius, scale = 1.0, generation = 1; ( x: x, y: y, ox:x, oy: y, x1: nil, x2: nil, y1: nil, y2: nil, scale: 1.0, ...

  7. WFSSynthDef Quark

    ... vel = 1, i_fadeInTime = 0, i_fadeOutTime = 0, outOffset = 0, gate = 1| var out, env, pos, in, busLevel, scaledIn; env = EnvGen.kr( Env.new([0,1,1,0], [ i_fadeInTime, (totalTime - (i_fadeInTime + i_fadeOutTime)).max(0) + extraTime, i_fadeOut ...

  8. wfsSource Quark

    ... fset: 0, HardwareBusSpec(), notPreviewMode, \nonsynth ], // bus offset ] ) .addUEnv .addUGlobalEQ .addUIO( UIn, \ar, 0, 1 ) .inputIsEndPoint_( true ) .setSynthFunc_({ |unit ...keyValuePairs| keyValuePairs = (keyValuePairs ? []).clump(2) // ...

  9. STKinstructions Plugin

    ... essure=64, gain=0.2,gate=1,bus=0, lag = 0.1,sloc=0,riset=0.2,decayt=0.2 ; var z,env; env = EnvGen.kr(Env.adsr(attackTime:riset, decayTime:0,sustainLevel:1, releaseTime:0.1,peakLevel:1),gate:gate, doneAction:0); z = StkClarinet.ar( freq:Lag. ...

  10. Re: Generating Graphics and Music From The Dragon Curve by blueprint (blueprint) Code

    ... snd, click; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.03, Rand(3.0, 4.0), 1, -7), doneAction: 2); snd = HPF.ar( LPF.ar(snd, 380), 120); // The "clicking" sounds are modeled wi ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow