Shakuhachi is derived from the Chinese bamboo-flute. The bamboo-flute first came to Japan from China during the 7th century. This style of bamboo flute, also called "kodai shakuhachi" (ancient shakuhachi, 古代尺八), was used for playing gagaku, but died out in the 10th century. 8 "Kodai shakuhachi" remain in Shōsō-in Treasure Repository. There are no records of musical scores related to the "Kodai shakuhachi", so the details of music such as the playing method and scale are unknown. The average length was 40 cm, the diameter of the finger holes is 2 cm, and there are 6 finger holes. (5 front, 1 back)