I heard a similar thing once on my old FZR Exup, it made a funny rattling noise for a few seconds, I was wearing earplugs so couldn't hear anything amiss afterwards so carried on for a very spirited 100 mile ride.
It was only when I was wheeling it into the garage afterwards and I heard a tinkling noise, the front sprocket nut had fallen off, knackering the output shaft threads, it was in several pieces and fell out when I removed the cover to investigate,amazingly and thankfully the sprocket stayed on, I still shudder to think what would have happened if it had come off, we were regularly hitting 270 kmh/r that day