According to African American Music, edited by Mellonee V. Burnim and Portia K. Maulstby, Africans and American Americans used music to accompany various aspects of community life. In African culture, music accompanied religious rituals, occupational, recreational, and leisure activities. For example, in 11 century in Ghana, when the king made public appearances he was accompanied with the beating of drums. African African slaves also used music to accompany recreational and occupational opportunities. Slave children often played song and dance games. Music allowed slaves to freely express themselves under such captive conditions.