Sound & Wave Generator

Hear a tone and watch its wave at the same time. Slide the frequency to change the pitch, slide the amplitude to change the loudness, and read the wavelength and time period live.

Class 8–11 20 Hz – 20 kHz Live waveform Sa Re Ga Ma

Frequency decides pitch and amplitude decides loudness. Frequency is the number of cycles per second in hertz, and the wave equation is v = f λ with time period T = 1/f. Sound travels at about 343 m/s in air at 20 °C, so a 440 Hz note has a wavelength of 343 ÷ 440 = 0.78 m.

Listen gently. Start with the volume low, especially with headphones or earphones — a loud, steady tone can damage your hearing. Very high frequencies may also be too much for small phone speakers.

Controls

Press play first — browsers only allow sound after a tap.

20 Hz (very low) → 20,000 Hz (very high). The slider is logarithmic, like our ears.
Hz — type an exact value
Bigger amplitude = taller wave = louder sound. It does not change the pitch.
Waveform

Oscilloscope

The real signal going to your speaker, drawn 60 times a second.

Stopped
Waveform
Signal Rest position (zero) One time period
Frequency
440Hz

    Learn by doing

    Three quick experiments — tap, listen, and read what changed.

    Pitch comes from frequency

    Same loudness, different frequency. The higher one sounds higher — the wave has more cycles in the same time.

    Loudness comes from amplitude

    Same 440 Hz note, different amplitude. The pitch stays exactly the same; only the height of the wave changes.

    Quality comes from harmonics

    All four of these are 440 Hz, yet they sound different. A sine is one pure frequency; the others add extra whole-number multiples (harmonics).

    How it works

    Sound you can see

    Sound is a longitudinal wave of compressions and rarefactions travelling through a material. This page turns that invisible wave into something you can hear, watch and measure.

    Press play

    Browsers only start audio after a tap, so the first click is what switches the sound on.

    Slide the frequency

    Low numbers give a deep sound, high numbers a shrill one. Watch the cycles squeeze together.

    Slide the amplitude

    The wave gets taller and the tone louder — but the pitch does not move at all.

    Read the physics

    Wavelength, time period, beat frequency and the nearest musical note are all worked out for you.

    The five words you must know

    Amplitude — the greatest distance a particle moves from its rest position; decides loudness.
    Wavelength (λ) — crest to crest, or compression to compression.
    Frequency (f) — cycles per second, measured in hertz; decides pitch.
    Time period (T) — time for one full cycle, T = 1/f.
    Speed (v) — how fast the wave travels, v = f λ.

    The wave equation

    v = f × λ   T = 1 ÷ f

    In air at 20 °C, v ≈ 343 m/s. So a 440 Hz note has λ = 343 ÷ 440 = 0.78 m and T = 1 ÷ 440 = 2.27 ms. Notice that if the frequency doubles the wavelength halves — the speed belongs to the medium, not to the note.

    Hearing range, infrasound, ultrasound

    A healthy young person hears roughly 20 Hz to 20,000 Hz. Below that is infrasound (elephants, whales, earthquakes); above it is ultrasound (bats, dolphins, medical scans, SONAR). The upper limit drops with age — most adults lose everything above about 15–16 kHz.

    Beats

    beat frequency = |f₁ − f₂|

    Two nearly equal tones interfere, so the loudness rises and falls. 330 Hz with 334 Hz gives 4 beats every second. Musicians tune by slowing the beats until they stop.

    Echo and SONAR

    d = v t ÷ 2

    The sound goes to the reflector and comes back, so halve the total journey. An echo needs the reflector at least 17.2 m away, because the ear cannot separate sounds closer than 0.1 s. The same formula gives the depth of the sea in SONAR, using v ≈ 1,531 m/s in sea water.

    Sound needs a medium

    Sound is a mechanical wave — it needs particles to pass the vibration along, so it travels fastest in solids, slower in liquids and slowest in gases, and cannot travel through a vacuum. That is why the bell in an evacuated jar falls silent, and why space is quiet.

    Protect your ears: anything above about 85 dB for a long time causes permanent damage, and earphones can easily reach 100 dB. Keep the volume at half or less, take breaks, and never use a steady loud tone as a prank — hearing loss does not heal.
    Questions & answers

    Sound & Wave Generator — your questions

    What is the difference between pitch and loudness?

    Pitch is how high or low a sound seems, and it depends only on frequency — more cycles per second means a higher pitch. Loudness is how strong it seems, and it depends on amplitude, the greatest distance a particle moves from its rest position. Changing the amplitude of a 440 Hz tone makes it louder but never changes its note.

    What is the range of human hearing?

    A healthy young person hears roughly 20 Hz to 20,000 Hz. Sound below 20 Hz is infrasound, produced by elephants, whales and earthquakes; above 20,000 Hz is ultrasound, used by bats, dolphins and medical scanners. The upper limit drops with age, and most adults can no longer hear anything above about 15 to 16 kHz.

    What is the wave equation v = fλ?

    The speed of a wave equals its frequency multiplied by its wavelength. In air at 20 °C sound travels at 343 m/s, so a 440 Hz note has λ = 343 ÷ 440 = 0.78 m and T = 1 ÷ 440 = 2.27 ms. Double the frequency and the wavelength halves, because the speed belongs to the medium, not to the note.

    Why can't sound travel through a vacuum?

    Sound is a mechanical wave made of compressions and rarefactions, so it needs particles to pass the vibration along. With no particles, there is nothing to carry it. That is why an electric bell inside a jar falls silent as the air is pumped out, and why space is silent. Sound travels fastest in solids, slower in liquids and slowest in gases.

    Why must a wall be at least 17 metres away to hear an echo?

    The ear cannot separate two sounds less than 0.1 s apart. The sound travels to the reflector and back, so d = v × t ÷ 2 = 343 × 0.1 ÷ 2 = 17.2 m. Anything closer and the echo merges with the original sound, which is why you hear echoes in a large empty hall but not in a bedroom.

    What are beats in sound?

    When two tones of nearly equal frequency are sounded together they drift in and out of step, so the loudness rises and falls. One loud-soft cycle is a beat, and the beat frequency is the difference between the two frequencies: 330 Hz with 334 Hz gives 4 beats per second. Musicians tune a string by slowing the beats until they stop.

    Where is ultrasound used?

    Ultrasound is used for hospital scans, for SONAR to measure sea depth and find shoals of fish, for cleaning spiral tubes, jewellery and electronic parts, and for detecting cracks inside metal blocks without cutting them. Bats and dolphins use the same idea naturally, a technique called echolocation.