← All activities
Sound and waves High school &##9201; 30

Speed of sound: tube resonance

This activity allows students to measure the speed of sound by analyzing the resonant frequencies of a tube. It illustrates how resonance phenomena can be used to determine physical constants.

By FizziQ

Speed of sound: tube resonance

Activity Summary

The student generates white noise with a smartphone placed at the entrance of a cylindrical tube then uses a second smartphone with FizziQ to analyze the spectrum of frequencies amplified by resonance. By identifying amplitude peaks in the spectrum and applying the resonance formula for an open tube the student can calculate the speed of sound and compare its value to standard references.

Introduction

Every wind instrument, from a piccolo to a pipe organ, produces sound through the resonance of air columns in tubes. When air is disturbed inside a tube, only certain frequencies are amplified through constructive interference of standing waves, while all others are suppressed. These resonant frequencies follow precise mathematical relationships that depend on the tube's length and diameter. For a tube open at both ends, the resonant frequencies are integer multiples of a fundamental frequency determined by the tube length and the speed of sound. By exciting all frequencies simultaneously using white noise and observing which ones are amplified, students can identify these resonant modes and use them to calculate the speed of sound. This experiment demonstrates the same physics that allows an organ builder to predict the pitch of a pipe from its dimensions, and connects acoustic resonance to one of the most fundamental constants in physics.

Learning Objectives

  • Identify the resonant frequency peaks in the spectrum analyzer output
  • Verify that the resonant frequencies follow the pattern f_n = n × c / (2L_eff)
  • Calculate the speed of sound from the measured resonant frequencies and tube dimensions
  • Understand the physics of standing waves in open tubes and the role of end corrections

Instruments and sensors

Scientific instruments

  • Spectrum analyzer (FFT)
  • Synthesizer (white noise generator)

Sensors

  • Microphone

FizziQ Features

  • Experiment notebook — used to record the tube's length and diameter and the successive resonant frequencies for the speed-of-sound calculation

Required Materials

  • - Two smartphones with the FizziQ application (one running the Synthesizer, one running the Spectrum Analyzer) - A cylindrical tube (cardboard tube, such as a paper towel roll, or similar) - A tape measure or ruler to measure the length and internal diameter of the tube - FizziQ experiment notebook to record dimensions and resonant frequencies - Note: the protocol remains adaptable to any comparable spectral analysis tool.

Experimental Protocol

1

Measure the **length L** and **internal diameter D** of your cylindrical tube using a ruler or tape measure.

2

On the first smartphone, open FizziQ and use the **Synthesizer** to generate **white noise** at moderate volume.

3

Place this smartphone at one end of the tube so the speaker emits directly into the tube opening.

4

On the second smartphone, open FizziQ and select the **Spectrum Analyzer** (FFT). Place the microphone near the other end of the tube.

5

Start the spectrum analysis. You should see **several prominent peaks** rising above the general noise level. These are the resonant frequencies.

6

Record the frequencies of the first **4-6 resonant peaks**: f₁, f₂, f₃, f₄, etc.

7

Verify that the peaks are approximately **equally spaced** in frequency. For an open-open tube, f_n = n × f₁.

8

Calculate the **ratio** between consecutive peaks: f₂/f₁, f₃/f₁, f₄/f₁. These should be approximately 2, 3, 4...

9

Calculate the speed of sound using the formula: **c = f₁ × (2L + 1.24D)**, where the term 1.24D is the combined end correction for both open ends.

10

Average the speed calculated from each resonant frequency: **c = f_n × (2L + 1.24D) / n** for each n.

11

Compare your average with the accepted value of approximately **343 m/s** at 20°C.

12

Try tubes of **different lengths** and verify that longer tubes have lower fundamental frequencies.

Expected Results

For a cardboard tube 30 cm long with a 4 cm diameter, the fundamental resonant frequency should be approximately 543 Hz (using c = 343 m/s and the end correction). Higher resonances appear at approximately 1086, 1629, 2172 Hz, etc. The calculated speed of sound should fall within 320-370 m/s for careful measurements. The end correction (1.24D) is important: without it, the calculated speed of sound will be systematically too high by about 8-15% for typical tube dimensions. Students should observe that all resonant frequencies are integer multiples of the fundamental, confirming the standing wave pattern for an open-open tube.

Scientific Questions

  • What is a standing wave, and how does it form inside the tube?
  • Why does the end correction depend on the tube diameter?
  • How would the resonant frequencies change for a tube closed at one end?
  • What is the relationship between the tube length and the wavelength of the fundamental resonance?
  • How do organ builders use these principles to design pipes of specific pitches?

Scientific Background

When white noise (containing all frequencies at equal intensity) is emitted at the input of a tube, the frequencies which correspond to the natural resonance modes of the tube are amplified by resonance. For a tube open at both ends, the resonant frequencies are given by the formula: f = n×c/(2L+1.24D), where n is an integer (1,2,3,...) representing the mode, c is the speed of sound, L is the length of the tube, and D its diameter.

The corrective term 1.24D takes into account the edge effect at the end of the tube (the pressure belly does not form exactly at the opening but slightly beyond). FizziQ's frequency spectrum uses a fast Fourier transform (FFT) to decompose the sound signal picked up by the microphone and display its frequency content.

The observed peaks correspond to the harmonics of the fundamental frequency. By precisely measuring these frequencies, the length and the diameter of the tube, we can calculate the speed of sound: c = (2L+1.24D)×f₁, where f₁ is the fundamental frequency (first peak).

The theoretical speed of sound in air at 20°C is approximately 343 m/s, but varies with temperature according to: c = 331.3 + 0.606×T (T in °C). This experiment makes it possible to obtain a measurement with a precision of around ±2%.

Extensions

  • Use tubes of different materials (cardboard, metal, plastic) and check whether the material affects the resonant frequencies
  • Investigate the effect of temperature by repeating the experiment in warm and cool environments
  • Use a longer tube (e.g., a PVC pipe of 1-2 meters) to obtain lower, more easily measurable frequencies
  • Add holes along the tube (like a flute) and observe how opening them changes the resonant frequencies

Frequently Asked Questions

I cannot see clear resonant peaks in the spectrum. What should I do?

Increase the white noise volume and ensure it is directed into the tube opening. Reduce background noise. Try a tube with a smaller diameter-to-length ratio for sharper resonances.

The peaks are not exactly equally spaced. Is this normal?

Small deviations (±2-5%) are normal due to the end correction varying slightly with frequency. The overall pattern of nearly equal spacing should be clear.

Why is the end correction needed?

The pressure antinode at an open end does not form exactly at the physical opening but slightly beyond it. This effectively lengthens the tube by approximately 0.62D at each open end (total 1.24D for both ends).

Can I use a toilet paper roll as the tube?

Yes, a toilet paper roll is an excellent tube for this experiment. Its typical dimensions (10-11 cm long, 4 cm diameter) give a fundamental frequency around 1400-1600 Hz.

Detailed Description

The student generates white noise with a smartphone placed at the entrance of a cylindrical tube then uses a second smartphone with FizziQ to analyze the spectrum of frequencies amplified by resonance. By identifying amplitude peaks in the spectrum and applying the resonance formula for an open tube the student can calculate the speed of sound and compare its value to standard references. FizziQ pairs its Synthesizer, used on one phone to emit the white noise, with its real-time FFT Spectrum Analyzer on the second phone to read off the resonant peaks, while the experiment notebook lets students log the tube's length and diameter alongside each measured frequency for the speed-of-sound calculation.

📘

This activity is part of our sound resources. To dig deeper into measuring and analyzing sound (waveform, spectrum, spectrogram, decibels) and find all twelve experiments, read our complete guide to measuring and analyzing sound with a smartphone or computer.

Ready to start?

Download FizziQ and try this activity with your students.