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_basic_concepts_04 Help

    ... nvGen .ar( Env .perc(0.001, 0.03, 0.4), doneAction:2) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 1.wait; } }.play; ) ProxySynthDef .sampleAccurate = true ; // steady tone, because sample accurate. ...

  2. PG_06b_Time_Based_Patterns Help

    ... layed on a clock, but streams made from these patterns can be used in scheduled routines or functions as well. Only a scheduling context can ensure precise timing of requests for values. Ptime(repeats): Returns the amount of time elapsed si ...

  3. Group Help

    ... e we stored the Synths in an Array, we can also control them individually ( r = Routine ({ inf .do({ l.do({ arg node; node.set( "freq" ,rrand(10,120)); 1.0.wait; }); }) }); r.play; ) // g is in a group too. Since we didn't specify it's the ...

  4. 9_BinaryOp_synthesis Help

    ... /////////////// // scale the duration of the envelope for every new synth ( r = Routine ({ loop({ Synth ( "timeScale" , [ \ts , 0.01.rrand(0.3)]); 0.5.wait; }) }); ) r.play /////////////////////////////////////////////////////////////////// ...

  5. SCListView Help

    ... 5);w.close;}); //defer or crash, because FreqScopeWindow Class contains its own routine for cleaning up on CmdPeriod w.onClose_({n.free;f.free;freq.free}); }); )

  6. PG_02_Basic_Vocabulary Help

    ... unc, repeats): Get values from the function, but stop after 'repeats' items. * Proutine(routineFunc): Use the function like a routine. The function should return values using .yield or .embedInStream. Additional List Patterns Pser(list, rep ...

  7. Pspawn Help

    ... erPattern Pspawn is a pattern-based version of Pspawner . Where Pspawner uses a Routine-style function to determine when and how to spawn child patterns into the result stream, Pspawn uses an event pattern to determine the actions to take. ...

  8. Control-Structures Help

    ... { arg item; item.postln }); // iterates from eight to twenty, with stepsize two Routine ({ var i=10; while { i > 0 } { i.yield; i = i - 5.0.rand } }).do({ arg item; item.postln }); Note: The syntax (8..20).do uses an optimization to avoid g ...

  9. PG_06g_Data_Sharing Help

    ... ir(envir, pattern, independent): The Streams that evaluate patterns are usually Routines, and Routines have the special feature of remembering the Environment that was in force the last time it yielded, and restoring the same environment th ...

  10. MFCC Help

    ... g val; {val.plot;}.defer}); //Continuous graphical display of MFCC values; free routine before closing window ( var ms; w= Window .new( "Thirteen MFCC coefficients" , Rect (200,400,300,300)); ms= Mu ltiSliderView.new(w, Rect (10,10,260,280) ...

prev 11 12 13 14 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow