AUDIO PROCESSING /// SOUND WAVES /// FREQUENCY /// DIGITAL SIGNAL /// AUDIO PROCESSING /// AMPLITUDE /// PYTHON ///

Intro To
Sound Waves

Module 1: Foundations. Before training neural networks to understand speech, we must understand the physical nature of acoustic signals.

audio_engine.py
1 / 8
12345
πŸ”ˆ

A.I.D.E:Sound is a mechanical wave that results from the back and forth vibration of particles in a medium, like air or water.


Acoustic Matrix

UNLOCK NODES BY MASTERING WAVES.

Concept: Frequency

Frequency maps to the perceptual quality of Pitch. It's the number of repeating wave cycles per second.

Signal Check

Which unit is used to measure Frequency?


Community Holo-Net

Share Your Scripts

ACTIVE

Stuck on a tricky SciPy or Librosa error? Drop your code blocks in the Slack channel!

Sound Waves: The Physics of Data

Before we can teach a machine to recognize speech or classify music genres, we must understand the raw material: Sound is just changes in air pressure over time.

Amplitude & Loudness

A sound wave is a longitudinal wave. The distance it displaces particles from their resting state is its Amplitude. High amplitude means highly compressed air particles, which our ears interpret as louder sound. In digital terms, amplitude is represented by the numerical value of the signal at any given moment in an array.

Frequency & Pitch

Frequency dictates how rapidly the wave oscillates. It is measured in Hertz (Hz)β€”the number of cycles per second. A low frequency (e.g., 60 Hz) creates a deep bass note, while a high frequency (e.g., 10,000 Hz) sounds like a sharp whistle.

Analog to Digital (ADC)

Computers cannot process continuous acoustic waves. We must digitize them using two steps:

  • Sampling (Time Domain): Taking "snapshots" of the wave at regular intervals. CD quality audio uses a sample rate of 44,100 times per second.
  • Quantization (Amplitude Domain): Assigning the measured amplitude to the nearest binary value. A 16-bit depth means we have 65,536 possible amplitude levels.

πŸ“‘ Data Retrieval: Audio FAQs

What is the difference between Frequency and Amplitude?

Frequency (Pitch): The speed of oscillation. Measured in Hertz (Hz). Higher frequency = higher pitch.

Amplitude (Loudness): The height or intensity of the wave. Higher amplitude = louder volume.

How do computers store sound waves?

Through a process called PCM (Pulse Code Modulation). The analog wave is sampled thousands of times a second (e.g. 44.1kHz), and each sample's amplitude is converted to a binary number (Quantization). In Python, this is represented as a 1D NumPy array.

Audio Glossary

Hertz (Hz)
The unit of Frequency. One Hertz equals one complete cycle per second.
python_concept.py
Amplitude
The maximum displacement of a wave from zero. Interpreted biologically as loudness.
python_concept.py
Sample Rate
How many times per second an analog signal is measured to create a digital signal.
python_concept.py
Phase
The offset or starting point of the wave's cycle, measured in radians or degrees.
python_concept.py