Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 2 * 3).max(0) * 0.2) }); Ndef ( \sound , Pbind ( \dur , 0.17, \freq , Pfunc ({ rrand(300, 700) })) ); Ndef ( \lfo , { LFNoise1 .kr(3, 400, 800) }); Ndef ( \sound ).map( \freq , Ndef ( \lfo )); Ndef ( \sound , { arg freq; SinOsc .ar([600, 63 ...

  2. TdefGui Help

    ... Tdef ( \a ), 12, w) ) Tdef ( \b , { |e| 100.do { |i| Tdef ( \a ).set( \otto , 8.rand); exprand(0.1, 3.0).wait } }); Tdef ( \b ).play; TdefGui ( Tdef ( \b )); // see all Tdefs: TdefAllGui (16); See also TdefAllGui , PdefGui , PdefAllGui . In ...

  3. ProxyMixer Help

    ... 50, intv=19, timescale=1, curve=0, loopnode=0| var env = EnvGen .kr( Env ({ 1.0.rand2 }!11, {1.0.rand}!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay . ...

  4. Tour_of_UGens Help

    ... 0, 1200],[0.3, 0.3, 0.3],[pi,pi,pi]], 1, 0) * 0.4}.scope(1); { Klang .ar(`[ {exprand(400, 2000)}.dup(16), nil , nil ], 1, 0) * 0.04 }.scope(1); Table Oscillators Osc, COsc, VOsc, VOsc3 Use a buffer allocated on the server. Osc arguments: bu ...

  5. SynthDef Help

    ... are other ways of achieving similar results, however, often using UGens such as Rand . For example, the following def will have a single randomly generated frequency, which will be the same for every Synth based on it: ( SynthDef ( \help_no ...

  6. Quant Help

    ... ded for that calculation should also be present in the Event. // schedule for a random number of beats after the next integer Pfuncn ({ thisThread .clock.beats.debug( "scheduled for" ); nil }, 1) .play(quant: ( nextTimeOnGrid: { |self, cloc ...

  7. Control-Structures Help

    ... e examples: if ( [ false , true ].choose, // Boolean expression (chooses one at random) { "expression was true" .postln }, // true function { "expression was false" .postln } // false function ) ( var a = 1, z; z = if (a < 5, { 100 },{ 200 ...

  8. PathName Help

    ... ; table2 = Signal.newClear.asWavetable; table3 = Wavetable.sineFill(1024, Array.rand(64, 0.0, 1.0)); PutFileDialog.new( "Pick a folder for tables1-3/", "table1", { arg ok, path; var myPathName, myPathOnly; if (ok, { myPathName = PathName.ne ...

  9. GUI Help

    ... for a dedicated block of statements: GUI .cocoa; GUI .useID( \swing , { Array .rand( 1000, 0.0, 1.0 ).plot }); GUI .current.id.postln; // --> still cocoa You can get a particular kit using the *get method. You can switch to a particular ki ...

  10. EventPatternProxy Help

    ... = EnvGen .kr( Env .perc(0.03, sustain), 1, doneAction:2); 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)); }).store; ) s.boot; #a ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow