In practice a player usually uses two pairs of castanets. One pair is held in each hand, with the string hooked over the thumb and the castanets resting on the palm with the fingers bent over to support the other side. Each pair will make a sound of a slightly different pitch. The higher pair, known as hembra (female), is usually held in the right hand, with the larger macho (male) pair held in the left.
Castanets are often played by singers or dancers, and are prominently used in flamenco music. The name (Spanish: castañuelas) is derived from the diminutive form of castaña, the Spanish word for chestnut, which they resemble. In Andalusia they are usually referred to as palillos (little sticks) instead, and this is the name by which they are known in flamenco.
The origins of the instrument are not known. The practice of clicking hand-held sticks together to accompany dancing is ancient, and was practiced by both the Greekss and the Egyptianss. In more modern times, the bones and spoons used in Minstrel show and jug band music can also be considered forms of the castanet.
When used in an orchestral setting, castanets are typically attached to a handle or mounted to a base. This makes them easier to play, but also alters the sound. They are often used in classical music to evoke a Spanish atmosphere, as in Georges Bizet's opera, Carmen, or Emmanuel Chabrier's orchestral work España. They are also found in the "Dance of the Seven Veils" from Richard Strauss' opera Salome and in Richard Wagner's Tannhauser. An unusual variation on the standard castanets can be found in Darius Milhaud's Les Choëphores, which calls for castanets made of metal.
Castanet is the name of several communes in France: