Ctesibius, whose discoveries include elasticity, the water clock, and the water organ, a type of pipe organ the third century BCE, created an instrument called the hydraulis, a mechanical flute that used wind pressure regulated by water pressure on a set of pipes played in the arenas of the Roman empire. This laid the foundation for the invention of the organ.