Entries linking to off-key
by c. 1200 as an emphatic form of Old English of (see of), employed in the adverbial use of that word. The prepositional meaning "away from" and the adjectival sense of "farther" were not firmly fixed in this variant until 17c., but once they were they left the original of with the transferred and weakened senses of the word. Meaning "not working" is from 1861.
Off the cuff "extemporaneously, without preparation" (1938) is from the notion of speaking from notes written in haste on one's shirt cuffs. In reference to clothing, off the rack (adj.) "not tailored, not made to individual requirements, ready-made" is by 1963, on the notion of buying it from the rack of a clothing store; off the record "not to be publicly disclosed" is from 1933; off the wall "crazy" is 1968, probably from the notion of a lunatic "bouncing off the walls" or else in reference to carom shots in squash, handball, etc.
Perhaps it is related to Middle Low German keie "lance, spear" on notion of "tool to cleave with," from Proto-Germanic *ki- "to cleave, split" (cognates: German Keil "wedge," Gothic us-kijans "come forth," said of seed sprouts, keinan "to germinate"). But Liberman writes, "The original meaning of *kaig-jo- was presumably '*pin with a twisted end.' Words with the root *kai- followed by a consonant meaning 'crooked, bent; twisted' are common only in the North Germanic languages." Compare also Sanskrit kuncika- "key," from kunc- "make crooked."
Modern pronunciation is a northern variant predominating from c. 1700; earlier and in Middle English it often was pronounced "kay." Meaning "that which holds together other parts" is from 1520s. Meaning "explanation of a solution" (to a set problem, code, etc.) is from c.1600.
The musical sense originally was "tone, note" (mid-15c.). In music theory, the sense developed 17c. to "sum of the melodic and harmonic relationships in the tones of a scale," also "melodic and harmonic relationships centering on a given tone." Probably this is based on a translation of Latin clavis "key," used by Guido for "lowest tone of a scale," or French clef (see clef; also see keynote). Sense of "mechanism on a musical instrument operated by the player's fingers" is from c. 1500, probably also suggested by uses of clavis. OED says this use "appears to be confined to Eng[lish]." First of organs and pianos, by 1765 of wind instruments; transferred to telegraphy by 1837 and later to typewriters (1876).