Nikko Ong ← Back to portfolio

How a bagpipe actually works

A bag of air, four reeds and a few wooden tubes. Scroll through the mechanism, then play a working physical model at the bottom: bag pressure, reeds and air columns all shape what you hear.

1. Music is vibrating air

Sound is a rapid back-and-forth wobble of air pressure. Something vibrates and shoves the air beside it, and that push travels outward as alternating squeezes and stretches of air at about 343 m/s. Your ear counts the wobbles.

Pitch is how many repeats happen per second (the frequency, in hertz); double the frequency and you hear one octave higher. Loudness is how big the pressure swings are. Tone colour is the shape of one repeat: any repeating shape is a stack of pure tones at f, 2f, 3f… called harmonics, and the mix decides whether it sounds mellow or reedy. A note is just a vibration that repeats steadily.

An instrument needs three things: an energy source (the bag), something that turns that steady energy into vibration (the reed), and a resonator that chooses the frequency (the pipe). First, hear what the shape of a repeat does:

2. The parts

Tap a part of the instrument.

Each of the four pipes has its own reed. The bag feeds all of them from one shared supply of air.

3. What a reed does

A reed is a thin, springy blade of cane. Like a ruler pinned to a desk it has stiffness and mass, so on its own it bounces at a natural rate. In a bagpipe it sits in a stream of air from the bag:

  1. Air pushed by the bag rushes through the narrow gap between the reed and its seat.
  2. The bag’s pressure outside the reed is higher than the pressure inside the pipe. That difference, helped by the low pressure of fast-moving air in the gap (Bernoulli), presses the blade toward its seat, so the reed is blown shut.
  3. Once shut, the flow stops, the suction disappears, and the cane’s springiness flings it open again.
  4. Air rushes through, and the cycle repeats hundreds of times a second.

Each opening lets a puff of air into the pipe, so the reed turns a steady push into a train of pressure pulses. It is a valve, not a string. The drones use a single cane tongue cut into a small tube, which it closes against; the chanter’s double reed has two blades that close against each other. A train of sharp puffs contains many harmonics, and the pipe reinforces only the ones that match its resonances. The pipe’s returning echoes also tell the reed when to open, so the air column, not the reed, sets the pitch. Push harder and the reed stays shut for longer, so the puffs sharpen and the tone brightens.

4. The bag and the reed: a pressure valve

The piper’s arm squeezes the bag to hold a steady pressure of a few kilopascals (typically 2–4 kPa, a few percent of an atmosphere). A flap valve in the blowpipe lets breath in but not out, so the bag is a reservoir and the sound doesn’t stop when the piper breathes.

Pressure across the reed pushes it shut, so the flow through it follows U ∝ (1 − Δp/pc)·√Δp, where pc is the pressure that slams it closed (a harder reed has a higher pc and needs more squeeze). Between pc/3 and pc, more pressure gives less flow. This “negative resistance” lets the reed pump energy into the air column instead of just leaking it.

The feedback loop: the reed opens and a pressure pulse runs down the tube. At the open end it reflects upside down, returning as suction after 2L/c; that suction raises the pressure drop across the reed and pulls it shut. The shut reed launches a low-pressure pulse of its own, which returns after another 2L/c as raised pressure and lets the reed spring open again. One cycle takes two round trips, so the period is 4L/c and f = c/4L.

5. The air column: a quarter-wave resonator

The reed end is closed (pressure swings most there) and the far end is open (pressure stays at atmospheric). The simplest standing wave that fits has a length of one quarter wavelength, so λ = 4L and f = v/λ, with v ≈ 331.3 + 0.606·T m/s. The chanter’s finger holes work by shortening L: lift a finger and the air column ends at that hole.

PipeEffective L (m)λ = 4L (m)f = v/λ (Hz)

Low A near 476 Hz is sharper than concert A (440 Hz): bagpipe pitch has crept upward over the years.

L is an effective acoustic length, not a ruler measurement. The air just beyond an open end moves too (an “end correction” of roughly 0.6 × the bore radius), and the reed adds a little volume. The chanter is really a cone, which acts like a pipe open at both ends, so f = v/2Lcone: 476 Hz matches a cone of about 0.36 m, twice the quarter-wave length used here. Breath warms and moistens the air inside the pipes, raising v, which is why pipes go sharp as they warm up and pipers tune after warming up.

6. Overblowing: jumping to a higher resonance

A pipe has more than one resonance. The same tube also holds standing waves with extra wiggles: a cylinder closed at the reed end resonates at f, 3f, 5f…, while a cone (the chanter) resonates at f, 2f, 3f…. Normally the lowest wins. Squeeze too hard and the reed snaps shut for a larger part of each cycle, its puffs get sharper, and a higher resonance starts to out-compete the lowest. The note jumps: up an octave on the chanter, up a twelfth on a cylindrical drone. Pipers call it crowing or squealing. In real piping the break is rarely this clean: a chanter pushed too hard first goes sharp and harsh, then crows or cuts out, and drone reeds shriek or choke. The model idealizes it as a clean jump.

BoreResonancesOverblows to
Cylinder (drone)f, 3f, 5f…×3, a twelfth
Cone (chanter)f, 2f, 3f…×2, an octave

In the model, the chanter overblows above about 72% of pc and the drones above about 82%. Each falls back to its normal note only after pressure drops a little lower (hysteresis, as in woodwind register changes). The pressure gauge in section 8 shows the zones.

7. Drones, octaves and beats

The Highland scale is built on A, so the drones sound its tonic. The tenor drones are twice the chanter’s effective length, so they play the same A an octave down; the bass is twice as long again. When the pitches are exact multiples, the harmonics of every pipe line up and the sound locks together.

If two frequencies differ slightly, their sum is a tone whose loudness swells and fades |f₁ − f₂| times a second: the “wah-wah” of beats. Piping tuning is listening to that wobble slow down until it disappears. One millimetre of slide on a 0.36 m tenor is about 4.8 cents, roughly 0.66 beats per second. Pipers tune the tenors to the chanter’s low A first, then the bass to the tenors, always at steady playing pressure, because every reed’s pitch rises a little as pressure rises.

8. Play the model

Turn on pipes, squeeze the bag, detune the drones and bring them back to a still, beatless chord.

pressure in the bag

Bag and reed

Chanter

Drones

What the model does

Each pipe is a digital waveguide: a delay line sized so the round trip takes 4L/c (the air column), a one-pole filter for wall and radiation losses, and a nonlinear reed reflection function whose threshold is pc/3 and which shuts at pc. Bag pressure is the reed’s driving pressure. Simplifications: the real chanter has a conical bore and a double reed, and real drones aren’t perfect cylinders, so a waveshaper adds the even harmonics; hole positions are replaced by an effective-length ratio of the Highland scale; pitch drifts with pressure by illustrative amounts (about +10 cents per kPa on the chanter and +4 on the drones, exact at 60% of pc); scale ratios are approximate near-just Highland values, not equal temperament. Overblowing is a switch to the pipe’s next resonance (×2 chanter, ×3 drones) above a pressure threshold, with hysteresis.