It was originally played as part of farm work , on rural holidays , at other village community-building events , and in shamanistic and Buddhistic rituals . It was originally played as part of farm work , on rural holidays , at other village community-building events , and in shamanistic rituals .