-
... vel , 3, \from , 0, \to , 1, \dur , 3, \bufnum , 170 ).play ) // now turn round every middle part of every middle part ( Pdef ( \poch , { arg sustain=1.0, from=0.0, to=1.0, n=3; var step, f, t, i; sustain = sustain.value; step = (to - from) ...
-
... lves, let's go over some standard parameters used across many event types. (Not every common parameter is used in every event type, but these turn up in lots of places.) Common parameters Timing control \delta: Number of beats until the nex ...
-
... lo" .postln }); Notice that when you do this, 'SystemClock' prints immediately. Every time you run something in SuperCollider, it has to return a value right away; the method's return value is the clock. Before returning, however, the clock ...
-
... wn, a sub pattern must be returned directly into the event. To accomplish this, every such pattern should be wrapped in a Ref: Pseq ([` Pwhite (0, 9, 5), ` Pwhite (10, 19, 5)], 1).asStream.all; Hint: Pfunc is another good way to wrap patter ...
-
... sDo({ arg a, b; [a, b].postln; }); doAdjacentPairs(function) Calls function for every adjacent pair of elements in the SequentialCollection. The function is passed the two adjacent elements and an index. [1, 2, 3, 4, 5].doAdjacentPairs({ ar ...
-
... y works, we need to understand the concepts of logical time and physical time . Every clock in SuperCollider has both a logical time and physical time. Physical time: always advances, represents real time. Logical time: advances only when a ...
-
... . For stuck conditions, the reset message can be used. As counting up (such as "every nth event, a swap can happen" ) is a common task, there is a method for this, called count(n). z = Pbind ( \degree , Pdefn ( \x, \ ), \dur , 0.25).play; P ...
-
... oaGUI (Mac OS X native) and SwingGUI (Java) . Note that SwingOSC is not part of every SuperCollider distribution, so you may have to install it separately. You can switch the GUI kit by calling one of the following class methods: GUI .cocoa ...
-
... set semantics.) The class Object defines next to return the object itself. Thus every object can be viewed as a stream and most simply stream themselves. Stream is the base class for classes that define streams. In SuperCollider, Streams ar ...
-
... set or /n_set. Compare the sound of these patterns. Pbind produces an attack on every note, while Pmono glides from pitch to pitch. p = Pbind ( \degree , Pwhite (0, 7, inf ), \dur , 0.25, \legato , 1).play; p.stop; p = Pmono ( \default , \d ...