-
... ats): This is like Ptpar with separate groups for the subpatterns. An excellent example of Ppar and Pseq used together to structure an entire piece (Kraftwerk's "Spacelab") can be found in examples/pieces/spacelab.scd . Dynamic parallelizin ...
-
... nt of shift in cycles per second phase - phase of the frequency shift (0 - 2pi) Examples // shifting a 100Hz tone by 1 Hz rising to 500Hz { FreqShift .ar( SinOsc .ar(100), XLine .kr(1,500,5),0,[0.5,0.5])}.play(s); // shifting a complex tone ...
-
... ditional window is still needed once the first one has closed. See below for an example of how to do this. Creation / Class Methods *new (name, bounds, resizable, border, server, scroll) Creates a new SCModalWindow instance. You do not need ...
-
... It provides default bindings for duration, envelope, instrument, making a very simple Pattern directly playable: ( // an endless sequence of middle Cs Pbind .new.play ) By adding other bindings, you can override the defaults in the protoEv ...
-
... ot found, the stream otherwise suspendAll Stop all substreams of the Spawner // example 1: a simple Pspawner ( Pspawner ({ | sp | // parallel in-c'ish pulses will run throughout the example sp.par( Pbind (*[ degree: [0,7], octave: 7, dur: 0 ...
-
... agSource, SCDragSink, SCDragBoth, all function basically the same way: they are simple, graphically represented rectangles, which act as a drag-source, a drag target, or both. Their dragging behavior only differs from other GUI views, in th ...
-
... f something, but what about mixing UGens together? This turns out to be equally simple. All we need is addition: { PinkNoise .ar(0.2) + SinOsc .ar(440, 0, 0.2) + Saw .ar(660, 0.2) }.play; Saw is another type of oscillator, with a waveform t ...
-
... send a SynthDef , and thus when it will be available for creating new Synths. A simple way around this is to execute code in blocks, selecting them one at a time. More complicated is to use completion messages. SynthDef.play takes care of t ...
-
... alternate between different behaviors, either in a predictable order as in the example below, or randomly by using one of the random-order list patterns. // Scale segments, in the sequence: up, up, down (repeat) ( TempoClock .default.tempo ...
-
... h input thing on the gamepad and use the first two numbers posted as indexes // example output of debug: [ 3, 2, 0.49803921568627, nil ] // as a result of moving the y-axis of the right joystick. // so we create this slot: b.add( \ry , [3,2 ...