Sam-Ang Sam, a Cambodian ethnomusicologist, wrote a brief introduction to Cambodian music on his website, part of his work to preserve knowledge Cambodian music and educating. He spoke of music in three different areas of Cambodia: villages, the court and temples. In each setting, music had a formal function or was entertainment. Village music included "kar boran" music for weddings, "araak" music for communication with spirits, and ""ayai" repartee singing, "chrieng chapey" narrative, and "yike" and "basakk" theaters." Court music had orchestras composed of a specific set of instruments. The pinpeat orchestra (consisting of gong chimes, xylophones, a metallophone, oboe and drums) accompanied the formal dance, masked play, shadow play and religious ceremonies. Less formal entertainment was played by a mohori orchestra. Temples had a "korng skor" ensemble (gongs and drums), as well as a pinpeat orchestra.