-
... m on that pattern and iterates that pattern until it ends before moving on. For example here is one pattern nested in another. ( var a, b; a = Pseq .new([1, Pseq .new([100,200], 2), 3], 3); b = a.asStream; 19.do({ b.next.postln; }); ) Pseqs ...
-
... def's envir. like PxMix and NPGui makeSkip - A flag whether to make a skipjack. Examples ( Tdef ( \a , { |e| 100.do { |i| i.postln; 0.5.wait } }); Tdef ( \b , { |e| 100.do { |i| Tdef ( \a ).set( \otto , 8.rand); exprand(0.1, 3.0).wait } }); ...
-
... all first x.set( \spread , 1, \center , 0); // full n chans x.free; // the same example written with arFill: ( x = { arg spread=1, level=0.5, width=2, center=0.0; SplayZ .arFill( 4, 10, { |i| SinOsc .ar( LFNoise2 .kr( rrand(10, 20), 200, i ...
-
... rlacing operations to insert the pedal notes in between the changing notes. The example demonstrates the use of the 'scale' and 'root' event keys to define tonality. Root = 2 is D, and the scale defines a natural minor mode. The degree sequ ...
-
... pFunc mouseUpFunc_ (action) Deprecated. Use mouseUpAction instead. See SCView . Examples GUI - Overview contains an elobarate example on how to make a gui widget with SCUserView using interface level coding. For a Tutorial on how to write a ...
-
... tream definition and a Pattern will help illustrate the usefulness of Patterns. example 1 - Pseq vs. Routine The Pattern class Pseq(array, repetitions) defines a Pattern that will create a Stream that iterates an array. The class Routine(fu ...
-
... eparate from sound sources, and in the right order. Let's reconsider our reverb example from the previous section. ( // a stereo version SynthDef ( \tutorial_DecaySin2 , { arg outBus = 0, effectBus, direct = 0.5, freq = 440; var source; // ...
-
... all notes are cut-off immediately. Otherwise, notes end at the specified tempo. example: ( // a pattern with long notes p = Pbind ( \freq , Pwhite (0,log(32)).exp.round(1) * 36.midicps, \detune , Pfunc ({ | ev | ev[ \freq ] * rand(0.01) }), ...
-
... /Filters in the SuperCollider help system to see filter help files and numerous examples. //////////////////////////////////////////////////////////////////////////////////////////////////// Use LPF, a low-pass filter to subtract high-frequ ...
-
... e sources can be easily and efficiently switched using map or xmap . here is an example of how already running audio rate inputs can be switched. it is about as efficient as (b) - first example (setting a defname) it works only for 1 or 2 c ...