One of the Garfield comics by Jim Davis, collected in Life in the Fat Lane (1995), shows Garfield with a song in his head (depicted in music notes on a staff), which drives him crazy until he whistles it to Odie and gets it stuck in Odie’s head instead.