Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ments (which you build into your ugenGraphFunc ), and through new UGens such as Rand and TRand . When maximum flexibility is required, it is still possible to compile and send SynthDefs 'on the fly', albeit with SC2-like CPU spikes and a sm ...

  2. BufWr Doc

    ... (0) * rate, 0, BufFrames.kr(0))) }.play(s); ) x.set(\rate, 5); y.set(\rate, 2.0.rand); x.set(\rate, 2); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/BufWr.schelp link::Classes/BufWr::

  3. Streams-Patterns-Events4 Doc

    ... |out| var sound; Environment.use({ // set values in the environment ~freq = exprand(80, 600); ~amp = 0.1 + 0.3.rand; ~pan = 1.0.rand2; // call a randomly chosen instrument function // with values from the environment sound = [a,b,c].choose ...

  4. Pdef Doc

    ... create a new pattern each time it is called Pdef(\x, { Pbind(\note, Pseries(10.rand, 5.rand, 8.rand + 1), \dur, 1 / (8.rand + 1)) }); Pn(Pdef(\x)).play; // the function is called in the incoming event as current environment, so parameters ...

  5. FreqShift Doc

    ... ar table, pitch; table = [0, 2, 4, 5, 7, 9, 11, 12]; inf.do { pitch = (48+(12*2.rand) + table.choose).midicps; Synth.grain(\frqShift1, [\freq, pitch]); 3.wait; }; }).play; ) // shift pulse wave in opposite directions ( SynthDef(\frqShift1, ...

  6. Instr-making-Synths Doc

    ... EnvGen.kr(Env.triangle(dur),doneAction:2) }); Instr(\sin).spawnEvent( (dur: 4.0.rand) ) ) ⧉ ✔ see also Instr Patterns helpfile source: /tmp/scquark_hs/crucial-library/HelpSource/Guides/Instr-making-Synths.schelp link::Guides/Instr-making-Sy ...

  7. 091-livecoding-worlds Doc

    ... 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 1; RedBoid(~world, loc, vel, 0, mass, mass*5) //world,loc,vel,acc,mass,size .maxForce_(0.6.rrand(1.6)); }. ...

  8. Convolution2L Doc

    ... lloc(s, 2048); b.zero; c.zero; d.zero; ) ( 50.do { |it| c.set(20 * it + 10, 1.0.rand) }; 3.do { |it| b.set(400 * it + 100, 1) }; 20.do { |it| d.set(40 * it + 20, 1) }; ) ⧉ ✔ ( SynthDef(\conv_test, { |out, kernel, t_trig = 0| var input = Imp ...

  9. Archive Doc

    ... a storage place for various objects: q = (); // Event q[\a_long_array] = Array.rand(128, 0.0, 1.0); q[\pi_squared] = pi * pi; q[\favourite_sound] = { { SinOsc.ar([300, 330]).sum * LFPulse.kr(2 + [0, 0.01]) * 0.1 }.play }; q[\same_long_arra ...

  10. BSpline Doc

    ... To be honest I haven't figured out which B-Spline this is ( l = BSpline({ { 4.0.rand } ! 2 } ! 9); l.gui ) ⧉ ✔ Class Methods . new (describe method here) Arguments: points (describe argument here) order (describe argument here) isClosed (de ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow