Larger air horns used on ships and foghorns function similarly to a whistle; instead of a diaphragm the air escapes from a closed cylindrical resonator chamber through a precisely shaped slit directed against a knife edge (fipple). The air blowing past the knife edge oscillates, creating sound waves. The oscillations excite standing waves in the resonator chamber, so the length of the chamber determines the pitch of the note produced.