# Generate sound for numbers using the Phocid equation (Python)

The main use of numbers for counting and … is quite clear. But if we can create a definite and unique sound with just one number, we can call that particular sound the sound of that number. Of course, to create a specific sound wave, a set of numbers is needed and one number is not enough. But in the following notebook, we use coding to make a sound generator so that it can produce a unique sound wave with just one number.

[P2] The Sound of Numbers & Phocid Equation

By: Somayyeh Gholami & Mehran Kazeminia

We can also define different operators for sound composition. This allows us to have better and more complex sound waves. For example, in this notebook, we used an operator (Phocid Plus) to combine sounds.

# Define the Phocid Equation

## Our favorite ranges for x0 and b are as follows:

1 -The value of **b** is between **One** and **Ten**.

2 -The value of **x0** is between **Zero** and **One**.

3 -The results for the **“New x”** will still be between **Zero** and **One**.

4 -So the next repetitions can continue. (Iterated Function System — **IFS**)

# Why the name “Phocid”?

The results of this equation produce a seal-like shape. That’s why we called it the “Phocid Equation”.

# What is “Phocid Plus” and what does it do?

For each number, this operator combines the main results of the “Phocid Equation” with part of the results of a complementary number. The result is a more complex and better sound wave, and the result is still unique.

## Our favorite ranges for x0 and b are as follows:

1 -The value of **b** is between **One** and **Nine**.

2 -The value of **x0** is between **Zero** and **One**.

3 -The results for the “**New x**” will still be between **Zero** and **One**.

4 -So the next repetitions can continue. (Iterated Function System — **IFS**)

# Example:

## phocid_plus (b=1.2)

## phocid_plus (b=4.2)

Visit our notebook to see all the results as well as hear the sounds.