A barrel organ plays music by using turning a barrel, with notes decided by an arrangement of pins. It is very similar to a simple music box where the pins pluck a metal harp. With a barrel organ, the pins in the barrel lift "keys" that open valves that let air from the bellows to play the pipes.