A downloadable tool for Windows

What is an LFSR?

An LFSR, short for "Linear feedback shift register" is a common method used in sound chips to generate white noise or other waveforms. It's made up of a "Starting state", a list of "Tapped bits", a bit comparison method such as XOR or other logical operations, and the output, of course.

A Starting state is a string of bits that make up the initial output of the LFSR. This can be as simple as just a string of fifteen 1s.

The tapped bits are the bits within the current bitstring that are used for the comparison operation to feed back into the end of the bitstring. All the bits are shifted and the one at the end is added to the output bitstring.


Why did you make this tool?

I couldn't find any tools online that let me easily generate a bitstring using an LFSR, so I made this for that same purpose. By some stroke of luck, it ended up working perfectly!

Let me know if you like this tool or have anything to say! If you encounter an error, please let me know so I can fix it.


Why are the loading times so long?

That's the program outputting the file, not generating the bitstring. Unfortunately I can't do anything about that.

Download

Download
LFSR Bitstring Generator.exe 4 MB
Download
LFSR Bitstring Generator.zip 4.3 MB

Leave a comment

Log in with itch.io to leave a comment.