The programming was far from random. The habanera is a hybrid seed of great potency. An adaptation of the European contradanza by slaves from West Africa, it is not only an early version of a New World rhythm that took over the globe, but also a direct ancestor for much of jazz and rock ‘n’ roll.
Source: wiktionary