Gamelan construction of musical instruments, as well as scheduling performances at the court. In the palaces of Java the oldest known ensembles, Gamelan "Munggang" and "Gamelan Kodok Ngorek", are apparently from the 12th century. These formed the basis of a "loud style" of music. In contrast, a "soft style" developed out of the "kemanak" tradition and is related to the traditions of singing Javanese poetry, in a manner often believed to be similar to the chorus that accompanies the modern "bedhaya" dance. In the 17th century, these loud and soft styles mixed, and to a large extent the variety of modern
Gamelan gamelan styles of Bali, Java, and Sunda resulted from different ways of mixing these elements. Thus, despite the seeming diversity of styles, many of the same theoretical concepts, instruments, and techniques are shared between the styles. A gamelan is a multi-timbre ensemble consisting of metallophones, xylophones, flutes, gongs, voices, as well as bowed and plucked strings. The hand-played drum called "kendhang" controls the tempo and rhythm of pieces as well as transitions from one section to another, while one instrument gives melodic cues to indicate treatment or sections of a piece. Some of the instruments that make up a gamelan