riff (n.)
"melodic phrase in jazz," 1935 (but said to have been used by musicians since c. 1917), of uncertain origin, perhaps a shortened form of riffle, or altered from refrain. The verb is attested from 1942, from the noun. Also in extended use. Related: Riffed; riffing.