Did you mean riff?
riff
noun
°A repeated instrumental melody line in a song.
°A clever or witty remark.
verb
°To improvise in the performance or practice of an art, especially by expanding on or making novel use of traditional themes.