Skip to content

Waves and sound simulation

Sound Waves and Oscilloscope Simulation

Send sound from a loudspeaker through air, water, steel or a vacuum to a microphone. Watch one particle vibrate in place as compressions pass, read the period and peak height from an oscilloscope trace, and see where the human hearing range of about 20 Hz to 20 kHz ends.

Loading simulation…
Show symbols for

Predict first

Question 1 of 4

A microphone picks up a 500 Hz note from a loudspeaker. With the oscilloscope timebase on 0.5 ms/div, one complete wave on the trace covers 4 divisions. The loudspeaker is switched to 1000 Hz and the timebase is left alone. How many divisions does one complete wave cover now?

Try this

  1. 1Press Play and follow the highlighted particle, the one labelled vibrates in place. It slides back and forth about its dotted rest line while the C and R tags keep moving towards the microphone.
  2. 2With the starting set-up (500 Hz, timebase 0.5 ms/div), count the divisions between the two peaks joined by the T bracket. Multiply by 0.5 ms/div to get the period, work out f = 1/T, then compare with the Frequency readout.
  3. 3Press + beside Frequency until it shows 1 kHz and predict how many divisions one wave covers now. Then raise the Amplitude from 4 to 6: the peaks grow from 2.0 to 3.0 divisions but the spacing does not change.
  4. 4Under What the sound travels through, choose Water and then Steel. The Frequency readout does not change, but the Wavelength readout grows each time. Check it against the scale under the tube, which can change to fit the longer waves. Then choose Vacuum and watch the trace go flat.
  5. 5Choose Air again and turn your volume down, then press Sound beside Play: the button lights up and a quiet tone plays. Step the frequency up and listen to the pitch rise. Only 100 Hz to 5 kHz is played; below 20 Hz and above 20 kHz the Frequency readout says Infrasound or Ultrasound.

A loudspeaker, a tube and a microphone

The stage shows a loudspeaker cone at one end of a tube and a microphone at the other, wired to an oscilloscope. Press Play and the cone starts to pump in and out, and the sound sets off down the tube. Nothing reaches the microphone straight away, so the trace stays flat until the first compression arrives. Two things are altered so you can follow it. In everyday sounds the air moves back and forth by much less than a millimetre, so the movement is exaggerated, and everything runs in slow motion, several hundred times slower than reality at the starting frequency. The top-left chip gives the factor at 1× speed.

Squeezed and stretched air

Each dot stands for a small parcel of air. Where the cone pushes forward, parcels crowd together into a compression, a region of higher pressure, tinted warm and tagged C. Where the cone pulls back, they spread apart into a rarefaction, a region of lower pressure, tagged R. Watch the highlighted dot: it slides forward and back along the tube and always returns to its dotted rest line, while the C and R tags march steadily towards the microphone. The pattern travels; the air stays where it was. The gap between neighbouring compressions is one wavelength, marked under the tube. Check it against the scale: at 500 Hz in air it is 0.68 m, because λ=v/f=340÷500\lambda = v/f = 340 \div 500.

Reading the trace

The oscilloscope plots the microphone's output, a potential difference that follows the air pressure there, against time. It is a graph, so a peak means a moment of high pressure at the microphone, not air that has moved upwards. The bright spot is the beam drawing that graph right now. Each sweep begins as the signal crosses the centre line going up, which holds a steady note still on the screen.

To find the frequency, first find the period: count the divisions across one complete wave and multiply by the timebase. At the start, one wave spans 4.0 divisions at 0.5 ms/div, so T=2.0T = 2.0 ms and f=1/T=500f = 1/T = 500 Hz. For the size of the signal, count divisions from the centre line up to a peak and multiply by the Y-gain. If the peaks run off the screen, pick a Y-gain setting with more mV per division; if the waves are crammed together, pick a smaller timebase.

Pitch, loudness and what we can hear

Raising the frequency makes the note higher and packs more waves onto the trace. Raising the amplitude makes the note louder and the peaks taller, while the spacing stays put. People hear roughly 20 Hz to 20 kHz. Lower frequencies are infrasound and higher ones ultrasound; the slider marks both edges, and the Frequency readout names the band you are in. The limits are approximate, and the top one drops as people get older.

Other materials, and none at all

Water and steel pass sound on far faster than air, at about 1500 m/s and 5900 m/s here. The loudspeaker still sets the frequency, so the waves stretch out: at 500 Hz the wavelength becomes 3.0 m in water, matching v=fλv = f\lambda. The stage can zoom out to fit the longer waves, so read the new scale under the tube. Choose Vacuum and the cone keeps vibrating, but with no particles to push, nothing reaches the microphone and the trace stays flat. For a slower look at how particles pass a longitudinal wave along, try the slinky simulation.

Equations

Check your understanding

8 questions

  1. 1.An oscilloscope timebase is set to 2 ms/div. One complete wave of a sound covers 5 divisions. What is the frequency of the sound?
  2. 2.Which change to a sound makes its pitch higher?
  3. 3.A sound in air has a frequency of 680 Hz. Take the speed of sound in air as 340 m/s. What is its wavelength?
  4. 4.Which of these frequencies is ultrasound?
  5. 5.Why can sound not travel through a vacuum?
  6. 6.The amplitude of a sound is doubled while its frequency stays the same. How does its oscilloscope trace change?
  7. 7.As a sound passes through the air in a room, what does a single air particle do?
  8. 8.A 500 Hz sound passes from air into water, where sound travels faster. What happens to the sound?

For teachers

Embed it in your site or open it full-screen for the projector.

Read more