Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... r .alloc(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 , { arg kernel, t_trig=0; var input; input= Impu ...

  2. Archive Help

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

  3. SynthDefsVsSynths Help

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

  4. Spawning Help

    ... ; // SynthDef-play returns a Synth object. ) // then do this ( SynthDef ( "help-Rand" , { arg out=0; Out .ar(out, FSinOsc .ar( Rand (200.0, 400.0), // frequency between 200 and 400 Hz 0, Line .kr(0.2, 0, 1, doneAction:2)) // frees itself ) ...

  5. Sync-Async Help

    ... once produces the error "FAILURE /s_new SynthDef not found" ( var name; name = "Rand-SynthDef" ++ 400.0.rand; // use a random name to ensure it's not already loaded SynthDef (name, { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }).send(s); S ...

  6. Understanding-Errors Help

    ... l stack to help locate the error. Routine ({ var a; a = 5; loop { var b; b = 20.rand; b.postln.ecky_ecky_phtang; // "NI!!!!" a.wait; } }).play; ERROR: Message 'ecky_ecky_phtang' not understood. RECEIVER: Integer 6 ARGS: Instance of Array { ...

  7. SCKnob Help

    ... nicode) The default keydown actions are: key action comment r valueAction_ (1.0.rand) n valueAction_ (0) x valueAction_ (1) c valueAction_ (0.5) ] increment by keystep [ decrement by keystep unicode 16rF700, increment by keystep up arrow un ...

  8. SymbolicNotations Help

    ... lean logical And Boolean || Boolean logical Or When a function is the second operand, these operators perform short-circuiting (i.e., the function is executed only when its result would influence the result of the operation). This is recomm ...

  9. PdefAllGui Help

    ... ostln; 0.5.wait } }); Pdef ( \b , { |e| 100.do { |i| Pdef ( \a ).set( \otto , 8.rand); exprand(0.1, 3.0).wait } }); t = PdefAllGui (8); ) // if you have too many Pdefs, an ezscroller lets you select "abcdefghijk" .do { |ch| Pdef (ch.asSymbo ...

  10. TdefAllGui Help

    ... ostln; 0.5.wait } }); Tdef ( \b , { |e| 100.do { |i| Tdef ( \a ).set( \otto , 8.rand); exprand(0.1, 3.0).wait } }); t = TdefAllGui (8); ) // if you have too many Tdefs, an ezscroller lets you select "abcdefghijk" .do { |ch| Tdef (ch.asSymbo ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow