LinCongN:

Filter:
Classes
| UGens > Generators > Chaotic

Linear congruential chaotic generator

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:

freq |
Iteration frequency in Hertz |

a |
Multiplier amount |

c |
Increment amount |

m |
Modulus amount |

xi |
Initial value of x |

mul | |

add |

helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/LinCongN.schelp

link::Classes/LinCongN::

link::Classes/LinCongN::