Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. EventPatternProxy Doc

    ... kr(Env.perc(0.03, sustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), pan)); }).add; ) s.boot; #a, b, c ...

  2. Republic Quark

    ... questResp; var <allClientIDs; var <>onJoinServerAction; // var <time; var <>usesRandIDs = true, <>usesSeparateState = true, <>postSource = false; var <synthDefNames; init { super.init; servers = (); allClientIDs = (); synthDefSendCmd = repu ...

  3. SmoothSlider Quark

    ... ? key.getArrowKey; // standard keydown if (char == $r, { this.valueAction = 1.0.rand; }); if (char == $n, { this.valueAction = 0.0; }); if (char == $x, { this.valueAction = 1.0; }); if (char == $c, { this.valueAction = centerPos; }); if (ch ...

  4. PointView Quark

    ... phase index into the rotation oscillators var <rotateMode; // \rtt or \ypr var <randomizedAxes; // dictionary of booleans for randomize state of each axis var <>randomVariance; // normalized value to apply to movement speed if randomized va ...

  5. QuartzComposerView Doc

    ... .getOutputValue(\_protocolOutput_Image) i.plot; j = Image.color(100, 100, Color.rand); j.plot; m.setInputValue(\_protocolInput_Image, j); ////////// Control some audio: Stupid Pan Example ( w = Window("Stupid Pan Example", Rect(0, 20, 600, ...

  6. EZNumber Help

    ... .25, bal=0, amp=0.4, gate = 1; var x; x = Mix .fill(4, { LFSaw .ar((note + {0.1.rand2}.dup).midicps, 0, 0.02) }); x = RLPF .ar(x, fc, rq).softclip; x = RLPF .ar(x, fc, rq, amp).softclip; x = Balance2 .ar(x[0], x[1], bal); x = x * EnvGen .kr ...

  7. PwarpDur Doc

    ... fied duration"). ( p = Pspawner { |sp| var notes, dur; loop { notes = Pseries( rrand(-9, -5), Pconst(16, Pwrand([1, 2, 3, 4], [1, 4, 4, 2].normalizeSum, inf)), inf ).asStream.all; dur = exprand(2.5, 6.0); sp.par(Pbind( \instrument, \default ...

  8. ProcModR Doc

    ... an2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2), Rand.new(-1.0, 1.0) ) ) // read off the overall env control of the ProcMod }).add; // create a new ProcModR, and assign a function to it a = ProcModR.new(Env([0 ...

  9. Dissonance Quark

    ... = Array .fill(5, { |i| (i + 1).reciprocal}); // amplitude array 1/n b = Array .rand(5, 0.125, 1.0); // random amplitudes // convert amplitudes into sones: t = [f, a.ampdb].flop.asSone(90).round(0.01); u = [g, b.ampdb].flop.asSone(90).round ...

  10. GUI Quark

    ... ine = FlowView.new(win.view, (win.view.bounds.width - 20)@50).background_(Color.rand); //for filename Button(thisLine.view, 750@50) .states_([[fileText, colorSet1[4], colorSet1[1]]]) .action_({thisSample.play(idx)}) .receiveDragHandler_(dra ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow