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

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

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

  5. ProcMod Doc

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

  6. EZFancySlider Doc

    ... p=0@0; 20.do{ EZFancySlider(w, 392@14," 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 all the windows / ...

  7. Control-Structures Doc

    ... with stepsize two Routine { var i = 10; while { i > 0 } { i.yield; i = i - 5.0.rand } }.do { arg item; item.postln }; // 'do' applies to the Routine ⧉ ✔ NOTE: The syntax (8..20).do uses an optimization to avoid generating an array that is ...

  8. EZNumber Doc

    ... , 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(En ...

  9. Matrix Doc

    ... ons. See Adverbs for Binary Operators . Discussion: ( var m = Matrix.with(Array.rand(9, -9, 9).clump(3)); var t = m.thresh(3); var t2 = m.thresh2(3); " original".postln; m.postmln; " thresh".postln; t.postmln; " thresh2".postln; t2.postmln; ...

  10. compose_complex_view Doc

    ... ews have likely // been created before. var tab = UserView() .background_(Color.rand); buttonLayout.add(button); stackLayout.add(tab); }); // Allows to specify the starting tab stackLayout.index_(0); tabView.layout_( VLayout() .add(buttonLa ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow