Calculate a 1D Diffuser based on a Pseudo Random Noise Sequence

This calculator is built to calculate one-dimensional diffusers according to the MyRoom principle, developed and revised by Bogic “Boggy” Petrovic
(AES convention paper #9526 / 2016). This principle uses Pseudo Random Noise (PRN) sequences
to determine the well heights for the diffuser, optionally an air gap can be placed between the slats to allow for LF absorption simultaneously by backing the diffuser
with an absorptive bass trap. According to Petrovic, the PRN sequences deliver diffusion characteristics as good as the QRD/PRD methods, but allow for fewer well
heights being used, making construction simpler and therefore cheaper.

The values of the parameters can be changed and the results are immediately being shown in the calculator results. The sequence is calculated using the
Mersenne Twister algorithm. By changing the seed value, the generated random sequence can be adjusted
until the desired appearance and/or special requirements regarding space etc. are met. The self correlation values are calculated using Pearson´s correlation algorithm.
The first value (avg) is the average over all self correlation coefficients, calculated by correlating the sequence with itself at all possible offsets.
The (-1) value is the self correlation coefficient which compares the sequence with itself shifted 1 place to the left.

The calculator is completely written in JavaScript. It runs on your local machine in the browser, to provide fast response times. The 3d visualization is done
using the lightweight JavaScript 3d rendering framework Phoria.js (Version 0.9.16). If you find
any bugs or have feature requests, please mail to tom-vibrant(at)gmx.de.