PLinCongN:
Filter:
Description
Class methods
new
Examples
UGenPatterns/Classes (extension)
|
Streams-Patterns-Events
>
UGenPatterns
>
Generators
PLinCongN
Extension
UGenPatterns quark library
See also:
UGenPatterns
Description
Linear Congruential.
Based on
LinCongN
Class Methods
.
new
Arguments:
freq
a
c
m
xi
initial value
mul
add
length
Number of values produced.
Examples
s.boot; {LinCongN.ar(1000)}.plot(0.1); PLinCongN(1).asStream.nextN(100).plot; //similar PLinCongN(1, 2, 0.14).asStream.nextN(100).plot; a= Pbind(\dur, 0.1, \midinote, PLinCongN(1, 2, 0.14, mul:6, add:60)).play a.stop
helpfile source:
HelpSource/Classes/PLinCongN.schelp
link::UGenPatterns/Classes/PLinCongN::