The Master Musicians of Jajouka's traditions have been passed down in a supposedly unbroken line of the Attar family of Jajouka, going back 4000 years. Before the Alaouite dynasty, the master musicians used to play in medieval times for sultans in their courts, travelling with them and announcing their arrival to villages and cities.
Their first exposure to outsiders seems to have come through their introduction to the Beat generation. Painter Mohamed Hamri led artist Brion Gysin to the village to meet the group. Gysin became fascinated with the group's music and led writer William Burroughs to the village. Burroughs described it as the world's oldest music and the musicians as a "4000-year-old rock and roll band". In Tangier, Gysin founded the 1001 Nights restaurant, in which the musicians played throughout the 1950s to a largely Western audience in what was then an international zone.
When Rolling Stones lead guitarist Brian Jones visited Morocco in 1968, Gysin and Hamri took him to the village to record the master musicians in the ground-breaking release Brian Jones Presents The Pipes Of Pan At Jajouka, whose original release cover had spelled the last word as "Joujouka" and had featured cover artwork by Hamri before a 1990s redesign. Hamri had assisted the group during the period of the first album. In an article in Rolling Stone published in October of 1971 to publicize the new release, journalist Robert Palmer mentioned Hamri's role translating some of the old chief's comments to Palmer during his visit to the village.