LinCongN:
Filter:
Classes | UGens > Generators > Chaotic

LinCongN : ChaosGen : UGen : AbstractFunction : Object

Linear congruential chaotic generator
Source: Chaos.sc
Subclasses: LinCongC, LinCongL

Description

A non-interpolating sound generator based on the difference equation:

        x(n+1) = (a * x(n) + c) % m

The output signal is automatically scaled to a range of [-1, 1].

sclang code translation:

Class Methods

LinCongN.ar(freq: 22050, a: 1.1, c: 0.13, m: 1.0, xi: 0, mul: 1.0, add: 0.0)

Arguments:

freq

Iteration frequency in Hertz

a

Multiplier amount

c

Increment amount

m

Modulus amount

xi

Initial value of x

mul
add

Inherited class methods

Undocumented class methods

LinCongN.equation

Instance Methods

Inherited instance methods

Examples