Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. jitlib_efficiency Help

    ... ef is already on the server ~a = Pbind ( \instrument , name, \freq , ...); ~a = Routine ({ loop({ s.sendMsg( "/s_new" , name, ...)}) }); ~a.refresh; ~a.wakeUp; // waking up a stopped proxy does not require a resend these resend the synth wi ...

  2. Pfsm Help

    ... 73, #[0, 2], Pseq ([74, 75, 76, 77]), #[2, 3, 3], nil , nil ], inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.1.wait; }) }).play; ) ( Pfsm ([ #[5, 6, 7], // entry states //e1 (== state 0) Pbind ( ...

  3. Pprob Help

    ... ).add; ) ( var t; a = Pprob ([0, 0, 1, 0, 1, 1, 0, 0], 60, 80); t = a.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , t.next.midicps]); 0.01.wait; }) }).play; ) a.distribution = [0, 1]; a.distribution = [1, 0]; a.distributio ...

  4. Debugging-tips Help

    ... Control(num) to read the value. If you want to track the value over time, use a routine to poll repeatedly. { var freq; freq = LFNoise1 .kr(2, 600, 800); SharedOut .kr(0, freq); // no need for Impulse here SinOsc .ar(freq, 0, 0.3) ! 2 }.pla ...

  5. DiskIn Help

    ... b = Buffer .cueSoundFile(s, p, 0, 1); f = { DiskIn .ar(1, b) }; x = f.play; r = Routine ({ loop({ d.wait; x.free; x = f.play; b.close( b.cueSoundFileMsg(p, 0)) }); }).play; ) r.stop; x.free; b.close; b.free; // you need to do all these to p ...

  6. 3_Runtime_errors Help

    ... on> var i = 3 < FunctionDef in closed FunctionDef > (no arguments or variables) Routine-prStart arg this = <instance of Routine> arg inval = 758.000000 //////////////////////////////////////////////////////////////////////////////////////// ...

  7. SubsampleOffset Help

    ... 4, offset); OffsetOut .ar(out, sig); }, [ \ir , \ir , \ir , \ir ]).send(s); ) ( Routine { loop { s.sendBundle(0.2, [9, \Help_Subsample_Grain , -1, 1, 1, \freq , 1000]); rrand(0.001, 0.002).wait; } }.play; )

  8. OscN Help

    ... OscN .ar(bufnum, [80,80.2], 0, 0.2) ) }).play(s,[ \out , 0, \bufnum , b]); ) ( Routine ({ var n = 32; 50.do({ b.sine1( Array .rand(n,0,1).cubed, true , true , true ); 0.25.wait; }); }).play; ) b.free;

  9. Server Help

    ... rmanent node ID for later reuse. wait(responseName) - this can be used within a Routine to wait for a server reply waitForBoot(func, limit) - evaluate the function func as soon as the server has booted. If it is running, it is evaluated imm ...

  10. Order-of-execution Help

    ... ant and decide where the synths need to go. A common configuration is to have a routine playing nodes, all of which need to be processed by a single effect. Plus, you want this effect to be separate from other things running at the same tim ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow