The word funk initially referred (and still refers) to a strong odor. It is originally derived from Latin "fumigare" (to smoke) via Old French "fungiere" and, in this sense, first documented in English in 1620. In 1784 "funky" meaning "musty" is first documented, which, in turn, led to a sense of "earthy" that was taken up around 1900 in early jazz slang for something deeply or strongly felt.