-
... will jump to its reset position. Upon reaching the end of its ramp Phasor will wrap back to its start. N.B. Since end is defined as the wrap point, its value is never actually output. Phasor is commonly used as an index control with BufRd ...
-
... used, which replaces the event by according time value. a Pevent can be used to wrap a stream in an event: t = Pevent ( Pbind ( \x , Pseq ([1,2,3])), Event .default).asStream; t.next; t.next;
-
WrapIndex index into a table with a signal WrapIndex.ar(bufnum, in, mul, add) WrapIndex.kr(bufnum, in, mul, add) The input signal value is truncated to an integer value and used as an index into the table. Out of range index values are wrap ...
-
... e operation float z = phase; phase += freq[i] * freqmul; // these if statements wrap the phase a +1 or -1. if (phase >= 1.f) phase -= 2.f; else if (phase <= -1.f) phase += 2.f; // write the output out[i] = z; } // store the phase back to th ...
-
... nt elements of the pattern into the stream Note: Pfinval is not appropriate for wrapping Pmono, Pfx etc. For these types of event patterns, you should use Pfin ( var a, b; a = Pfinval (5, Pseq (#[1, 2, 3], inf )); b = a.asStream; 9.do({ b.n ...
-
... the length of the longer array and items from each array are added together by wrapped indexing. Using adverbs can change this behavior. Adverbs are symbols and they follow a '.' after the binary operator. Adverbs can be applied to all bin ...
-
... ile itself. For small arrays this is more efficient than reading from a buffer. wrap does not work yet. (by adc)
-
... urned 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 patterns, because it simply returns ...
-
... embed them superclass: ListPatterns Pslide(list, repeats, length, step, start, wrapAtEnd) repeats : number of segments length : length of each segment step : how far to step the start of each segment from previous. step can be negative. st ...
-
... lue and used as an index into an octave repeating table of note values. Indices wrap around the table and shift octaves as they do. bufnum - index of the buffer which contains the steps for each scale degree. in - the input signal. octave - ...