Original: The instrument is European and derived from the Arabic bowed instrument rebab and the Byzantine lyra
Simplified: The rebec was mostly used for dance music.