Sunday, May 17, 2009

Object for Max: Linear Feedback Shift Register

I have made a Max external that produces pseudo-random noise using a simple feedback shift register. The object has six inlets and can take up to six arguments, allowing the user to create any LFSR with a length of up to 16 bits with 1, 2 or 3 taps. The taps can be at any bit position. The frequency of the one bit output, the gain, the position of the taps and the length can be set at any time by sending a corresponding message to a given inlet.

Download this object with source here.
To install this object, copy the files to cycling '74/java/classes.

Demo video: