0% found this document useful (0 votes)
126 views

Calculate A Two-Dimensional Primitive Root Diffuser

This document provides instructions for calculating a two-dimensional primitive root diffuser based on user input of design frequencies and size parameters. It explains that the size is based on a prime number P with two coprime factors for the number of rows and columns. The script then calculates and displays the well heights in centimeters for the diffuser design.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
126 views

Calculate A Two-Dimensional Primitive Root Diffuser

This document provides instructions for calculating a two-dimensional primitive root diffuser based on user input of design frequencies and size parameters. It explains that the size is based on a prime number P with two coprime factors for the number of rows and columns. The script then calculates and displays the well heights in centimeters for the diffuser design.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Calculate a Two-Dimensional Primitive Root Diffuser

[ Calculator | Examples | Gallery | FAQ | Links | Disclaimer & Contact ]

This script is an example implementation of the method suggested in US patent #5401921 (March
28, 1995) to calculate a two-dimensional primitive root diffuser. Enter your design frequencies at
which the diffuser shall operate, and a desired size of the diffuser, based on a prime number P and a
primitive root number of P. Note, that P-1 must have two coprime factors which are non-devisible
into each other. For example, for P = 157, P-1 has the prime factors 2, 2, 3 and 13. A grid of for
example 2*2*3=12 x 13 wells can then be applied (with the two coprime factors being 12 and 13).
A "well" is defined as one building block and its height refers to the actual height of the block.

Updates (April 10th, 2019):


There is a new FAQ section.
I added some more pictures to the gallery. Keep sending those beauties folks! This script is used
more often than my music is bought ;p
By the way, if you like this script, I'd appreciate your support via the like button on my
facebook page Me gusta

Speed of sound: 343 m/s Quantize well heights within 10 cm


Lowest frequency: 500 Hz Show intermediate results
Highest frequency: 5000 Hz

Prime number P: 547

Primitive root of P: 2

# columns: 26

# rows: 21

Calculate

Perma link: here

Well heights (in cm, quantized with step size 10)


0 0 30 10 10 10 30 20 10 20 30 0 0 30 30 0 30 20 20 0 10 30 10 0 30 30
30 0 10 30 20 30 30 30 20 10 10 20 10 0 30 30 10 20 10 10 0 20 20 20 10 30
20 20 0 10 20 0 20 20 30 30 20 30 20 20 10 30 20 20 30 20 10 10 0 10 10 20
0 0 10 0 30 30 0 30 0 20 30 10 20 30 30 20 30 10 0 30 0 30 10 10 20 10
20 10 10 30 0 20 30 10 30 10 10 20 20 10 30 30 0 30 10 0 30 0 30 30 20 10
20 10 20 20 20 0 10 30 10 30 20 20 0 10 20 20 20 10 30 20 10 20 0 20 20 30
30 10 20 30 30 10 10 20 20 30 30 0 0 0 30 10 0 0 20 30 20 20 10 10 30 30
30 30 20 10 30 30 30 20 0 30 20 20 0 10 10 20 30 10 0 0 20 30 0 10 20 30
30 20 20 30 10 20 30 30 30 10 30 10 0 10 10 10 0 20 10 0 10 0 30 10 20 30
30 20 10 10 30 30 0 30 20 30 10 20 30 0 10 20 30 0 10 30 10 20 0 20 10 10
10 30 10 30 10 30 20 10 20 30 30 30 10 20 0 20 10 20 10 10 20 10 0 10 10 20
10 30 30 30 20 30 20 10 20 10 30 20 20 20 0 0 10 10 10 20 20 20 20 0 20 10
20 20 20 30 20 10 20 0 20 0 20 30 30 10 10 10 0 20 30 10 30 10 30 10 0 0
0 10 10 10 30 0 10 10 10 10 10 10 30 30 20 30 20 10 30 20 20 30 30 30 20 0
10 0 20 20 30 20 10 30 20 10 20 10 30 30 30 10 20 10 10 30 10 10 20 20 20 10
10 10 10 10 0 20 10 10 20 20 30 30 30 20 20 30 20 30 10 20 20 10 20 10 0 10
20 20 20 10 20 0 10 20 20 10 30 20 30 20 10 10 20 10 30 20 10 10 30 0 20 10
20 30 10 10 30 10 10 30 10 10 20 30 30 20 0 30 30 10 20 30 10 30 20 20 10 0
0 30 30 10 10 20 20 20 20 10 30 30 20 30 0 10 20 20 20 10 20 20 20 10 0 10
20 0 30 20 30 20 0 10 30 0 30 20 30 10 30 10 10 10 10 30 30 0 30 10 20 0
0 10 0 20 10 20 10 0 10 30 0 20 30 30 20 30 10 30 20 20 30 20 0 30 20 0

Number of wells (based on quantized well heights)


10 cm: 160
20 cm: 159
30 cm: 148
Total length: 9220 cm

Diffuser properties
Well length/width = 343/5000/2*100 = 3.43 cm
Total size = 89.18 x 72.03 cm

You might also like