Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... specs.select({|x| x.isKindOf(ControlSpec)}).keys.choose; MinBox.new(w, (0@0)@([rrand(20,100)@rrand(20,100)].choose)) .mode_(MinBox.modes.choose) .textMode_(MinBox.textModes.choose) .label_(spec.asString) .align_(MinBox.aligns.choose) .spec_ ...

  2. ChordtrisSoundModule Quark

    ... 0.8, freq=440, sustain=1, fattack=0.1, famp=4| var sound = Pulse.ar([freq, freq*Rand(0.999, 1.001)], [0.2, 0.8]); var fenv = EnvGen.kr(Env.perc(fattack, sustain), 1, freq*famp, freq); sound = MoogFF.ar(sound, fenv, 2); sound = sound * EnvGe ...

  3. 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 ...

  4. 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 ...

  5. 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 ...

  6. 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 ...

  7. 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 ...

  8. MantaOSC Quark

    ... amp.kr(0.1)), 0.001, 0.2) * PinkNoise.ar, \freq.kr(100) + SinOsc.ar(4*\freq.kr, Rand(), \depth.kr(0)), \decay.kr(1)); //Line.kr(1, 0, \decay.kr * 10, doneAction:2); src = src * EnvGen.kr(Env.adsr(0.01, 1, \release.kr(0.1)), gate: \gate.kr(1 ...

  9. EZSmoothSlider Quark

    ... { EZSmoothSlider (w, 392 @ 16 , " Freq " , \freq ,unitWidth: 30 ,initVal: 6000 .rand, numberWidth: 60 ,layout: \horz ) .setColors( Color .grey, Color .white) .font_( Font ( "Helvetica" , 11 )); }; ); Window .closeAll // use this to close al ...

  10. EZRoundSlider Quark

    ... o{ EZRoundSlider (w, 392 @ 16 , " Freq " , \freq ,unitWidth: 30 ,initVal: 6000 .rand, numberWidth: 60 ,layout: \horz ) .setColors( Color .grey, Color .white) .font_( Font ( "Helvetica" , 11 )); }; ); Window .closeAll // use this to close al ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow