Gakushis (musicians) were divided into groups of Tang, Silla, Goryeo (Goguryeo), Paekche and gigaku and kurezutsumi which were kuregaku, the music in Wo, and they played each music under the Ritsuryo system.
楽師は令制では唐・新羅・高麗（高句麗）・百済及び呉楽である伎楽・腰鼓に分かれてそれぞれの音楽を担当した。