The steam whistle was developed by Adrian Stephens in 1832. Another three years passed before it was applied to locomotives, and much later, to stationary boilers. Like the safety valve, the whistle is attached to the outside of the steam dome, where live steam can be directly accessed without excessive piping.