Sound pitch and volume

This simulation works on Edge, FireFox, Chrome, Safari, and Opera.
It does not work on Internet Explorer, Opera Mini.

The pitch of the sound is related to the frequency. The pitch of the sound is completely different from the volume. The frequency refers to the number of times a sound wave vibrates per second. For example, the piano emits higher sound at the right side of keyboard. Even if you hit the keyboard harder, the volume will only increase and the pitch will not increase.

On the other hand, the volume of the sound is related to the amplitude. The volume of the sound has nothing to do with the frequency. For example, even if you hit the drum harder, you will not hear a high note.