gamelan, the indigenous orchestra type of the islands of Java and Bali, in Indonesia, consisting largely of several varieties of gongs and various sets of tuned metal instruments that are struck with mallets. The gongs are either suspended vertically or, as with the knobbed-centre, kettle-shaped gongs of the bonang, placed flat. Percussive melodic instruments include the bonang, the xylophone (gambang kayu), and various metallophones (instruments with a series of tuned metal plates, either suspended over a resonance trough or on resonance tubes). A sustained melody is played either by the bamboo flute (suling) or by a bowed stringed instrument (rebab) or is sung—the last especially when, as often occurs, the gamelan is used to accompany theatrical performances, or wayang. The voice is then part of the orchestral texture. Dominating these two groups of instruments is the drum (kendang), which unites them and acts as leader. Javanese gamelans frequently include singers, while most Balinese gamelans consist exclusively of percussion instruments. Many types of gamelans, of different sizes and for a variety of purposes, may be distinguished.
No two gamelans are tuned precisely alike; rather, each instrument is tuned to match the ensemble for which it is intended rather than to an external standard of pitch. A gamelan may be tuned to the scale of slendro (in which the octave is divided into five tones roughly equidistant) or to pelog (a scale consisting of seven notes of varying intervals of which five are given principal stress). The so-called double gamelans of Java consist of both a slendro and a pelog set of instruments, which typically share one or two common pitches. The modes (patet) of Javanese gamelan music are determined in part by the relative placement on either scale of the basic note (dong) and its fifth above and fifth below. (A fifth is an interval more or less the size of that formed by five adjacent white keys on a piano.)
The highly developed polyphony (multipart music) or heterophony (music in which one part varies a melody played simultaneously in another part) of the gamelan has a rhythmic origin. A nuclear theme typically extends over a number of four-beat “bars,” against which other instruments play a related countermelody. Another group plays rhythmic paraphrases of this theme, and a fourth group fills out the texture with delicate rhythmic patterns. Highly important are the punctuating, or colotomic, instruments that divide the musical sentence, marking, as it were, the commas, semicolons, and periods. This last-named function is done with the big gong. Over this shimmering, variegated pattern of hammered sound floats the uninterrupted melodic line of the voice, the flute, or the rebab.